text
stringlengths
1
22.8M
```c++ /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * specific language governing permissions and limitations */ /*! * \file statistical.cc * \brief Statistical operators. */ #include "statistical.h" #include <string> #include <vector> namespace tvm { namespace relax { StructInfo InferStructInfoStatistical(const Call& call, const BlockBuilder& ctx) { TensorStructInfo data_sinfo = GetUnaryInputTensorStructInfo(call, ctx); const auto* attrs = call->attrs.as<StatisticalAttrs>(); std::vector<int> axes; if (!data_sinfo->IsUnknownNdim() && attrs->axis.defined()) { axes = NormalizeAxes(call, ctx, data_sinfo->ndim, attrs->axis.value()); } int out_ndim; if (attrs->keepdims) { out_ndim = data_sinfo->ndim; } else if (!attrs->axis.defined()) { out_ndim = 0; } else if (data_sinfo->IsUnknownNdim()) { out_ndim = kUnknownNDim; } else { out_ndim = data_sinfo->ndim - axes.size(); ICHECK_GE(out_ndim, 0); } // The inference rule for reduction operator output shapes: // - axes is None, keepdims is false -> return the zero-rank shape; // - axes is None, keepdims is true -> return the shape whose ndim is the same as input and every // value is 1. // - axes is not None, keepdims is false -> the returned shape does not contain the input axes. // - axes is not None, keepdims is true -> the returned shape has value 1 at the positions of the // input axes const auto* data_shape = data_sinfo->shape.as<ShapeExprNode>(); if (data_shape == nullptr) { if (!attrs->axis.defined() && attrs->keepdims && out_ndim != kUnknownNDim) { return TensorStructInfo( ShapeExpr(Array<PrimExpr>(out_ndim, IntImm(DataType::Int(64), /*value=*/1))), data_sinfo->dtype, data_sinfo->vdevice); } else { return out_ndim == 0 ? TensorStructInfo(ShapeExpr(Array<PrimExpr>()), data_sinfo->dtype, data_sinfo->vdevice) : TensorStructInfo(data_sinfo->dtype, out_ndim, data_sinfo->vdevice); } } Array<PrimExpr> out_shape; out_shape.reserve(out_ndim); for (int i = 0; i < data_sinfo->ndim; ++i) { if (attrs->axis.defined() && std::find(axes.begin(), axes.end(), i) == axes.end()) { out_shape.push_back(data_shape->values[i]); } else if (attrs->keepdims) { out_shape.push_back(IntImm(DataType::Int(64), /*value=*/1)); } } ICHECK_EQ(static_cast<int>(out_shape.size()), out_ndim); return TensorStructInfo(ShapeExpr(out_shape), data_sinfo->dtype, data_sinfo->vdevice); } InferLayoutOutput InferLayoutStatistical(const Call& call, const Map<String, Array<String>>& desired_layouts, const VarLayoutMap& var_layout_map) { ICHECK(NoDesiredLayout(call, desired_layouts)); const auto* attrs = call->attrs.as<StatisticalAttrs>(); ICHECK(attrs != nullptr) << "Invalid Call"; const auto* tensor_sinfo = GetStructInfoAs<TensorStructInfoNode>(call->args[0]); ICHECK(tensor_sinfo != nullptr) << "Invalid Call"; ICHECK(!tensor_sinfo->IsUnknownNdim()) << "Only support known ndim"; int ndim = tensor_sinfo->ndim; Array<Integer> axis; if (attrs->axis.defined()) { axis = attrs->axis.value(); } else { axis.reserve(ndim); for (int i = 0; i < ndim; ++i) { axis.push_back(Integer(i)); } } std::string axis_str(ndim, '0'); for (const auto& iter : axis) { axis_str[(iter->value + ndim) % ndim] = '1'; } for (int i = 0, j = 0; i < ndim; ++i) { if (axis_str[i] != '1') { axis_str[i] = 'A' + j++; } } LayoutDecision exisiting_layout = GetLayoutDecision(var_layout_map, call->args[0]); String new_axis_str = TransposeStrLike(axis_str, InitialLayout(ndim), exisiting_layout->layout); Array<Integer> new_axis; for (size_t i = 0; i < new_axis_str.size(); ++i) { if (new_axis_str.at(i) == '1') { new_axis.push_back(Integer(i)); } } std::string output_layout = new_axis_str; output_layout.erase(std::remove(output_layout.begin(), output_layout.end(), '1'), output_layout.end()); ObjectPtr<StatisticalAttrs> new_attrs = make_object<StatisticalAttrs>(*attrs); new_attrs->axis = new_axis; return InferLayoutOutput({exisiting_layout}, {attrs->keepdims ? exisiting_layout : Layout(output_layout)}, Attrs(new_attrs)); } TVM_REGISTER_NODE_TYPE(ScanopAttrs); StructInfo InferStructInfoScan(const Call& call, const BlockBuilder& ctx) { TensorStructInfo data_sinfo = GetUnaryInputTensorStructInfo(call, ctx); const auto* attrs = call->attrs.as<ScanopAttrs>(); DataType out_type = attrs->dtype.is_void() ? data_sinfo->dtype : attrs->dtype; if (!attrs->axis.defined()) { // flattened const auto* data_shape = data_sinfo->shape.as<ShapeExprNode>(); if (data_shape == nullptr) { return TensorStructInfo(out_type, data_sinfo->ndim, data_sinfo->vdevice); } else { PrimExpr flattened_d = 1; for (const auto v : data_shape->values) { flattened_d *= v; } return TensorStructInfo(ShapeExpr(Array<PrimExpr>({flattened_d})), out_type, data_sinfo->vdevice); } } if (data_sinfo->shape.defined()) { return TensorStructInfo(data_sinfo->shape.value(), out_type, data_sinfo->vdevice); } else { return TensorStructInfo(out_type, data_sinfo->ndim, data_sinfo->vdevice); } } /* relax.cumprod */ Expr cumprod(Expr data, Optional<Integer> axis, DataType dtype, Bool exclusive) { auto attrs = make_object<ScanopAttrs>(); attrs->axis = std::move(axis); attrs->dtype = std::move(dtype); attrs->exclusive = std::move(exclusive); static const Op& op = Op::Get("relax.cumprod"); return Call(op, {std::move(data)}, Attrs{attrs}, {}); } TVM_REGISTER_GLOBAL("relax.op.cumprod").set_body_typed(cumprod); TVM_REGISTER_OP("relax.cumprod") .set_attrs_type<ScanopAttrs>() .set_num_inputs(1) .add_argument("data", "Tensor", "The input tensor.") .set_attr<FInferStructInfo>("FInferStructInfo", InferStructInfoScan) .set_attr<Bool>("FPurity", Bool(true)); /* relax.cumsum */ Expr cumsum(Expr data, Optional<Integer> axis, DataType dtype, Bool exclusive) { auto attrs = make_object<ScanopAttrs>(); attrs->axis = std::move(axis); attrs->dtype = std::move(dtype); attrs->exclusive = std::move(exclusive); static const Op& op = Op::Get("relax.cumsum"); return Call(op, {std::move(data)}, Attrs{attrs}, {}); } TVM_REGISTER_GLOBAL("relax.op.cumsum").set_body_typed(cumsum); TVM_REGISTER_OP("relax.cumsum") .set_attrs_type<ScanopAttrs>() .set_num_inputs(1) .add_argument("data", "Tensor", "The input tensor.") .set_attr<FInferStructInfo>("FInferStructInfo", InferStructInfoScan) .set_attr<Bool>("FPurity", Bool(true)); TVM_REGISTER_NODE_TYPE(StatisticalAttrs); RELAX_REGISTER_STATISTICAL_OP_INTERFACE(max); RELAX_REGISTER_STATISTICAL_OP_INTERFACE(mean); RELAX_REGISTER_STATISTICAL_OP_INTERFACE(min); RELAX_REGISTER_STATISTICAL_OP_INTERFACE(prod); RELAX_REGISTER_STATISTICAL_OP_INTERFACE(std); RELAX_REGISTER_STATISTICAL_OP_INTERFACE(sum); RELAX_REGISTER_STATISTICAL_OP_INTERFACE(variance); } // namespace relax } // namespace tvm ```
```python #!/usr/bin/env python2 from __future__ import print_function import unittest from builtin import read_osh # module under test from osh import split class BuiltinTest(unittest.TestCase): def testAppendParts(self): # allow_escape is True by default, but False when the user passes -r. CASES = [ (['Aa', 'b', ' a b'], 100, 'Aa b \\ a\\ b'), (['a', 'b', 'c'], 3, 'a b c '), ] for expected_parts, max_results, line in CASES: sp = split.IfsSplitter(split.DEFAULT_IFS, '') spans = sp.Split(line, True) print('--- %r' % line) for span in spans: print(' %s %s' % span) parts = [] read_osh._AppendParts(line, spans, max_results, False, parts) strs = [buf.getvalue() for buf in parts] self.assertEqual(expected_parts, strs) print('---') if __name__ == '__main__': unittest.main() ```
José Francisco Razzano (1887–1960) was an Uruguayan singer and composer. He joined singer Carlos Gardel on a duo until 1925 when Razzano left due to vocal cord problems. Since then, Razzano became Gardel's manager until 1933. Biography José Francisco Razzano born in Montevideo, near Plaza Independencia, on February 25, 1887. When his father died two years later, his mother moved to Buenos Aires, establishing in Balvanera district. In 1903, he performed in the National Drama Company led by Adriana Cornaro as a singer. He also performed on Justicia Humana by Agustín Fontanella impersonating "Juancho" and singing payada with Damián Méndez in Calandria written by Martiniano Leguizamón. He also formed part of gaucho centre Los Pampeanos. Razzano's prominent fame resulted in the signing of his first contract with Argentine filial of Victor Talking Machine Company in 1912. Razzano recorded 10 songs. La China Fiera (singing in a duo with Francisco Martino) was the first of them. A couple of years later, Razzano signed a new contract with local label "Era". He then joined other artists such as Francisco Martino, Carlos Gardel and Raúl Salinas. The Razzano-Gardel duo signed a contract with Austro-Hungarian entrepreneur Max Glücksmann. At the beginning of their collaboration, both artists signed as authors of all the compositions, although some versions refuted this statement, because there were not authors societies that could confirm that. The popularity of the Gardel-Razzano duo was in crescendo, touring on Uruguay, Brazil, Chile and Spain until 1925 when Razzano left his singing career due to throat problems. In October, Gardel designated Razzano as administrator of his properties. References External links José Razzano biography on TodoTango.com 1887 births 1960 deaths Uruguayan composers Male composers 20th-century male musicians
Planococcoides is a genus of true bugs belonging to the family Pseudococcidae. Species: Planococcoides anaboranae Planococcoides bengalensis Planococcoides celtis Planococcoides crassus Planococcoides formosus Planococcoides ireneus Planococcoides lamabokensis Planococcoides lindingeri Planococcoides lingnani Planococcoides macarangae Planococcoides mumensis Planococcoides njalensis Planococcoides pauliani Planococcoides robustus Planococcoides rotundatus References Pseudococcidae
Josh Abrahams (born 1968 in Melbourne, Victoria, Australia) is an Australian musician who emerged from the underground dance music scene in the early 1990s. He has performed and recorded under the stage name Puretone, and is also known as The Pagan and Bassliners. Abrahams is a composer, producer, bass guitarist and electronica artist and has worked as a writer, music director and producer on albums and film soundtracks, and in television and theatre. His single, "Addicted to Bass", with singer Amiel Daemion, peaked at No. 15 in February 1999. Biography Abrahams was born in 1968 in Melbourne and started as a bass guitarist and singer in covers band Havana Moon in 1990. 1990–1995: Future Sound of Melbourne In 1990, Abrahams formed the techno group, Future Sound of Melbourne (FSOM) with drum and bass producer Davide Carbone and acid house DJ Steve Robbins. They released a number of singles and EPs on the Shock Records imprint, Candyline Records in Australian and released tracks on Belgium's underground dance-music label, Two Thumbs Records. At the ARIA Music Awards of 1996, Future Sound of Melbourne won the ARIA Award for Best Dance Release for their album, Chapter One. During this period, Abrahams also released several dance singles under various artist names including The Pagan and Bassliners. In 1995, Abrahams left Future Sound of Melbourne to become a solo artist, 1996–2001: solo career, "Addicted to Bass" and Sweet Distorted Holiday In 1996, Abrahams was signed to Carl Cox's label Ultimatum and released his debut album The Satyricon to critical acclaim. The album did not chart into the ARIA Top 50, although a track from the album, titled "The Joker", appeared on the soundtrack for the film Hackers. After briefly creating a pop band called The Edison Project and releasing the single "Don't Be Afraid", Abrahams returned to solo work and signed to Festival Records in Australia in 1997. Film director Baz Luhrmann became interested in Abrahams' work, and asked him to co-produce some tracks for Luhrmann's album Something for Everybody, one of which became the 1998 UK No. 1 single, "Everybody's Free (To Wear Sunscreen)". In 1998, Abrahams released his second studio album, Sweet Distorted Holiday which included the song, "Addicted to Bass", with Amiel Daemion which was released in October 1998 and peaked at No. 15 on the ARIA singles chart. The third single, "Headroom", another collaboration with Daemion, peaked outside the ARIA Top 100. Abrahams also had top 50 chart success in New Zealand. At the ARIA Music Awards of 1999, Abrahams set the record for the number of ARIA nominations for an independent artist with six nominations, winning two. In 2000, Abrahams released "Rollin'", which peaked at number 58 in Australia. 2001–2008: Puretone, film, television and theatre In 2001, Abrahams produced songs for Daemion, including the platinum selling single "Lovesong" and the gold selling album Audio Out. In 2001, Abrahams collaborated with Baz Luhrmann and co-produced the Moulin Rouge film soundtrack. In 2002, Abrahams composed and produced original music for a feature film by Paul Currie called One Perfect Day, set in the Melbourne dance music scene In 2002, Abrahams changed his stage name and began releasing music under Puretone, to avoid confusion with similarly named US record producer, Josh Abraham. Puretone, released "Addicted to Bass" internationally, which peaked at No. 2 in the UK Singles Chart. Puretone released "Stuck in a Groove", once again featuring Daemion on vocals, which peaked at No. 26. in the UK. Both tracks were taken from Puretone's studio album, Stuck in a Groove. In 2003, Abrahams wrote and produced the original music score for the movie One Last Ride, produced by Academy Award-winning director Ang Lee. He began composing music for television commercials, such as the 'Go for It Girl' campaign for Portmans clothing, a song entitled "Melt with You" for Baileys Irish Cream and the LG technology campaign. In 2005, TV jingles were Abrahams' main focus, along with writing more of his own original music. In 2007, he composed, arranged and recorded large-scale orchestral jingles for a series of three TV commercials for Ask Dot Com. In 2009, he arranged and recorded a version of "My Favourite Things" for a series of Dove TV commercials, and in 2010 he composed and recorded the theme song for the global Tourism Australia advertising campaign. Abrahams was the music director and pianist in The Soubrettes' Cabaret Tingel Tangel at the Edinburgh Fringe Festival in 2004. He spent July and August 2006 running the nightclub in the first Spiegeltent (a travelling European music and theatre venue) to tour in the US, then returned to this venue as music director for the theatrobatic show Desir, premiering in the New York Spiegeltent in August 2008. In 2008, Abrahams teamed up with Kaz James, co-writing and producing seven songs for his debut solo album If They Knew. 2009–present: S:amplify In 2009, Abrahams reunited with his friend Davide Carbone and together they formed the music production house s:amplify. Under this new moniker, Abrahams and Carbone teamed with Carl Cox to co-write and co-produce Cox's album All Roads Lead to the Dancefloor, released in 2012. This trio also provided remixes for Moby, Miguel Bosé and Gilles Peterson, among others. As part of s:amplify, Abrahams and Carbone provided complete sonic branding packages for Melbourne TV network Channel 31, and the Melbourne public transport company Metro Trains Melbourne, as well as composing music for Tourism Australia, Alienware, and the International Cricket Council. S:amplify have also produced several tracks for various artists including the recent cover version of "Wuthering Heights" by Robyn Loau. In 2011, s:amplify were featured on the front cover of the April issue of Music Tech magazine and released two sound design packs through Loopmasters which have received several positive reviews. S:amplify also provided the sound design for the Japanese synthesizer KDJ One and were appointed musical directors for the City of Sydney New Year's Eve fireworks show. The 2011/2012 12-minute NYE Fireworks show on Sydney Harbour showcased 24 Australian songs including original composition from Abrahams and Carbone. Since around 2015, Abrahams has been working with Johnny "Galvatron" as part of the video game studio Beethoven & Dinosaur to compose music for The Artful Escape. Since 2017, he has performed, recorded and toured with YID!, also producing their second album, Zets. Discography Studio albums Singles Awards ARIA Music Awards The ARIA Music Awards is an annual awards ceremony that recognises excellence, innovation, and achievement across all genres of Australian music. Abrahams has won two awards from six nominations. |- | rowspan="6"| 1999 | rowspan="2"| "Addicted to Bass" | Single of the Year | |- | Best Video (Craig Melville and David Curry) | |- | rowspan="3"| Sweet Distorted Holiday | Best Male Artist | |- | Best Dance Release | |- | Best Independent Release | |- | Josh Abrahams for Sweet Distorted Holiday | Engineer of the Year | APRA Awards The APRA Awards are held in Australia and New Zealand by the Australasian Performing Right Association to recognise songwriting skills, sales and airplay performance by its members annually. Abrahams has been nominated once. |- | 1999 | "Addicted to Bass" | Song of the Year | |- See also List of number-one dance hits (United States) List of artists who reached number one on the US Dance chart References External links 1968 births Living people ARIA Award winners Australian dance musicians Australian electronic musicians Australian record producers Musicians from Melbourne
```xml /* * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated, or distributed except according to the terms contained in the * LICENSE file. * * Removal or modification of this copyright notice is prohibited. */ import { Modules } from 'lisk-sdk'; export const newHelloEventSchema = { $id: '/hello/events/new_hello', type: 'object', required: ['senderAddress', 'message'], properties: { senderAddress: { dataType: 'bytes', fieldNumber: 1, }, message: { dataType: 'string', fieldNumber: 2, }, }, }; export interface NewHelloEventData { senderAddress: Buffer; message: string; } export class NewHelloEvent extends Modules.BaseEvent<NewHelloEventData> { public schema = newHelloEventSchema; } ```
```smalltalk // // // path_to_url // // Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #endregion using System.Threading.Tasks; using Grpc.AspNetCore.Server; using Grpc.AspNetCore.Server.Model; using Grpc.Core; using Microsoft.AspNetCore.Http; namespace Grpc.Shared.Server { /// <summary> /// Unary server method invoker. /// </summary> /// <typeparam name="TService">Service type for this method.</typeparam> /// <typeparam name="TRequest">Request message type for this method.</typeparam> /// <typeparam name="TResponse">Response message type for this method.</typeparam> internal sealed class UnaryServerMethodInvoker<TService, TRequest, TResponse> : ServerMethodInvokerBase<TService, TRequest, TResponse> where TRequest : class where TResponse : class where TService : class { private readonly UnaryServerMethod<TService, TRequest, TResponse> _invoker; private readonly UnaryServerMethod<TRequest, TResponse>? _pipelineInvoker; /// <summary> /// Creates a new instance of <see cref="UnaryServerMethodInvoker{TService, TRequest, TResponse}"/>. /// </summary> /// <param name="invoker">The unary method to invoke.</param> /// <param name="method">The description of the gRPC method.</param> /// <param name="options">The options used to execute the method.</param> /// <param name="serviceActivator">The service activator used to create service instances.</param> public UnaryServerMethodInvoker( UnaryServerMethod<TService, TRequest, TResponse> invoker, Method<TRequest, TResponse> method, MethodOptions options, IGrpcServiceActivator<TService> serviceActivator) : base(method, options, serviceActivator) { _invoker = invoker; if (Options.HasInterceptors) { var interceptorPipeline = new InterceptorPipelineBuilder<TRequest, TResponse>(Options.Interceptors); _pipelineInvoker = interceptorPipeline.UnaryPipeline(ResolvedInterceptorInvoker); } } private async Task<TResponse> ResolvedInterceptorInvoker(TRequest resolvedRequest, ServerCallContext resolvedContext) { GrpcActivatorHandle<TService> serviceHandle = default; try { serviceHandle = ServiceActivator.Create(resolvedContext.GetHttpContext().RequestServices); return await _invoker(serviceHandle.Instance, resolvedRequest, resolvedContext); } finally { if (serviceHandle.Instance != null) { await ServiceActivator.ReleaseAsync(serviceHandle); } } } /// <summary> /// Invoke the unary method with the specified <see cref="HttpContext"/>. /// </summary> /// <param name="httpContext">The <see cref="HttpContext"/> for the current request.</param> /// <param name="serverCallContext">The <see cref="ServerCallContext"/>.</param> /// <param name="request">The <typeparamref name="TRequest"/> message.</param> /// <returns>A <see cref="Task{TResponse}"/> that represents the asynchronous method. The <see cref="Task{TResponse}.Result"/> /// property returns the <typeparamref name="TResponse"/> message.</returns> public async Task<TResponse> Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request) { if (_pipelineInvoker == null) { GrpcActivatorHandle<TService> serviceHandle = default; try { serviceHandle = ServiceActivator.Create(httpContext.RequestServices); return await _invoker( serviceHandle.Instance, request, serverCallContext); } finally { if (serviceHandle.Instance != null) { await ServiceActivator.ReleaseAsync(serviceHandle); } } } else { return await _pipelineInvoker( request, serverCallContext); } } } } ```
State Road 397 (SR 397) is a state highway in Okaloosa County, Florida, that runs from Florida State Road 85 on the northern border of Eglin Air Force Base to Florida State Road 85 in western Niceville via Valparaiso. SR 397 is split into two segments by Eglin AFB. Major intersections References External links FDOT Map of Okaloosa County (Including SR 397) 397 397
Dicksonia antarctica, the soft tree fern or man fern, is a species of evergreen tree fern native to eastern Australia, ranging from south-east Queensland, coastal New South Wales and Victoria to Tasmania. Anatomy and biology These ferns can grow to in height, but more typically grow to about , and consist of an erect rhizome forming a trunk. They are very hairy at the base of the stipe (adjoining the trunk) and on the crown. The large, dark green, roughly-textured fronds spread in a canopy of in diameter. The shapes of the stems vary as some grow curved and there are multi-headed ones. The fronds are borne in flushes, with fertile and sterile fronds often in alternating layers. The "trunk" of this fern is merely the decaying remains of earlier growth of the plant and forms a medium through which the roots grow. The trunk is usually solitary, without runners, but may produce offsets. They can be cut down and, if they are kept moist, the top portions can be replanted and will form new roots. The stump, however, will not regenerate since it is dead organic matter. In nature, the fibrous trunks are hosts for a range of epiphytic plants including other ferns and mosses. The fern grows at 3.5 to 5 cm per year and produces spores at the age of about 20 years. Reproduction Reproduction by this species is primarily from spores, but it can also be grown from plantlets occurring around the base of the rhizome. In cultivation, it can also be grown as a "cutting", a method not to be encouraged unless the tree-fern is doomed to die in its present position. This involves sawing the trunk through, usually at ground level, and removing the fronds; the top part will form roots and regrow, but the base will die. Habitat The fern grows on damp, sheltered woodland slopes and moist gullies, and they occasionally occur at high altitudes in cloud forests. Dicksonia antarctica is the most abundant tree fern in South Eastern Australia. The plant can grow in acid, neutral and alkaline soils. It can grow in semi-shade. It strongly resents drought or dryness at the roots, and does best in moist soil. Cultivation Dicksonia antarctica grows best in areas of rainfall of over 1,000 mm per year but in lower rainfall areas does well in moist gullies. It is tolerant of fire and re-shoots readily after re-location. It can provide habitat for epiphytes and also provides shelter for more delicate fern species to flourish underneath. Plant in organic soils and ensure the fern is kept mulched and watered. Dicksonia antarctica generally requires a minimum rainfall of 500 mm (20 inches) per year. In dry climates, a drip irrigation or spray system applied overhead is the most effective method of watering. It is best to leave old fronds on the plant in order to protect the trunk from cold and desiccation. Winter protection of the trunk is recommended during prolonged or severe cold weather. This plant is particularly suited to garden planting and landscaping purposes. As an ornamental plant, it is hardy to about , succeeding outdoors in the milder areas of Britain where it thrives and often self-sows in Cornish and Scottish west coast gardens. It has gained the Royal Horticultural Society's Award of Garden Merit. Harvesting Large Dicksonia antarctica available for sale come from old growth Tasmanian forests, and may be hundreds of years old. The trunks are also available legally from local suppliers who licence collection of minor species from Forestry Tasmania, the State Government GBE who manage forestry. Edibility The soft tree fern can be used as a food source, with the pith of the plant being eaten either cooked or raw. It is a good source of starch. The 1889 book 'The Useful Native Plants of Australia records that "The pulp of the top of the trunk is full of starch, and is eaten by the aboriginals [sic.] both raw and roasted. The native blacks [sic.] of the colony used to split open about a foot and a-half of the top of the trunk, and take out the heart, in substance resembling a Swedish turnip, and of the thickness of a man's arm. This they either roasted in the ashes, or ate as bread; but it is too bitter and astringent to suit an English palate. (Gunn)" See also Cyathea howeana Richea pandanifolia References External links Plants For a Future: Dicksonia antarctica Australian National Botanic Gardens: Dicksonia antarctica – the soft tree fern Large, M.F. and J.E. Braggins 2004. Tree Ferns. Timber Press, Inc. Fern Files: Dicksonia antarctica Dicksoniaceae Ferns of Australia Flora of New South Wales Flora of Tasmania Flora of Victoria (state) Trees of Australia Trees of mild maritime climate Garden plants of Oceania Ornamental trees Plants described in 1807
```java // your_sha256_hash---------------------------------- // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and // associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modify, merge, publish, distribute, // sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all copies or // substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT // NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // your_sha256_hash---------------------------------- import com.microsoft.msr.malmo.*; public class test_argument_parser { static { System.loadLibrary("MalmoJava"); } public static void main(String argv[]) { ArgumentParser parser = new ArgumentParser( "test_argument_parser.java" ); parser.addOptionalIntArgument( "runs", "how many runs to perform", 1 ); parser.addOptionalFlag( "verbose", "print lots of debugging information" ); parser.addOptionalFloatArgument( "q", "what is the q parameter", 0.01 ); parser.addOptionalStringArgument( "mission", "the mission filename", "" ); StringVector args1 = new StringVector(); args1.add( "filename" ); args1.add( "--runs" ); args1.add( "3" ); args1.add( "--q" ); args1.add( "0.2" ); args1.add( "--mission" ); args1.add( "test.xml" ); args1.add( "--verbose" ); try { parser.parse( args1 ); } catch( Exception e ) { System.out.println( e ); System.exit(1); } if( !parser.receivedArgument( "runs" ) || parser.getIntArgument( "runs" ) != 3 ) { System.out.println( "runs != 3" ); System.exit(1); } if( !parser.receivedArgument( "q" ) || Math.abs( 0.2 - parser.getFloatArgument( "q" ) ) > 1E-06 ) { System.out.println( "q != 0.2" ); System.exit(1); } if( !parser.receivedArgument( "mission" ) || !parser.getStringArgument( "mission" ).equals( "test.xml" ) ) { System.out.println( "mission != test.xml : " + parser.getStringArgument( "mission" ) ); System.exit(1); } if( !parser.receivedArgument( "verbose" ) ) { System.out.println( "verbose not received" ); System.exit(1); } if( parser.receivedArgument( "test.xml" ) ) { System.out.println( "test.xml received" ); System.exit(1); } StringVector args2 = new StringVector(); args2.add( "filename" ); args2.add( "--runs" ); // we expect this to give an error try { parser.parse( args2 ); } catch( Exception e ) { System.exit(0); // this is what we expect to happen } System.out.println( "invalid sequence gave no error" ); System.exit(1); } } ```
Boulsworth is one of the 20 electoral wards that form the Parliamentary constituency of Pendle, Lancashire, England. The ward represents the area surrounding Boulsworth Hill, including the villages of Trawden, Laneshaw Bridge and Wycoller, and returns three councillors to sit on Pendle Borough Council. As of the May 2011 Council election, Boulsworth had an electorate of 4,217. Demographics Boulsworth has a lower-than-average percentage of residents aged under 16 compared to both Pendle and England; its population has an average age of 39.7 years. The ward also has a considerably higher proportion (98.6 per cent) of white residents than the local and national averages. Election results References Wards of Pendle (UK Parliament constituency)
```php <?php /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the */ namespace Google\Service\Integrations; class EnterpriseCrmEventbusProtoScatterResponse extends \Google\Collection { protected $collection_key = 'responseParams'; /** * @var string */ public $errorMsg; /** * @var string[] */ public $executionIds; /** * @var bool */ public $isSuccessful; protected $responseParamsType = EnterpriseCrmEventbusProtoParameterEntry::class; protected $responseParamsDataType = 'array'; protected $scatterElementType = EnterpriseCrmEventbusProtoParameterValueType::class; protected $scatterElementDataType = ''; /** * @param string */ public function setErrorMsg($errorMsg) { $this->errorMsg = $errorMsg; } /** * @return string */ public function getErrorMsg() { return $this->errorMsg; } /** * @param string[] */ public function setExecutionIds($executionIds) { $this->executionIds = $executionIds; } /** * @return string[] */ public function getExecutionIds() { return $this->executionIds; } /** * @param bool */ public function setIsSuccessful($isSuccessful) { $this->isSuccessful = $isSuccessful; } /** * @return bool */ public function getIsSuccessful() { return $this->isSuccessful; } /** * @param EnterpriseCrmEventbusProtoParameterEntry[] */ public function setResponseParams($responseParams) { $this->responseParams = $responseParams; } /** * @return EnterpriseCrmEventbusProtoParameterEntry[] */ public function getResponseParams() { return $this->responseParams; } /** * @param EnterpriseCrmEventbusProtoParameterValueType */ public function setScatterElement(EnterpriseCrmEventbusProtoParameterValueType $scatterElement) { $this->scatterElement = $scatterElement; } /** * @return EnterpriseCrmEventbusProtoParameterValueType */ public function getScatterElement() { return $this->scatterElement; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EnterpriseCrmEventbusProtoScatterResponse::class, your_sha256_hashponse'); ```
```smalltalk using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace O365Clinic.Function.Webhooks.Model { public class NotificationModel { [JsonProperty(PropertyName = "subscriptionId")] public string SubscriptionId { get; set; } [JsonProperty(PropertyName = "clientState")] public string ClientState { get; set; } [JsonProperty(PropertyName = "expirationDateTime")] public DateTime ExpirationDateTime { get; set; } [JsonProperty(PropertyName = "resource")] public string Resource { get; set; } [JsonProperty(PropertyName = "tenantId")] public string TenantId { get; set; } [JsonProperty(PropertyName = "siteUrl")] public string SiteUrl { get; set; } [JsonProperty(PropertyName = "webId")] public string WebId { get; set; } } } ```
```go package api import ( "net/http" "github.com/ponzu-cms/ponzu/system/api/analytics" ) // Record wraps a HandlerFunc to record API requests for analytical purposes func Record(next http.HandlerFunc) http.HandlerFunc { return http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { go analytics.Record(req) next.ServeHTTP(res, req) }) } ```
Onomastus corbetensis, is a species of spider of the genus Onomastus. It is endemic to Sri Lanka. References External links Onomastus corbetensis Endemic fauna of Sri Lanka Salticidae Spiders of Asia Spiders described in 2016
```html <div class="horizontal-scroll"> <table class="table table-bordered"> <thead> <tr> <th class="browser-icons"></th> <th>Browser</th> <th class="align-right">Visits</th> <th class="align-right">Purchases</th> <th class="align-right">%</th> </tr> </thead> <tbody> <tr ng-repeat="item in metricsTableData"> <td><img ng-src="{{::( item.image | appImage )}}" width="20" height="20"></td> <td ng-class="nowrap">{{item.browser}}</td> <td class="align-right">{{item.visits}}</td> <td class="align-right">{{item.purchases}}</td> <td class="align-right">{{item.percent}}</td> </tr> </tbody> </table> </div> ```
```smalltalk using System.Collections; using System.Collections.Immutable; using System.Net; using System.Net.NetworkInformation; using System.Numerics; using System.Text.Json; using Microsoft.EntityFrameworkCore.Design.Internal; using Microsoft.EntityFrameworkCore.Storage.Json; using Npgsql.EntityFrameworkCore.PostgreSQL.Internal; using Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal; using Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping; using Npgsql.NameTranslation; namespace Npgsql.EntityFrameworkCore.PostgreSQL.Storage; public class NpgsqlTypeMappingTest { #region Numeric [Fact] public void GenerateSqlLiteral_returns_decimal_literal() { Assert.Equal( "1.878787", GetMapping(typeof(decimal), "numeric").GenerateSqlLiteral(1.878787m)); Assert.Equal( "1.878787", GetMapping(typeof(float), "numeric").GenerateSqlLiteral(1.878787m)); Assert.Equal( "1.878787", GetMapping(typeof(double), "numeric").GenerateSqlLiteral(1.878787m)); } #endregion Numeric #region Date/Time [Fact] public void DateTime_type_maps_to_timestamptz_by_default() => Assert.Equal("timestamp with time zone", GetMapping(typeof(DateTime)).StoreType); [Fact] public void Timestamp_maps_to_DateTime_by_default() => Assert.Same(typeof(DateTime), GetMapping("timestamp without time zone").ClrType); [Fact] public void Timestamptz_maps_to_DateTime_by_default() => Assert.Same(typeof(DateTime), GetMapping("timestamp with time zone").ClrType); [Fact] public void DateTime_with_precision() => Assert.Equal( "timestamp(3) with time zone", Mapper.FindMapping(typeof(DateTime), "timestamp with time zone", precision: 3)!.StoreType); [Fact] public void GenerateSqlLiteral_returns_date_literal() { Assert.Equal( "DATE '2015-03-12'", GetMapping(typeof(DateTime), "date").GenerateSqlLiteral(new DateTime(2015, 3, 12))); Assert.Equal( "DATE '2015-03-12'", GetMapping("date").GenerateSqlLiteral(new DateOnly(2015, 3, 12))); } [Fact] public void GenerateSqlLiteral_returns_date_infinity_literals() { Assert.Equal( "DATE '-infinity'", GetMapping(typeof(DateTime), "date").GenerateSqlLiteral(DateTime.MinValue)); Assert.Equal( "DATE 'infinity'", GetMapping(typeof(DateTime), "date").GenerateSqlLiteral(DateTime.MaxValue)); Assert.Equal( "DATE '-infinity'", GetMapping("date").GenerateSqlLiteral(DateOnly.MinValue)); Assert.Equal( "DATE 'infinity'", GetMapping("date").GenerateSqlLiteral(DateOnly.MaxValue)); } [Fact] public void GenerateSqlLiteral_returns_timestamp_literal() { var mapping = GetMapping("timestamp without time zone"); Assert.Equal( "TIMESTAMP '1997-12-17T07:37:16'", mapping.GenerateSqlLiteral(new DateTime(1997, 12, 17, 7, 37, 16, DateTimeKind.Local))); Assert.Equal( "TIMESTAMP '1997-12-17T07:37:16'", mapping.GenerateSqlLiteral(new DateTime(1997, 12, 17, 7, 37, 16, DateTimeKind.Unspecified))); Assert.Equal( "TIMESTAMP '1997-12-17T07:37:16.345'", mapping.GenerateSqlLiteral(new DateTime(1997, 12, 17, 7, 37, 16, 345))); } [Fact] public void GenerateSqlLiteral_returns_timestamp_infinity_literals() { Assert.Equal( "TIMESTAMP '-infinity'", GetMapping("timestamp without time zone").GenerateSqlLiteral(DateTime.MinValue)); Assert.Equal( "TIMESTAMP 'infinity'", GetMapping("timestamp without time zone").GenerateSqlLiteral(DateTime.MaxValue)); } [Fact] public void GenerateSqlLiteral_timestamp_does_not_support_utc_datetime() => Assert.Throws<ArgumentException>(() => GetMapping("timestamp without time zone").GenerateSqlLiteral(DateTime.UtcNow)); [Fact] public void GenerateSqlLiteral_timestamp_does_not_support_datetimeoffset() => Assert.Throws<InvalidCastException>( () => GetMapping("timestamp without time zone").GenerateSqlLiteral(new DateTimeOffset())); [Fact] public void GenerateCodeLiteral_returns_DateTime_utc_literal() => Assert.Equal( @"new DateTime(2020, 1, 1, 12, 30, 4, 567, DateTimeKind.Utc)", CodeLiteral(new DateTime(2020, 1, 1, 12, 30, 4, 567, DateTimeKind.Utc))); [Fact] public void GenerateCodeLiteral_returns_DateTime_local_literal() => Assert.Equal( @"new DateTime(2020, 1, 1, 12, 30, 4, 567, DateTimeKind.Local)", CodeLiteral(new DateTime(2020, 1, 1, 12, 30, 4, 567, DateTimeKind.Local))); [Fact] public void GenerateCodeLiteral_returns_DateTime_unspecified_literal() => Assert.Equal( @"new DateTime(2020, 1, 1, 12, 30, 4, 567, DateTimeKind.Unspecified)", CodeLiteral(new DateTime(2020, 1, 1, 12, 30, 4, 567, DateTimeKind.Unspecified))); [Fact] public void GenerateSqlLiteral_returns_timestamptz_datetime_literal() { var mapping = GetMapping("timestamptz"); Assert.Equal( "TIMESTAMPTZ '1997-12-17T07:37:16Z'", mapping.GenerateSqlLiteral(new DateTime(1997, 12, 17, 7, 37, 16, DateTimeKind.Utc))); Assert.Equal( "TIMESTAMPTZ '1997-12-17T07:37:16.345678Z'", mapping.GenerateSqlLiteral(new DateTime(1997, 12, 17, 7, 37, 16, 345, DateTimeKind.Utc).AddTicks(6780))); } [Fact] public void GenerateSqlLiteral_returns_timestamptz_infinity_literals() { Assert.Equal( "TIMESTAMPTZ '-infinity'", GetMapping("timestamptz").GenerateSqlLiteral(DateTime.MinValue)); Assert.Equal( "TIMESTAMPTZ 'infinity'", GetMapping("timestamptz").GenerateSqlLiteral(DateTime.MaxValue)); Assert.Equal( "TIMESTAMPTZ '-infinity'", GetMapping(typeof(DateTimeOffset), "timestamptz").GenerateSqlLiteral(DateTimeOffset.MinValue)); Assert.Equal( "TIMESTAMPTZ 'infinity'", GetMapping(typeof(DateTimeOffset), "timestamptz").GenerateSqlLiteral(DateTimeOffset.MaxValue)); } [Fact] public void GenerateSqlLiteral_timestamptz_does_not_support_local_datetime() => Assert.Throws<ArgumentException>(() => GetMapping("timestamp with time zone").GenerateSqlLiteral(DateTime.Now)); [Fact] public void your_sha256_hashtime() => Assert.Throws<ArgumentException>( () => GetMapping("timestamp with time zone") .GenerateSqlLiteral(DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Unspecified))); [Fact] public void GenerateSqlLiteral_returns_timestamptz_datetimeoffset_literal() { var mapping = GetMapping("timestamptz"); Assert.Equal( "TIMESTAMPTZ '1997-12-17T07:37:16+02:00'", mapping.GenerateSqlLiteral(new DateTimeOffset(1997, 12, 17, 7, 37, 16, TimeSpan.FromHours(2)))); Assert.Equal( "TIMESTAMPTZ '1997-12-17T07:37:16.345+02:00'", mapping.GenerateSqlLiteral(new DateTimeOffset(1997, 12, 17, 7, 37, 16, 345, TimeSpan.FromHours(2)))); } [Fact] public void GenerateSqlLiteral_returns_time_literal() { var mapping = GetMapping("time"); Assert.Equal( "TIME '04:05:06.123456'", mapping.GenerateSqlLiteral(new TimeSpan(0, 4, 5, 6, 123).Add(TimeSpan.FromTicks(4560)))); Assert.Equal( "TIME '04:05:06.000123'", mapping.GenerateSqlLiteral(new TimeSpan(0, 4, 5, 6).Add(TimeSpan.FromTicks(1230)))); Assert.Equal("TIME '04:05:06.123'", mapping.GenerateSqlLiteral(new TimeSpan(0, 4, 5, 6, 123))); Assert.Equal("TIME '04:05:06'", mapping.GenerateSqlLiteral(new TimeSpan(4, 5, 6))); Assert.Equal( "TIME '04:05:06.123456'", mapping.GenerateSqlLiteral(new TimeOnly(4, 5, 6, 123).Add(TimeSpan.FromTicks(4560)))); Assert.Equal( "TIME '04:05:06.000123'", mapping.GenerateSqlLiteral(new TimeOnly(4, 5, 6).Add(TimeSpan.FromTicks(1230)))); Assert.Equal("TIME '04:05:06.123'", mapping.GenerateSqlLiteral(new TimeOnly(4, 5, 6, 123))); Assert.Equal("TIME '04:05:06'", mapping.GenerateSqlLiteral(new TimeOnly(4, 5, 6))); Assert.Equal("TIME '13:05:06'", mapping.GenerateSqlLiteral(new TimeOnly(13, 5, 6))); } [Fact] public void GenerateSqlLiteral_returns_timetz_literal() { var mapping = GetMapping("timetz"); Assert.Equal( "TIMETZ '04:05:06.123456+3'", mapping.GenerateSqlLiteral( new DateTimeOffset(2015, 3, 12, 4, 5, 6, 123, TimeSpan.FromHours(3)) .AddTicks(4560))); Assert.Equal( "TIMETZ '04:05:06.789+3'", mapping.GenerateSqlLiteral(new DateTimeOffset(2015, 3, 12, 4, 5, 6, 789, TimeSpan.FromHours(3)))); Assert.Equal("TIMETZ '04:05:06-3'", mapping.GenerateSqlLiteral(new DateTimeOffset(2015, 3, 12, 4, 5, 6, TimeSpan.FromHours(-3)))); } [Fact] public void GenerateSqlLiteral_returns_interval_literal() { var mapping = GetMapping("interval"); Assert.Equal( "INTERVAL '3 04:05:06.007008'", mapping.GenerateSqlLiteral( new TimeSpan(3, 4, 5, 6, 7) .Add(TimeSpan.FromTicks(80)))); Assert.Equal("INTERVAL '3 04:05:06.007'", mapping.GenerateSqlLiteral(new TimeSpan(3, 4, 5, 6, 7))); Assert.Equal("INTERVAL '3 04:05:06'", mapping.GenerateSqlLiteral(new TimeSpan(3, 4, 5, 6))); Assert.Equal("INTERVAL '04:05:06'", mapping.GenerateSqlLiteral(new TimeSpan(4, 5, 6))); Assert.Equal("INTERVAL '-3 04:05:06.007'", mapping.GenerateSqlLiteral(new TimeSpan(-3, -4, -5, -6, -7))); } #endregion Date/Time #region Networking [Fact] public void GenerateSqlLiteral_returns_macaddr_literal() => Assert.Equal("MACADDR '001122334455'", GetMapping("macaddr").GenerateSqlLiteral(PhysicalAddress.Parse("00-11-22-33-44-55"))); [Fact] public void GenerateCodeLiteral_returns_macaddr_literal() => Assert.Equal( @"System.Net.NetworkInformation.PhysicalAddress.Parse(""001122334455"")", CodeLiteral(PhysicalAddress.Parse("00-11-22-33-44-55"))); [Fact] public void GenerateSqlLiteral_returns_macaddr8_literal() => Assert.Equal( "MACADDR8 '0011223344556677'", GetMapping("macaddr8").GenerateSqlLiteral(PhysicalAddress.Parse("00-11-22-33-44-55-66-77"))); [Fact] public void GenerateCodeLiteral_returns_macaddr8_literal() => Assert.Equal( @"System.Net.NetworkInformation.PhysicalAddress.Parse(""0011223344556677"")", CodeLiteral(PhysicalAddress.Parse("00-11-22-33-44-55-66-77"))); [Fact] public void GenerateSqlLiteral_returns_inet_literal() => Assert.Equal("INET '192.168.1.1'", GetMapping("inet").GenerateSqlLiteral(IPAddress.Parse("192.168.1.1"))); [Fact] public void GenerateCodeLiteral_returns_inet_literal() => Assert.Equal(@"System.Net.IPAddress.Parse(""192.168.1.1"")", CodeLiteral(IPAddress.Parse("192.168.1.1"))); [Fact] public void GenerateSqlLiteral_returns_cidr_literal() => Assert.Equal("CIDR '192.168.1.0/24'", GetMapping("cidr").GenerateSqlLiteral(new NpgsqlCidr(IPAddress.Parse("192.168.1.0"), 24))); [Fact] public void GenerateCodeLiteral_returns_cidr_literal() => Assert.Equal( @"new NpgsqlTypes.NpgsqlCidr(System.Net.IPAddress.Parse(""192.168.1.0""), (byte)24)", CodeLiteral(new NpgsqlCidr(IPAddress.Parse("192.168.1.0"), 24))); #endregion Networking #region Geometric [Fact] public void GenerateSqlLiteral_returns_point_literal() => Assert.Equal("POINT '(3.5,4.5)'", GetMapping("point").GenerateSqlLiteral(new NpgsqlPoint(3.5, 4.5))); [Fact] public void GenerateCodeLiteral_returns_point_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlPoint(3.5, 4.5)", CodeLiteral(new NpgsqlPoint(3.5, 4.5))); [Fact] public void GenerateSqlLiteral_returns_line_literal() => Assert.Equal("LINE '{3.5,4.5,10}'", GetMapping("line").GenerateSqlLiteral(new NpgsqlLine(3.5, 4.5, 10))); [Fact] public void GenerateCodeLiteral_returns_line_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlLine(3.5, 4.5, 10.0)", CodeLiteral(new NpgsqlLine(3.5, 4.5, 10))); [Fact] public void GenerateSqlLiteral_returns_lseg_literal() => Assert.Equal("LSEG '[(3.5,4.5),(5.5,6.5)]'", GetMapping("lseg").GenerateSqlLiteral(new NpgsqlLSeg(3.5, 4.5, 5.5, 6.5))); [Fact] public void GenerateCodeLiteral_returns_lseg_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlLSeg(3.5, 4.5, 5.5, 6.5)", CodeLiteral(new NpgsqlLSeg(3.5, 4.5, 5.5, 6.5))); [Fact] public void GenerateSqlLiteral_returns_box_literal() => Assert.Equal("BOX '((4,3),(2,1))'", GetMapping("box").GenerateSqlLiteral(new NpgsqlBox(1, 2, 3, 4))); [Fact] public void GenerateCodeLiteral_returns_box_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlBox(3.0, 4.0, 1.0, 2.0)", CodeLiteral(new NpgsqlBox(1, 2, 3, 4))); [Fact] public void GenerateSqlLiteral_returns_path_closed_literal() => Assert.Equal( "PATH '((1,2),(3,4))'", GetMapping("path").GenerateSqlLiteral( new NpgsqlPath( new NpgsqlPoint(1, 2), new NpgsqlPoint(3, 4) ))); [Fact] public void GenerateCodeLiteral_returns_closed_path_literal() => Assert.Equal( "new NpgsqlTypes.NpgsqlPath(new NpgsqlPoint[] { new NpgsqlTypes.NpgsqlPoint(1.0, 2.0), new NpgsqlTypes.NpgsqlPoint(3.0, 4.0) }, false)", CodeLiteral( new NpgsqlPath( new NpgsqlPoint(1, 2), new NpgsqlPoint(3, 4) ))); [Fact] public void GenerateSqlLiteral_returns_path_open_literal() => Assert.Equal( "PATH '[(1,2),(3,4)]'", GetMapping("path").GenerateSqlLiteral( new NpgsqlPath( new NpgsqlPoint(1, 2), new NpgsqlPoint(3, 4) ) { Open = true })); [Fact] public void GenerateCodeLiteral_returns_open_path_literal() => Assert.Equal( "new NpgsqlTypes.NpgsqlPath(new NpgsqlPoint[] { new NpgsqlTypes.NpgsqlPoint(1.0, 2.0), new NpgsqlTypes.NpgsqlPoint(3.0, 4.0) }, true)", CodeLiteral( new NpgsqlPath( new NpgsqlPoint(1, 2), new NpgsqlPoint(3, 4) ) { Open = true })); [Fact] public void GenerateSqlLiteral_returns_polygon_literal() => Assert.Equal( "POLYGON '((1,2),(3,4))'", GetMapping("polygon").GenerateSqlLiteral( new NpgsqlPolygon( new NpgsqlPoint(1, 2), new NpgsqlPoint(3, 4) ))); [Fact] public void GenerateCodeLiteral_returns_polygon_literal() => Assert.Equal( "new NpgsqlTypes.NpgsqlPolygon(new NpgsqlPoint[] { new NpgsqlTypes.NpgsqlPoint(1.0, 2.0), new NpgsqlTypes.NpgsqlPoint(3.0, 4.0) })", CodeLiteral( new NpgsqlPolygon( new NpgsqlPoint(1, 2), new NpgsqlPoint(3, 4) ))); [Fact] public void GenerateSqlLiteral_returns_circle_literal() => Assert.Equal("CIRCLE '<(3.5,4.5),5.5>'", GetMapping("circle").GenerateSqlLiteral(new NpgsqlCircle(3.5, 4.5, 5.5))); [Fact] public void GenerateCodeLiteral_returns_circle_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlCircle(3.5, 4.5, 5.5)", CodeLiteral(new NpgsqlCircle(3.5, 4.5, 5.5))); #endregion Geometric #region Misc [Fact] public void GenerateSqlLiteral_returns_bool_literal() => Assert.Equal("TRUE", GetMapping("bool").GenerateSqlLiteral(true)); [Fact] public void GenerateSqlLiteral_returns_varbit_literal() => Assert.Equal("B'10'", GetMapping("varbit").GenerateSqlLiteral(new BitArray(new[] { true, false }))); [Fact] public void GenerateCodeLiteral_returns_varbit_literal() => Assert.Equal("new System.Collections.BitArray(new bool[] { true, false })", CodeLiteral(new BitArray(new[] { true, false }))); [Fact] public void GenerateSqlLiteral_returns_bit_literal() => Assert.Equal("B'10'", GetMapping("bit").GenerateSqlLiteral(new BitArray(new[] { true, false }))); [Fact] public void GenerateCodeLiteral_returns_bit_literal() => Assert.Equal("new System.Collections.BitArray(new bool[] { true, false })", CodeLiteral(new BitArray(new[] { true, false }))); [Fact(Skip = "path_to_url")] public void ValueComparer_hstore_array() { // This exercises array's comparer when the element has its own non-null comparer var source = new[] { new Dictionary<string, string> { { "k1", "v1" } }, new Dictionary<string, string> { { "k2", "v2" } }, }; var comparer = GetMapping(typeof(Dictionary<string, string>[])).Comparer; var snapshot = (Dictionary<string, string>[])comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.NotSame(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); source[1]["k2"] = "v8"; Assert.False(comparer.Equals(source, snapshot)); } [Fact] public void GenerateSqlLiteral_returns_bytea_literal() => Assert.Equal(@"BYTEA E'\\xDEADBEEF'", GetMapping("bytea").GenerateSqlLiteral(new byte[] { 222, 173, 190, 239 })); [Fact] public void GenerateSqlLiteral_returns_hstore_literal() => Assert.Equal( @"HSTORE '""k1""=>""v1"",""k2""=>""v2""'", GetMapping("hstore").GenerateSqlLiteral(new Dictionary<string, string> { { "k1", "v1" }, { "k2", "v2" } })); [Fact] public void GenerateSqlLiteral_returns_BigInteger_literal() { var mapping = GetMapping(typeof(BigInteger)); Assert.Equal(@"0", mapping.GenerateSqlLiteral(BigInteger.Zero)); Assert.Equal(int.MaxValue.ToString(), mapping.GenerateSqlLiteral(new BigInteger(int.MaxValue))); Assert.Equal(int.MinValue.ToString(), mapping.GenerateSqlLiteral(new BigInteger(int.MinValue))); } [Fact] public void GenerateCodeLiteral_returns_BigInteger_literal() => Assert.Equal( @"BigInteger.Parse(""18446744073709551615"", NumberFormatInfo.InvariantInfo)", CodeLiteral(new BigInteger(ulong.MaxValue))); [Fact] public void ValueComparer_hstore_as_Dictionary() { var source = new Dictionary<string, string> { { "k1", "v1" }, { "k2", "v2" } }; var comparer = GetMapping("hstore").Comparer; var snapshot = (Dictionary<string, string>)comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.NotSame(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); snapshot.Remove("k1"); Assert.False(comparer.Equals(source, snapshot)); } [Fact] public void ValueComparer_hstore_as_ImmutableDictionary() { var source = ImmutableDictionary<string, string>.Empty .Add("k1", "v1") .Add("k2", "v2"); var comparer = Mapper.FindMapping(typeof(ImmutableDictionary<string, string>), "hstore").Comparer; var snapshot = comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); source = source.Remove("k1"); Assert.False(comparer.Equals(source, snapshot)); } [Fact] public void GenerateSqlLiteral_returns_enum_literal() { var mapping = new NpgsqlEnumTypeMapping("dummy_enum", "dummy_enum", typeof(DummyEnum), new Dictionary<object, string> { [DummyEnum.Happy] = "happy", [DummyEnum.Sad] = "sad" }); Assert.Equal("'sad'::dummy_enum", mapping.GenerateSqlLiteral(DummyEnum.Sad)); } [Fact] public void GenerateSqlLiteral_returns_enum_uppercase_literal() { var mapping = new NpgsqlEnumTypeMapping(@"""DummyEnum""", "DummyEnum", typeof(DummyEnum), new Dictionary<object, string> { [DummyEnum.Happy] = "happy", [DummyEnum.Sad] = "sad" }); Assert.Equal(@"'sad'::""DummyEnum""", mapping.GenerateSqlLiteral(DummyEnum.Sad)); } private enum DummyEnum { // ReSharper disable once UnusedMember.Local Happy, Sad } [Fact] public void GenerateSqlLiteral_returns_tid_literal() => Assert.Equal(@"TID '(0,1)'", GetMapping("tid").GenerateSqlLiteral(new NpgsqlTid(0, 1))); [Fact] public void GenerateSqlLiteral_returns_pg_lsn_literal() => Assert.Equal(@"PG_LSN '12345/67890'", GetMapping("pg_lsn").GenerateSqlLiteral(NpgsqlLogSequenceNumber.Parse("12345/67890"))); #endregion Misc #region Array [Fact] public void GenerateSqlLiteral_returns_array_literal() => Assert.Equal("ARRAY[3,4]::integer[]", GetMapping(typeof(int[])).GenerateSqlLiteral(new[] { 3, 4 })); [Fact] public void GenerateSqlLiteral_returns_array_empty_literal() => Assert.Equal("ARRAY[]::smallint[]", GetMapping(typeof(short[])).GenerateSqlLiteral(Array.Empty<short>())); [Fact(Skip = "path_to_url")] public void ValueComparer_int_array() { // This exercises array's comparer when the element doesn't have a comparer, but it implements // IEquatable<T> var source = new[] { 2, 3, 4 }; var comparer = GetMapping(typeof(int[])).Comparer; var snapshot = (int[])comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.NotSame(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); snapshot[1] = 8; Assert.False(comparer.Equals(source, snapshot)); } [Fact(Skip = "path_to_url")] public void ValueComparer_int_list() { var source = new List<int> { 2, 3, 4 }; var comparer = GetMapping(typeof(List<int>)).Comparer; var snapshot = (List<int>)comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.NotSame(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); snapshot[1] = 8; Assert.False(comparer.Equals(source, snapshot)); } [Fact(Skip = "path_to_url")] public void ValueComparer_nullable_int_array() { var source = new int?[] { 2, 3, 4, null }; var comparer = GetMapping(typeof(int?[])).Comparer; var snapshot = (int?[])comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.NotSame(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); snapshot[1] = 8; Assert.False(comparer.Equals(source, snapshot)); } [Fact(Skip = "path_to_url")] public void ValueComparer_nullable_int_list() { var source = new List<int?> { 2, 3, 4, null }; var comparer = GetMapping(typeof(List<int?>)).Comparer; var snapshot = (List<int?>)comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.NotSame(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); snapshot[1] = 8; Assert.False(comparer.Equals(source, snapshot)); } [Fact(Skip = "path_to_url")] public void ValueComparer_nullable_array_with_iequatable_element() { var source = new NpgsqlPoint?[] { new NpgsqlPoint(1, 1), null }; var comparer = GetMapping(typeof(NpgsqlPoint?[])).Comparer; var snapshot = (NpgsqlPoint?[])comparer.Snapshot(source); Assert.Equal(source, snapshot); Assert.NotSame(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); snapshot[1] = new NpgsqlPoint(2, 2); Assert.False(comparer.Equals(source, snapshot)); } #endregion Array #region Ranges [Fact] public void GenerateSqlLiteral_returns_range_empty_literal() { var value = NpgsqlRange<int>.Empty; var literal = GetMapping("int4range").GenerateSqlLiteral(value); Assert.Equal("'empty'::int4range", literal); } [Fact] public void GenerateCodeLiteral_returns_range_empty_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlRange<int>(0, false, 0, false)", CodeLiteral(NpgsqlRange<int>.Empty)); [Fact] public void GenerateSqlLiteral_returns_range_inclusive_literal() { var value = new NpgsqlRange<int>(4, 7); var literal = GetMapping("int4range").GenerateSqlLiteral(value); Assert.Equal("'[4,7]'::int4range", literal); } [Fact] public void GenerateCodeLiteral_returns_range_inclusive_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlRange<int>(4, 7)", CodeLiteral(new NpgsqlRange<int>(4, 7))); [Fact] public void GenerateSqlLiteral_returns_range_inclusive_exclusive_literal() { var value = new NpgsqlRange<int>(4, false, 7, true); var literal = GetMapping("int4range").GenerateSqlLiteral(value); Assert.Equal("'(4,7]'::int4range", literal); } [Fact] public void GenerateCodeLiteral_returns_range_inclusive_exclusive_literal() => Assert.Equal("new NpgsqlTypes.NpgsqlRange<int>(4, false, 7, true)", CodeLiteral(new NpgsqlRange<int>(4, false, 7, true))); [Fact] public void GenerateSqlLiteral_returns_range_infinite_literal() { var value = new NpgsqlRange<int>(0, false, true, 7, true, false); var literal = GetMapping("int4range").GenerateSqlLiteral(value); Assert.Equal("'(,7]'::int4range", literal); } [Fact] public void GenerateCodeLiteral_returns_range_infinite_literal() => Assert.Equal( "new NpgsqlTypes.NpgsqlRange<int>(0, false, true, 7, true, false)", CodeLiteral(new NpgsqlRange<int>(0, false, true, 7, true, false))); // Tests for the built-in ranges [Fact] public void GenerateSqlLiteral_returns_int4range_literal() { var mapping = (NpgsqlRangeTypeMapping)GetMapping("int4range"); Assert.Equal("integer", mapping.SubtypeMapping.StoreType); var value = new NpgsqlRange<int>(4, 7); Assert.Equal("'[4,7]'::int4range", mapping.GenerateSqlLiteral(value)); } [Fact] public void GenerateSqlLiteral_returns_int8range_literal() { var mapping = (NpgsqlRangeTypeMapping)GetMapping("int8range"); Assert.Equal("bigint", mapping.SubtypeMapping.StoreType); var value = new NpgsqlRange<long>(4, 7); Assert.Equal("'[4,7]'::int8range", mapping.GenerateSqlLiteral(value)); } [Fact] public void GenerateSqlLiteral_returns_numrange_literal() { var mapping = (NpgsqlRangeTypeMapping)GetMapping("numrange"); Assert.Equal("numeric", mapping.SubtypeMapping.StoreType); var value = new NpgsqlRange<decimal>(4, 7); Assert.Equal("'[4.0,7.0]'::numrange", mapping.GenerateSqlLiteral(value)); } [Fact] public void GenerateSqlLiteral_returns_tsrange_literal() { var mapping = (NpgsqlRangeTypeMapping)GetMapping("tsrange"); Assert.Equal("timestamp without time zone", mapping.SubtypeMapping.StoreType); var value = new NpgsqlRange<DateTime>(new DateTime(2020, 1, 1, 12, 0, 0), new DateTime(2020, 1, 2, 12, 0, 0)); Assert.Equal(@"'[""2020-01-01T12:00:00"",""2020-01-02T12:00:00""]'::tsrange", mapping.GenerateSqlLiteral(value)); } [Fact] public void GenerateSqlLiteral_returns_tstzrange_literal() { var mapping = (NpgsqlRangeTypeMapping)GetMapping("tstzrange"); Assert.Equal("timestamp with time zone", mapping.SubtypeMapping.StoreType); var value = new NpgsqlRange<DateTime>( new DateTime(2020, 1, 1, 12, 0, 0, DateTimeKind.Utc), new DateTime(2020, 1, 2, 12, 0, 0, DateTimeKind.Utc)); Assert.Equal(@"'[""2020-01-01T12:00:00Z"",""2020-01-02T12:00:00Z""]'::tstzrange", mapping.GenerateSqlLiteral(value)); } [Fact] public void GenerateSqlLiteral_returns_daterange_DateOnly_literal() { var mapping = (NpgsqlRangeTypeMapping)GetMapping("daterange"); Assert.Equal("date", mapping.SubtypeMapping.StoreType); Assert.Equal("date", ((NpgsqlRangeTypeMapping)GetMapping(typeof(NpgsqlRange<DateOnly>))).SubtypeMapping.StoreType); var value = new NpgsqlRange<DateOnly>(new DateOnly(2020, 1, 1), new DateOnly(2020, 1, 2)); Assert.Equal(@"'[2020-01-01,2020-01-02]'::daterange", mapping.GenerateSqlLiteral(value)); } [Fact] public void GenerateSqlLiteral_returns_daterange_DateTime_literal() { var mapping = (NpgsqlRangeTypeMapping)GetMapping(typeof(NpgsqlRange<DateTime>), "daterange"); Assert.Equal("date", mapping.SubtypeMapping.StoreType); var value = new NpgsqlRange<DateTime>(new DateTime(2020, 1, 1), new DateTime(2020, 1, 2)); Assert.Equal(@"'[2020-01-01,2020-01-02]'::daterange", mapping.GenerateSqlLiteral(value)); } #endregion Ranges #region Multiranges [Fact] public void GenerateSqlLiteral_returns_multirange_literal() { var value = new NpgsqlRange<int>[] { new(4, 7), new(9, lowerBoundIsInclusive: true, 10, upperBoundIsInclusive: false), new( 13, lowerBoundIsInclusive: false, lowerBoundInfinite: false, default, upperBoundIsInclusive: false, upperBoundInfinite: true) }; var literal = GetMapping("int4multirange").GenerateSqlLiteral(value); Assert.Equal("'{[4,7], [9,10), (13,)}'::int4multirange", literal); } [Fact] public void GenerateCodeLiteral_returns_multirange_array_literal() { var value = new NpgsqlRange<int>[] { new(4, 7), new(9, lowerBoundIsInclusive: true, 10, upperBoundIsInclusive: false), new( 13, lowerBoundIsInclusive: false, lowerBoundInfinite: false, default, upperBoundIsInclusive: false, upperBoundInfinite: true) }; var literal = CodeLiteral(value); Assert.Equal( "new[] { new NpgsqlTypes.NpgsqlRange<int>(4, 7), new NpgsqlTypes.NpgsqlRange<int>(9, true, 10, false), new NpgsqlTypes.NpgsqlRange<int>(13, false, false, 0, false, true) }", literal); } [Fact] public void GenerateCodeLiteral_returns_multirange_list_literal() { var value = new List<NpgsqlRange<int>> { new(4, 7), new(9, lowerBoundIsInclusive: true, 10, upperBoundIsInclusive: false), new( 13, lowerBoundIsInclusive: false, lowerBoundInfinite: false, default, upperBoundIsInclusive: false, upperBoundInfinite: true) }; var literal = CodeLiteral(value); Assert.Equal( "new List<NpgsqlRange<int>> { new NpgsqlTypes.NpgsqlRange<int>(4, 7), new NpgsqlTypes.NpgsqlRange<int>(9, true, 10, false), new NpgsqlTypes.NpgsqlRange<int>(13, false, false, 0, false, true) }", literal); } [Fact] public void GenerateSqlLiteral_returns_multirange_empty_literal() { var value = Array.Empty<NpgsqlRange<int>>(); var literal = GetMapping("int4multirange").GenerateSqlLiteral(value); Assert.Equal("'{}'::int4multirange", literal); } [Fact] public void GenerateCodeLiteral_returns_multirange_empty_array_literal() { var value = Array.Empty<NpgsqlRange<int>>(); var literal = CodeLiteral(value); Assert.Equal("new NpgsqlRange<int>[0]", literal); } #endregion Multiranges #region Full text search #pragma warning disable CS0618 // Full-text search client-parsing is obsolete [Fact] public void GenerateSqlLiteral_returns_tsquery_literal() => Assert.Equal( @"TSQUERY '''a'' & ''b'''", GetMapping("tsquery").GenerateSqlLiteral(NpgsqlTsQuery.Parse("a & b"))); [Fact] public void GenerateSqlLiteral_returns_tsvector_literal() => Assert.Equal( @"TSVECTOR '''a'' ''b'''", GetMapping("tsvector").GenerateSqlLiteral(NpgsqlTsVector.Parse("a b"))); #pragma warning restore CS0618 [Fact] public void GenerateSqlLiteral_returns_ranking_normalization_literal() => Assert.Equal( $"{(int)NpgsqlTsRankingNormalization.DivideByLength}", GetMapping(typeof(NpgsqlTsRankingNormalization)) .GenerateSqlLiteral(NpgsqlTsRankingNormalization.DivideByLength)); #endregion Full text search #region Json [Fact] public void GenerateSqlLiteral_returns_jsonb_string_literal() => Assert.Equal("""'{"a":1}'""", GetMapping("jsonb").GenerateSqlLiteral("""{"a":1}""")); [Fact] public void GenerateSqlLiteral_returns_json_string_literal() => Assert.Equal("""'{"a":1}'""", GetMapping("json").GenerateSqlLiteral("""{"a":1}""")); [Fact] public void GenerateSqlLiteral_returns_jsonb_object_literal() { var literal = Mapper.FindMapping(typeof(Customer), "jsonb").GenerateSqlLiteral(SampleCustomer); Assert.Equal( """'{"Name":"Joe","Age":25,"IsVip":false,"Orders":[{"Price":99.5,"ShippingAddress":"Some address 1","ShippingDate":"2019-10-01T00:00:00"},{"Price":23,"ShippingAddress":"Some address 2","ShippingDate":"2019-10-10T00:00:00"}]}'""", literal); } [Fact] public void GenerateSqlLiteral_returns_json_object_literal() { var literal = Mapper.FindMapping(typeof(Customer), "json").GenerateSqlLiteral(SampleCustomer); Assert.Equal( """'{"Name":"Joe","Age":25,"IsVip":false,"Orders":[{"Price":99.5,"ShippingAddress":"Some address 1","ShippingDate":"2019-10-01T00:00:00"},{"Price":23,"ShippingAddress":"Some address 2","ShippingDate":"2019-10-10T00:00:00"}]}'""", literal); } [Fact] public void GenerateSqlLiteral_returns_jsonb_document_literal() { var json = """{"Name":"Joe","Age":25}"""; var literal = Mapper.FindMapping(typeof(JsonDocument), "jsonb").GenerateSqlLiteral(JsonDocument.Parse(json)); Assert.Equal($"'{json}'", literal); } [Fact] public void GenerateSqlLiteral_returns_json_document_literal() { var json = """{"Name":"Joe","Age":25}"""; var literal = Mapper.FindMapping(typeof(JsonDocument), "json").GenerateSqlLiteral(JsonDocument.Parse(json)); Assert.Equal($"'{json}'", literal); } [Fact] public void GenerateSqlLiteral_returns_jsonb_element_literal() { var json = """{"Name":"Joe","Age":25}"""; var literal = Mapper.FindMapping(typeof(JsonElement), "jsonb").GenerateSqlLiteral(JsonDocument.Parse(json).RootElement); Assert.Equal($"'{json}'", literal); } [Fact] public void GenerateSqlLiteral_returns_json_element_literal() { var json = """{"Name":"Joe","Age":25}"""; var literal = Mapper.FindMapping(typeof(JsonElement), "json").GenerateSqlLiteral(JsonDocument.Parse(json).RootElement); Assert.Equal($"'{json}'", literal); } [Fact] public void GenerateCodeLiteral_returns_json_document_literal() => Assert.Equal( """System.Text.Json.JsonDocument.Parse("{\"Name\":\"Joe\",\"Age\":25}", new System.Text.Json.JsonDocumentOptions())""", CodeLiteral(JsonDocument.Parse(@"{""Name"":""Joe"",""Age"":25}"))); [Fact] public void GenerateCodeLiteral_returns_json_element_literal() // TODO: path_to_url => Assert.Throws<NotSupportedException>(() => CodeLiteral(JsonDocument.Parse(@"{""Name"":""Joe"",""Age"":25}").RootElement)); // Assert.Equal( // """System.Text.Json.JsonDocument.Parse("{\"Name\":\"Joe\",\"Age\":25}", new System.Text.Json.JsonDocumentOptions()).RootElement""", // CodeLiteral(JsonDocument.Parse(@"{""Name"":""Joe"",""Age"":25}").RootElement)); [Fact] public void ValueComparer_JsonDocument() { var json = """{"Name":"Joe","Age":25}"""; var source = JsonDocument.Parse(json); var comparer = GetMapping(typeof(JsonDocument)).Comparer; var snapshot = (JsonDocument)comparer.Snapshot(source); Assert.Same(source, snapshot); Assert.True(comparer.Equals(source, snapshot)); } [Fact] public void ValueComparer_JsonElement() { var json = """{"Name":"Joe","Age":25}"""; var source = JsonDocument.Parse(json).RootElement; var comparer = GetMapping(typeof(JsonElement)).Comparer; var snapshot = (JsonElement)comparer.Snapshot(source); Assert.True(comparer.Equals(source, snapshot)); Assert.False(comparer.Equals(source, JsonDocument.Parse(json).RootElement)); } private static readonly Customer SampleCustomer = new() { Name = "Joe", Age = 25, IsVip = false, Orders = [ new Order { Price = 99.5m, ShippingAddress = "Some address 1", ShippingDate = new DateTime(2019, 10, 1) }, new Order { Price = 23, ShippingAddress = "Some address 2", ShippingDate = new DateTime(2019, 10, 10) } ] }; public class Customer { public string Name { get; set; } public int Age { get; set; } public bool IsVip { get; set; } public Order[] Orders { get; set; } } public class Order { public decimal Price { get; set; } public string ShippingAddress { get; set; } public DateTime ShippingDate { get; set; } } #endregion Json #region Support private static readonly NpgsqlTypeMappingSource Mapper = new( new TypeMappingSourceDependencies( new ValueConverterSelector(new ValueConverterSelectorDependencies()), new JsonValueReaderWriterSource(new JsonValueReaderWriterSourceDependencies()), [] ), new RelationalTypeMappingSourceDependencies([]), new NpgsqlSqlGenerationHelper(new RelationalSqlGenerationHelperDependencies()), new NpgsqlSingletonOptions() ); private static RelationalTypeMapping GetMapping(string storeType) => Mapper.FindMapping(storeType); private static RelationalTypeMapping GetMapping(Type clrType) => Mapper.FindMapping(clrType); private static RelationalTypeMapping GetMapping(Type clrType, string storeType) => Mapper.FindMapping(clrType, storeType); private static readonly CSharpHelper CsHelper = new(Mapper); private static string CodeLiteral(object value) => CsHelper.UnknownLiteral(value); #endregion Support } ```
Death Panel is a leftist podcast focusing on the political economy of health. It was founded in November 2018 by Artie Vierkant, Beatrice Adler-Bolton, Vince Patti, and Phil Rocco. As of 2021, all of the podcast's founders, except for Patti, remain its co-hosts. Adler-Bolton and Vierkant are both artists, and much of the original inspiration for the podcast came from Adler-Bolton's own experiences interacting with the health care system of the United States as someone with two rare diseases: chronic relapsing inflammatory optic neuropathy and granulomatosis with polyangiitis. In May 2020, Kerry Doran wrote in ARTnews that "...The Death Panel has become a cult hit in the art world. Artists Ed Atkins, Ivana Bašić, Hannah Black, Joshua Citarella, Simon Denny, Devin Kenny, Cole Lu, Jayson Musson, and Andrew Ross are among some of the devoted listeners." The podcast is funded by a Patreon. In October 2022, Verso Books published Health Communism by Adler-Bolton and Vierkant, a book which argues for "a conception of health that is possible to work toward within the capitalist system but which is mutually exclusive with this system’s model of health." References External links 2018 podcast debuts Political podcasts Audio podcasts American podcasts
MMS19 nucleotide excision repair protein homolog is a protein that in humans is encoded by the MMS19 gene. References Further reading
Janis Elizabeth Swan (née Trout) is a New Zealand food process engineering academic. She is currently an emeritus professor at the University of Waikato. Academic and research career Educated at Horowhenua College in Levin, Swan went on to study biotechnology at Massey University, completing a Bachelor of Technology in 1969 and a Master of Technology in 1971. After working in industry for two years, she returned to Massey as a lecturer. She was awarded a Walter Mulholland Fellowship, which enabled her to undertake doctoral studies at the University of Waterloo in Canada, and she completed her PhD on the modelling of fungal growth on cellulose pulp in airlift fermenters in 1977. Swan returned to New Zealand, and spent three years as a post-doctoral research at the Ministry of Agriculture and Fisheries at Ruakura developing a process for the extraction of protein from grass. She then spent 16 years at the Meat Industry Research Institute of New Zealand, also at Ruakura, where she worked on rendering and blood processing, as well as meat product development. Swan returned to academia in 1997, becoming a full professor at the University of Waikato. She served as head of the Department of Materials and Process Engineering from 1997 to 2003; head of the Department of Engineering from 2006 to 2008; associate dean of engineering from 2005 to 2105, deputy dean of the Faculty of Science and Engineering from 2012 to 2015; and acting dean of engineering between 2015 and 2016. She was the first woman in New Zealand to lead an engineering school. Swan was a Marsden Fund council member between 2010 and 2013. On her retirement from Waikato, she was conferred the title of emeritus professor in 2018. Honours and awards In the 2009 New Year Honours, Swan was appointed a Member of the New Zealand Order of Merit, for services to engineering. She was elected a Fellow of the New Zealand Institute of Food Science and Technology in 2006, and of the Institute of Professional Engineers New Zealand in 2005. In 2010, she won the J. C. Andrews Award from the New Zealand Institute of Food Science and Technology, their highest honour. In 2018, Swan was named as a Distinguished Fellow of Engineering New Zealand, the second woman to be so honoured. Selected works Du, Yanhai, Nigel M. Sammes, Geoffrey A. Tompsett, Deliang Zhang, Janis Swan, and Mark Bowden. "Extruded Tubular Strontium-and Magnesium-Doped Lanthanum Gallate, Gadolinium-Doped Ceria, and Yttria-Stabilized Zirconia Electrolytes Mechanical and Thermal Properties." Journal of the Electrochemical Society 150, no. 1 (2003): A74-A78. Farouk, M. M., W. K. Hall, and Janis E. Swan. "Attributes of beef sausage batters, patties and restructured roasts from two boning systems." Journal of Muscle Foods 11, no. 3 (2000): 197–212. Thavanayagam, Gnanavinthan, Kim L. Pickering, Janis E. Swan, and Peng Cao. "Analysis of rheological behaviour of titanium feedstocks formulated with a water-soluble binder system for powder injection moulding." Powder Technology 269 (2015): 227–232. Swan, Janis Elizabeth, and P. J. Torley. "Collagen: structure, function and uses." (1991). Lay, Mark C., Levinia K. Paku, and Janis E. Swan. "Work placement reports: Student perceptions." (2008): 1–7. References External links Living people Year of birth missing (living people) New Zealand women academics University of Waterloo alumni Massey University alumni Academic staff of the University of Waikato New Zealand chemical engineers Members of the New Zealand Order of Merit People educated at Horowhenua College Chemical engineering academics
```yaml reader: name: amsr2_l1b short_name: AMSR2 l1b long_name: GCOM-W1 AMSR2 data in HDF5 format description: GCOM-W1 AMSR2 instrument HDF5 reader status: Nominal supports_fsspec: false # could this be a python hook ? reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader sensors: [amsr2] default_channels: [] datasets: btemp_10.7v: name: 'btemp_10.7v' # FIXME: These are actually GHz not micrometers wavelength: [10.7, 10.7, 10.7] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (10.7GHz,V)" fill_value: 65535 coordinates: - longitude - latitude btemp_10.7h: name: 'btemp_10.7h' wavelength: [10.7, 10.7, 10.7] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (10.7GHz,H)" fill_value: 65535 coordinates: - longitude - latitude btemp_6.9v: name: 'btemp_6.9v' wavelength: [6.9, 6.9, 6.9] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (6.9GHz,V)" fill_value: 65535 coordinates: - longitude - latitude btemp_6.9h: name: 'btemp_6.9h' wavelength: [6.9, 6.9, 6.9] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (6.9GHz,H)" fill_value: 65535 coordinates: - longitude - latitude btemp_7.3v: name: 'btemp_7.3v' wavelength: [7.3, 7.3, 7.3] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (7.3GHz,V)" fill_value: 65535 coordinates: - longitude - latitude btemp_7.3h: name: 'btemp_7.3h' wavelength: [7.3, 7.3, 7.3] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (7.3GHz,H)" fill_value: 65535 coordinates: - longitude - latitude btemp_18.7v: name: 'btemp_18.7v' wavelength: [18.7, 18.7, 18.7] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (18.7GHz,V)" fill_value: 65535 coordinates: - longitude - latitude btemp_18.7h: name: 'btemp_18.7h' wavelength: [18.7, 18.7, 18.7] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (18.7GHz,H)" fill_value: 65535 coordinates: - longitude - latitude btemp_23.8v: name: 'btemp_23.8v' wavelength: [23.8, 23.8, 23.8] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (23.8GHz,V)" fill_value: 65535 coordinates: - longitude - latitude btemp_23.8h: name: 'btemp_23.8h' wavelength: [23.8, 23.8, 23.8] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (23.8GHz,H)" fill_value: 65535 coordinates: - longitude - latitude btemp_36.5v: name: 'btemp_36.5v' wavelength: [36.5, 36.5, 36.5] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (36.5GHz,V)" fill_value: 65535 coordinates: - longitude - latitude btemp_36.5h: name: 'btemp_36.5h' wavelength: [36.5, 36.5, 36.5] calibration: brightness_temperature resolution: 10000 standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (36.5GHz,H)" fill_value: 65535 coordinates: - longitude - latitude btemp_89.0av: name: 'btemp_89.0av' wavelength: [89.0, 89.0, 89.0] calibration: brightness_temperature resolution: 5000 navigation: amsr2_5km_a standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (89.0GHz-A,V)" fill_value: 65535 coordinates: - longitude_a - latitude_a btemp_89.0ah: name: 'btemp_89.0ah' wavelength: [89.0, 89.0, 89.0] calibration: brightness_temperature resolution: 5000 navigation: amsr2_5km_a standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (89.0GHz-A,H)" fill_value: 65535 coordinates: - longitude_a - latitude_a btemp_89.0bv: name: 'btemp_89.0bv' wavelength: [89.0, 89.0, 89.0] calibration: brightness_temperature resolution: 5000 navigation: amsr2_5km_b standard_name: toa_brightness_temperature polarization: V file_type: amsr2_l1b file_key: "Brightness Temperature (89.0GHz-B,V)" fill_value: 65535 coordinates: - longitude_b - latitude_b btemp_89.0bh: name: 'btemp_89.0bh' wavelength: [89.0, 89.0, 89.0] calibration: brightness_temperature resolution: 5000 navigation: amsr2_5km_b standard_name: toa_brightness_temperature polarization: H file_type: amsr2_l1b file_key: "Brightness Temperature (89.0GHz-B,H)" fill_value: 65535 coordinates: - longitude_b - latitude_b latitude_5km_a: name: latitude_a resolution: 5000 file_type: amsr2_l1b standard_name: latitude polarization: [H, V] units: degree file_key: 'Latitude of Observation Point for 89A' fill_value: -9999.0 latitude_5km_b: name: latitude_b resolution: 5000 file_type: amsr2_l1b standard_name: latitude polarization: [H, V] units: degree file_key: 'Latitude of Observation Point for 89B' fill_value: -9999.0 longitude_5km_a: name: longitude_a resolution: 5000 file_type: amsr2_l1b standard_name: longitude polarization: [H, V] units: degree file_key: 'Longitude of Observation Point for 89A' fill_value: -9999.0 longitude_5km_b: name: longitude_b resolution: 5000 file_type: amsr2_l1b standard_name: longitude polarization: [H, V] units: degree file_key: 'Longitude of Observation Point for 89B' fill_value: -9999.0 latitude_10km: name: latitude resolution: 10000 file_type: amsr2_l1b standard_name: latitude polarization: [H, V] units: degree file_key: 'Latitude of Observation Point for 89A' fill_value: -9999.0 longitude_10km: name: longitude resolution: 10000 file_type: amsr2_l1b standard_name: longitude polarization: [H, V] units: degree file_key: 'Longitude of Observation Point for 89A' fill_value: -9999.0 file_types: amsr2_l1b: file_reader: !!python/name:satpy.readers.amsr2_l1b.AMSR2L1BFileHandler file_patterns: ['{platform_shortname:3s}{instrument_shortname:3s}_{start_time:%Y%m%d%H%M}_{path_number:3d}{orbit_direction:1s}_{process_level:2s}{process_kind:2s}{product_id:3s}{resolution_id:1s}{dev_id:1s}{product_version:1s}{algorithm_version:3d}{parameter_version:3d}.h5'] ```
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * 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 * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * 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. */ package org.graalvm.visualvm.lib.ui.threads; import java.awt.event.ActionEvent; import java.util.HashMap; import java.util.Map; import java.util.ResourceBundle; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.JToggleButton; import org.graalvm.visualvm.lib.charts.axis.TimeAxisUtils; import org.graalvm.visualvm.lib.jfluid.results.threads.ThreadData; import org.graalvm.visualvm.lib.jfluid.results.threads.ThreadsDataManager; import org.graalvm.visualvm.lib.profiler.api.icons.GeneralIcons; import org.graalvm.visualvm.lib.profiler.api.icons.Icons; import org.graalvm.visualvm.lib.ui.swing.ProfilerTableContainer; /** * * @author Jiri Sedlacek */ public class ViewManager extends ProfilerTableContainer.ColumnChangeAdapter { private static ResourceBundle BUNDLE() { return ResourceBundle.getBundle("org.graalvm.visualvm.lib.ui.threads.Bundle"); // NOI18N } private static final int MIN_TIMEMARK_STEP = 120; // The minimal distance between two time marks public static final String PROP_NEW_OFFSET = "newOffset"; // NOI18N // Zoom value maximum private static final int MAX_ZOOM = 5; // Minimum part of view covered by data (1/MIN_VIEW) private static final int MIN_VIEW = 3; private final int column; private final ThreadsDataManager data; private final Map<Integer, RowView> rowViews; private int offset; private int width; private int prefWidth; private boolean fit = false; private double zoom = 0.03f; private double lastZoom = zoom; private Action zoomInAction; private Action zoomOutAction; private Action fitAction; public ViewManager(int column, ThreadsDataManager data) { this.column = column; this.data = data; updateTimeMarks(true); rowViews = new HashMap(); } public int zoomIn() { return setZoom(zoom * 1.2d); } public int zoomOut() { return setZoom(zoom * 0.8d); } public int setZoom(double zoom) { int newOffset = offset; if (this.zoom != zoom) { double oldZoom = this.zoom; zoomChanged(this.zoom, zoom); if (!isFit()) { double tt = (offset + width / 2) / oldZoom; newOffset = Math.max((int)(tt * zoom - width / 2), 0); } updateActions(); } return newOffset; } public double getZoom() { return zoom; } public Action zoomInAction() { if (zoomInAction == null) zoomInAction = new AbstractAction(null, Icons.getIcon(GeneralIcons.ZOOM_IN)) { { putValue(Action.SHORT_DESCRIPTION, BUNDLE().getString("ACT_ZoomIn")); // NOI18N } public void actionPerformed(ActionEvent e) { int newOffset = zoomIn(); Integer _newOffset = newOffset == offset ? null : newOffset; zoomInAction.putValue(PROP_NEW_OFFSET, _newOffset); } }; return zoomInAction; } public Action zoomOutAction() { if (zoomOutAction == null) zoomOutAction = new AbstractAction(null, Icons.getIcon(GeneralIcons.ZOOM_OUT)) { { putValue(Action.SHORT_DESCRIPTION, BUNDLE().getString("ACT_ZoomOut")); // NOI18N } public void actionPerformed(ActionEvent e) { int newOffset = zoomOut(); Integer _newOffset = newOffset == offset ? null : newOffset; zoomOutAction.putValue(PROP_NEW_OFFSET, _newOffset); } }; return zoomOutAction; } public Action fitAction() { if (fitAction == null) fitAction = new AbstractAction(null, Icons.getIcon(GeneralIcons.SCALE_TO_FIT)) { { putValue(Action.SHORT_DESCRIPTION, BUNDLE().getString("ACT_ScaleToFit")); // NOI18N } public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source instanceof JToggleButton) { fit = ((JToggleButton)source).isSelected(); if (fit) lastZoom = zoom; else zoom = lastZoom; updateTimeMarks(true); updateActions(); } } }; return fitAction; } private void updateActions() { if (zoomInAction != null) { zoomInAction.setEnabled(isFit() ? false : getViewWidth() > 0 && zoom <= MAX_ZOOM); } if (zoomOutAction != null) { zoomOutAction.setEnabled(isFit() ? false : prefWidth >= width / MIN_VIEW); } } private long getFirstTime() { return data.getStartTime(); } public int getViewWidth() { return (int)(getDataWidth() * zoom); } private int getDataWidth() { return (int)(data.getEndTime() - data.getStartTime()); } public long getFirstTimeMark(boolean _offset) { return _offset ? _firstTimeMark : firstTimeMark; } public long getTimeMarksStep() { return timeMarksStep; } public String getTimeMarksFormat() { return format; } public int getTimePosition(long time, boolean _offset) { return !_offset || isFit() ? (int)((time - data.getStartTime()) * zoom) : (int)((time - data.getStartTime()) * zoom) - offset; } private long firstTimeMark; private long _firstTimeMark; private long timeMarksStep; private String format; private void updateTimeMarks(boolean updateStep) { if (updateStep) timeMarksStep = TimeAxisUtils.getTimeUnits(zoom, MIN_TIMEMARK_STEP); long first = data.getStartTime(); long _first = first + (long)(offset / zoom); firstTimeMark = first / timeMarksStep * timeMarksStep + timeMarksStep; _firstTimeMark = _first / timeMarksStep * timeMarksStep + timeMarksStep; long last = first + (long)(width / zoom); format = TimeAxisUtils.getFormatString(timeMarksStep, first, last); } public RowView getRowView(int row) { RowView rowView = rowViews.get(row); if (rowView == null) { rowView = new RowView(data.getThreadData(row)); rowViews.put(row, rowView); } return rowView; } public void update() { if (isFit()) zoomChanged(zoom, width / (double)getDataWidth()); } public void reset() { zoom = 0.03f; lastZoom = zoom; rowViews.clear(); updateTimeMarks(true); } public void columnOffsetChanged(int column, int oldO, int newO) { if (this.column != column) return; offset = newO; updateTimeMarks(false); for (RowView view : rowViews.values()) view.offsetChanged(oldO, newO); } public void columnWidthChanged(int column, int oldW, int newW) { if (this.column != column) return; width = newW; if (!isFit()) for (RowView view : rowViews.values()) view.widthChanged(oldW, newW); updateActions(); } public void columnPreferredWidthChanged(int column, int oldW, int newW) { if (this.column != column) return; prefWidth = newW; updateTimeMarks(false); if (!isFit()) for (RowView view : rowViews.values()) view.preferredWidthChanged(oldW, newW); updateActions(); } public void zoomChanged(double oldZoom, double newZoom) { zoom = newZoom; updateTimeMarks(true); for (RowView view : rowViews.values()) view.zoomChanged(oldZoom, newZoom); } public void setFit(boolean f) { fit = f; } public boolean isFit() { return fit; } private boolean isTrackingEnd() { return offset + width >= prefWidth; } public class RowView implements Comparable<RowView> { private final ThreadData data; private int i = -1; RowView(ThreadData data) { this.data = data; if (getMaxIndex() >= 0) i = findLastIndex(); } public int getLastIndex() { return i == Integer.MIN_VALUE || i == Integer.MAX_VALUE ? -1 : i; } public int getMaxIndex() { return data.size() - 1; } public long getTime(int index) { return data.getTimeStampAt(index); } public int getState(int index) { return data.getStateAt(index); } public int getPosition(long time) { return (int)((time - getFirstTime()) * zoom); } // TODO: should return end of last alive state for dead threads public int getMaxPosition() { return getViewWidth(); } // TODO: optimize based on current offset / visible area private int findLastIndex() { // if (data.getThreadRecordsCount(row) == 0) return -1; if (isTrackingEnd() || isFit()) return getMaxIndex(); i = Integer.MIN_VALUE; return findLastIndexLeft(); } private int findLastIndexLeft() { // All indexes already on right if (i == Integer.MAX_VALUE) return i; int maxIndex = getMaxIndex(); int newIndex = i == Integer.MIN_VALUE ? maxIndex : i; Position position = getIndexPosition(newIndex); while (newIndex > 0 && Position.RIGHT.equals(position)) position = getIndexPosition(--newIndex); // All indexes on right if (Position.RIGHT.equals(position)) return Integer.MAX_VALUE; // All indexes on left if (Position.LEFT.equals(position) && newIndex == maxIndex && getMaxPosition() - offset < 0) return Integer.MIN_VALUE; // Last visible index return newIndex; } private int findLastIndexRight() { // All indexes already on right if (i == Integer.MIN_VALUE) return i; int maxIndex = getMaxIndex(); int newIndex = i == Integer.MAX_VALUE ? 0 : i; Position position = getIndexPosition(newIndex); while (newIndex < maxIndex && !Position.RIGHT.equals(position)) position = getIndexPosition(++newIndex); // First invisible inedx or all indexes on right if (Position.RIGHT.equals(position)) return newIndex == 0 ? Integer.MAX_VALUE : newIndex - 1; // All indexes on left if (Position.LEFT.equals(position) && newIndex == maxIndex && getMaxPosition() - offset < 0) return Integer.MIN_VALUE; // Last visible index return newIndex; } private Position getIndexPosition(int index) { int position = getPosition(getTime(index)) - offset; if (position < 0) return Position.LEFT; else if (position >= width) return Position.RIGHT; else return Position.WITHIN; } private void offsetChanged(int oldOffset, int newOffset) { int maxIndex = getMaxIndex(); if (maxIndex == -1) return; if (isTrackingEnd()) { i = maxIndex; } else { if (newOffset > oldOffset) { i = i == -1 ? findLastIndex() : findLastIndexRight(); } else { i = i == -1 ? findLastIndex() : findLastIndexLeft(); } } } private void widthChanged(int oldWidth, int newWidth) { int maxIndex = getMaxIndex(); if (maxIndex == -1) return; if (isTrackingEnd() || isFit()) { i = maxIndex; } else { if (newWidth > oldWidth) { i = i == -1 ? findLastIndex() : findLastIndexRight(); } else { i = i == -1 ? findLastIndex() : findLastIndexLeft(); } } } private boolean lastMaxIn = true; private void preferredWidthChanged(int oldWidth, int newWidth) { int maxIndex = getMaxIndex(); if (maxIndex == -1) return; int currPos = getMaxPosition() - offset; if (currPos >= 0 && currPos < width) { // TODO: verify i = maxIndex; lastMaxIn = true; } else { if (lastMaxIn && currPos >= width) { // preferred width increases with new data i = maxIndex; findLastIndexLeft(); } lastMaxIn = false; } } private void zoomChanged(double oldZoom, double newZoom) { int maxIndex = getMaxIndex(); if (maxIndex == -1) return; if (isTrackingEnd() || isFit()) { i = maxIndex; } else { i = findLastIndex(); } } public int compareTo(RowView view) { return Long.compare(data.getFirstTimeStamp(), view.data.getFirstTimeStamp()); } public String toString() { return BUNDLE().getString("COL_Timeline"); // NOI18N } } private static enum Position { LEFT, WITHIN, RIGHT } } ```
The Minamata Convention on Mercury is an international treaty designed to protect human health and the environment from anthropogenic emissions and releases of mercury and mercury compounds. The convention was a result of three years of meeting and negotiating, after which the text of the convention was approved by delegates representing close to 140 countries on 19 January 2013 in Geneva and adopted and signed later that year on 10 October 2013 at a diplomatic conference held in Kumamoto, Japan. The convention is named after the Japanese city Minamata. This naming is of symbolic importance as the city went through a devastating incident of mercury poisoning. It is expected that over the next few decades, this international agreement will enhance the reduction of mercury pollution from the targeted activities responsible for the major release of mercury to the immediate environment. The objective of the Minamata Convention is to protect the human health and the environment from anthropogenic emissions and releases of mercury and mercury compounds. It contains, in support of this objective, provisions that relate to the entire life cycle of mercury, including controls and reductions across a range of products, processes and industries where mercury is used, released or emitted. The treaty also addresses the direct mining of mercury, its export and import, its safe storage and its disposal once as waste. Pinpointing populations at risk, boosting medical care and better training of health-care professionals in identifying and treating mercury-related effects will also result from implementing the convention. The Minamata Convention provides controls over a myriad of products containing mercury, the manufacture, import and export of which will be altogether prohibited by 2020, except where countries have requested an exemption for an initial 5-year period. These products include certain types of batteries, compact fluorescent lamps, relays, soaps and cosmetics, thermometers, and blood pressure devices. Dental fillings which use mercury amalgam are also regulated under the convention, and their use must be phased down through a number of measures. Background on mercury Mercury is a naturally occurring element. It can be released to the environment from natural sources – such as weathering of mercury-containing rocks, forest fires, volcanic eruptions or geothermal activities – but also from human activities. An estimated 5500-8900 tons of mercury is currently emitted and re-emitted each year to the atmosphere, with much of the re-emitted mercury considered to be related to human activity, as are the direct releases. Due to its unique properties, mercury has been used in various products and processes for hundreds of years. Currently, it is mostly utilised in industrial processes that produce chloride (PVC) production, and polyurethane elastomers. It is extensively used to extract gold from ore in artisanal and small-scale gold mining. It is contained in products such as some electrical switches (including thermostats), relays, measuring and control equipment, energy-efficient fluorescent light bulbs, some types of batteries and dental amalgam. It is also used in laboratories, cosmetics, pharmaceuticals, including in vaccines as a preservative, paints, and jewelry. Mercury is also released unintentionally from some industrial processes, such as coal-fired power and heat generation, cement production, mining and other metallurgic activities such as non-ferrous metals production, as well as from incineration of many types of waste. The single largest source of human-made mercury emissions is the artisanal and small-scale gold mining sector, which is responsible for the release of as much as 1,000 tonnes of mercury to the atmosphere every year. History of the negotiations Mercury and mercury compounds have long been known to be toxic to human health and the environment. Large-scale public health crises due to mercury poisoning, such as Minamata disease and Niigata Minamata disease, drew attention to the issue. In 1972, delegates to the Stockholm Conference on the Human Environment witnessed Japanese junior high school student Shinobu Sakamoto, disabled as the result of methylmercury poisoning in utero. The United Nations Environment Programme (UN Environment, previously UNEP) was established shortly thereafter. UN Environment has been actively engaged in bringing the science of mercury poisoning to policy implementation. In 2001, the executive director of UN Environment was invited by its governing council to undertake a global assessment of mercury and its compounds, including the chemistry and health effects, sources, long-range transport, as well as prevention and control technologies relating to mercury. In 2003, the governing council considered this assessment and found that there was sufficient evidence of significant global adverse impacts from mercury and its compounds to warrant further international action to reduce the risks to human health and the environment from their release to the environment. Governments were urged to adopt goals for the reduction of mercury emissions and releases and UN Environment initiated technical assistance and capacity-building activities to meet these goals. A mercury programme to address the concerns posed by mercury was established and further strengthened by governments in 2005 and 2007 with the UNEP Global Mercury Partnership. In 2007, the governing council concluded that the options of enhanced voluntary measures and new or existing international legal instruments should be reviewed and assessed in order to make progress in addressing the mercury issue. In February 2009, the governing council of UNEP decided to develop a global legally binding instrument on mercury. An intergovernmental negotiating committee (INC) was promptly established, through which countries negotiated and developed the text of the convention. Other stakeholders, including intergovernmental and non-governmental organizations also participated in the process and contributed through sharing of views, experience and technical expertise. The Intergovernmental Negotiating Committee was chaired by Fernando Lugris of Uruguay and supported by the Chemicals and Health Branch of UN Environment's Economy Division. The INC held five sessions to discuss and negotiate a global agreement on mercury: INC 1, 7 to 11 June 2010, in Stockholm, Sweden INC 2, 24 to 28 January 2011, in Chiba, Japan INC 3, 31 October to 4 November 2011, in Nairobi, Kenya INC 4, 27 June to 2 July 2012, in Punta del Este, Uruguay INC 5, 13 to 18 January 2013, in Geneva, Switzerland On 19 January 2013, after negotiating late into the night, the negotiations concluded with close to 140 governments agreeing to the draft convention text. The convention was adopted and opened for signature for one year on 10 October 2013, at a conference of plenipotentiaries (diplomatic conference) in Kumamoto, Japan, preceded by a preparatory meeting from 7–8 October 2013. The European Union and 86 countries signed the convention on the first day it was opened for signature. A further 5 countries signed the convention on the final day of the diplomatic conference, 11 October 2013. In total, the convention has 128 signatories. Fernando Lugris, the Uruguayan chair delegate, proclaimed, "Today in the early hours of 19 January 2013 we have closed a chapter on a journey that has taken four years of often intense but ultimately successful negotiations and opened a new chapter towards a sustainable future. This has been done in the name of vulnerable populations everywhere and represents an opportunity for a healthier and more sustainable century for all peoples." Further to the adoption of the convention, the intergovernmental negotiating committee was mandated to meet during the interim period preceding the opening of the first meeting of the Conference of the Parties to the convention to facilitate its rapid entry into force and effective implementation upon entry into force. Two sessions of the INC were held: INC 6, 3 to 7 November 2014, in Bangkok, Thailand INC 7, 10 to 15 March 2016, in Dead Sea, Jordan Discussions covered a number of technical, financial as well as administrative and operational aspects. The convention required to enter into force the deposit of fifty instruments of ratification, acceptance, approval or accession by states or regional economic integration organizations. This fifty-ratification milestone was reached on 18 May 2017, hence the convention entered into force on 16 August 2017. The first meeting of Conference of the Parties to the Minamata Convention on Mercury (COP1) took place from 24 to 29 September 2017 at the International Conference Center in Geneva. The second meeting of the Conference of the Parties (COP2) took place from 19 to 23 November 2018 at the International Conference Center in Geneva, Switzerland. The third meeting of the Conference of the Parties (COP3) took place from 25 to 29 November 2019 at the International Conference Center in Geneva, Switzerland. At its third meeting, the Conference of the Parties agreed on a number of action items to effectively implement the Minamata Convention. After the convention entered into force, the Conference of the Parties took place yearly for the first three years. From now onward, next Conference of the Parties (COPs) will be convened in every two years. The fourth meeting of the Conference of the Parties (https://www.mercuryconvention.org/en/meetings/cop4) (COP4) will take place in Nusa Dua, Bali, Indonesia from 21 to 25 March 2022. List of signatories and parties As of September 2023, there are 128 signatories to the treaty and 147 parties. Provisions The convention has 35 articles, 5 annexes and a preamble. The preamble of the convention states that the parties have recognized that mercury is, "a chemical of global concern owing to its long-range atmospheric transport, its persistence in the environment once anthropogenically introduced, its ability to bioaccumulate in ecosystems and its significant negative effects on human health and the environment." Article 1 States the objective of the convention, which is "to protect the human health and the environment from anthropogenic emissions and releases of mercury and mercury compounds". Article 2 Sets out definitions used in more than one Article of the convention, including: "Artisanal and small-scale gold mining" which refers to gold mining conducted by individual miners or small enterprises with limited capital investment and production; "Best available techniques"; "Best environmental practices" means using the most appropriate combination of environmental control measures and strategies; "Mercury" specifically refers to elemental mercury (Hg), CAS No. 7439-97-6; "Mercury compound"; "Mercury-added product" refers to a product or product component that contains mercury or a mercury compound that was intentionally added; "Party" and "Parties present and voting"; "Primary mercury mining"; "Regional economic integration organization"; "Use allowed". Article 3 Addresses the question of mercury supply sources and trade. The provisions of this Article do not apply to mercury compounds used for laboratory research, naturally occurring trace quantities of mercury or mercury compounds present, mercury-added products. It prohibits parties to allow mercury mining that was not being conducted prior to the date of entry into force of the convention for them, and it only allows mercury mining that was conducted at the date of entry into force for up to fifteen years after that date. It encourages countries to identify individual stocks of mercury or mercury compounds exceeding 50 metric tons as well as sources of mercury supply generating stocks exceeding 10 metric tons per year. If excess mercury from the decommissioning of chlor alkali facilities is available, such mercury is disposed of in accordance with the guidelines for environmentally sound management using operations that do not lead to recovery, recycling, reclamation, direct re-use or alternative uses. Parties are not allowed to export mercury without the written consent of the importing Party and only for either environmentally sound interim storage or a use allowed. These controls only apply to mercury, not to either mercury compounds or mercury-added products. Article 4 Addresses the question of mercury-added products. The Convention employs two approaches to controlling mercury in products, namely setting a phase-out date for some, and specifying measures to be taken in allowing continued use for others. Article 5 Deals with manufacturing processes in which mercury or mercury compounds are used. Sets out measures either to phase out or to restrict such existing processes. It also does not allow the development of new facilities that would use manufacturing processes listed in Annex B and discourages the development of new manufacturing processes in which mercury or mercury compounds are intentionally used. Article 6 Relates to exemptions available to a Party upon request. A State or regional economic integration organization can register for one or more exemptions from the phase out dates listed in Parts I of Annexes A and B. They do so on becoming a Party, or in the case of a product or process that is added by amendment to the list, no later than the date upon which that amendment enters into force for it. Exemptions can be registered for a listed category or an identified sub-category. The registration is made by notifying the Secretariat in writing, and must be accompanied by a statement explaining the Party's need for the exemption. Article 7 Deals with the question of artisanal and small-scale gold mining and processing in which mercury amalgamation is used to extract gold from ore. Each Party that has small-scale gold mining and processing within its territory has the general obligation to take steps to reduce the use of mercury and mercury compounds in such mining and processing needs to reduce, and where feasible eliminate, the use of mercury and mercury compounds in mining and processing, as well as the emissions and releases to the environment of mercury from such activities. Additional obligations, including the development and implementation of a national action plan, are laid out for a Party that determines that artisanal and small-scale gold mining and processing in its territory is more than insignificant. Article 8 Concerns emissions of mercury and mercury compounds. It aims at controlling and, where feasible, reducing emissions of mercury and mercury compounds to the atmosphere, through measures to control emissions from the point sources listed in Annex D. The Article differentiates between measures required for new sources and those required for existing sources. Releases to land and water are not addressed in Article 8 – they are addressed in Article 9 of the convention. Article 9 Addresses the releases of mercury and mercury compounds to land and water Aims at controlling and where feasible reducing releases of mercury and mercury compounds from significant anthropogenic point sources that are not addressed in other provisions of the convention. Each state should within three years after of date of entry into force of the Convention identify the relevant point source categories of releases of mercury into land and water. Article 10 Applies to the environmentally sound interim storage of mercury other than waste mercury. Parties are requested to take measures to ensure that mercury and mercury compounds that are intended for a use allowed under the convention are stored in an environmentally sound manner, taking into account any guidelines and in accordance with any requirements that the Conference of Parties adopts. Article 11 Deals with mercury wastes, including their definition, their management in an environmentally sound manner and transportation across international boundaries. Article 12 Deals with contaminated sites. Each state needs to endeavour to develop appropriate strategies for identifying and assessing sites contaminated by mercury or mercury compounds. When taking action to reduce the risks posed by sites contaminated by mercury or mercury compounds, each Party is required to ensure that actions are performed in an environmentally sound manner, and actions incorporate, where appropriate, an assessment of the risks to human health and the environment from mercury or mercury compounds contained in these sites. Article 13 Relates to the question of financial resources and mechanism. Establishes a mechanism for the provision of adequate, predictable and timely financial resources, comprising the Global Environment Facility Trust Fund and a specific international programme to support capacity building and technical assistance. Article 14 Addresses the issues of capacity-building, technical assistance and technology transfer. Calls for cooperation between Parties to provide timely and appropriate capacity-building and technical assistance to developing country Parties, including through regional, sub regional and national arrangements. Article 15 Establishes an Implementation and Compliance Committee to promote implementation of, and compliance with, all provisions of this convention. The Committee comprises 15 members nominated by Parties and elected by the Conference of the Parties. Issues can be taken up by the committee on self-referral by a Party, on the basis of information submitted under the reporting provisions, or upon request from the Conference of the Parties. Article 16 Relates to health aspects. It encourages Parties to promote the development and implementation of strategies and programmes to identify and protect populations at risk It encourages Parties to adopt and implement science based educational and preventive programmes on occupational exposure to mercury and mercury compounds. It encourages Parties to promote appropriate health-care services for prevention, treatment and care for populations affected by the exposure to mercury or mercury compounds. Finally it encourages Parties to establish and strengthen institutional and health professional capacities. Article 17 Deals with information exchange. Each party shall facilitate the exchange of information. Article 18 Stresses the importance of public information, awareness and education. Article 19 Relates to research, development and monitoring. Article 20 Deals with the possibility for parties to develop an implementation plan. Article 21 Parties shall report to the Conference of the Parties, through the secretariat on the measures taken to implement the provisions of the convention and the effectiveness of those measures as well as the possible challenges in meeting the objectives of the convention. Parties shall include in their reporting the information called for in the different articles of the convention. Article 22 Deals with effectiveness evaluation. The Conference of the Parties needs to evaluate the effectiveness of the Convention no later than six years after the date of entry into force and periodically thereafter. Article 23 Establishes the Conference of the Parties. Article 24 Establishes the Secretariat, which is to be provided by the United Nations Environment Programme. Article 25 Deals with the settlement of disputes between Parties. Article 26 Sets the rules for the amendments to the convention. Amendments to the Convention may be proposed by any Party, and they must be adopted at a meeting of the Conference of the Parties. Ratification (acceptance or approval) of an amendment shall be notified to the Depositary in writing. Article 27 Sets the rules for adoption and amendment of annexes. Article 28 Establishes the rules for the right to vote: one party, one vote, except in the case of a regional economic integration organization, which, on matters within its competence, shall exercise its right to vote with a number of votes equal to the number of its members States that are Parties to the convention. Such an organization shall not exercise its right to vote if any of its member States exercises its right to vote and vice versa. Article 29 Relates to the signature of the convention, which was open for one year until 9 October 2014. Article 30 Deals with the ratification, acceptance, approval of the convention or accession thereto. Article 31 Deals with the convention's entry into the force, which will take place on the ninetieth day after the date of deposit of the fiftieth instrument of ratification, acceptance, approval or accession. Article 32 States that no reservations may be made to the convention. Article 33 Gives the right to Parties to withdraw from the Convention at any time after three years from the date on which the convention has entered into force for them, through written notification to the Depositary. Any such withdrawal shall take effect one year after the receipt of the notification by the depositary or any later specified date. Article 34 Names The Secretary-General of the United Nations as the depositary of the convention. Article 35 States that the Arabic, Chinese, English, French, Russian and Spanish texts of the convention are equally authentic. Minamata Convention on Mercury COPs COP-1 (Geneva, Switzerland), 24 - 29 September 2017 COP-2 (Geneva, Switzerland), 19 - 23 November 2018 COP-3 (Geneva, Switzerland), 25 - 29 November 2019 COP-4 (online; Bali, Indonesia), 01 - 05 November 2021 (first segment), 21 - 25 March 2022 (second segment) COP-5 (Geneva, Switzerland), 30 October - 03 November 2023 See also Environmental law Environmental protocol International law List of international environmental agreements Mercury cycle References External links Official website of the Minamata Convention on Mercury Minamata disease Environmental treaties Mercury control Treaties concluded in 2013 2013 in Switzerland 2013 in Japan Health treaties Treaties of Antigua and Barbuda Treaties of Argentina Treaties of Bangladesh Treaties of Belize Treaties of Bolivia Treaties of Botswana Treaties of Chad Treaties of Chile Treaties of the People's Republic of China Treaties of Djibouti Treaties of Ecuador Treaties of Gabon Treaties of Guinea Treaties of Guinea-Bissau Treaties of Guyana Treaties of Japan Treaties of Jordan Treaties of Kuwait Treaties of Madagascar Treaties of Mali Treaties of Mauritania Treaties of Mexico Treaties of Monaco Treaties of Mongolia Treaties of Panama Treaties of Peru Treaties of Portugal Treaties of Samoa Treaties of São Tomé and Príncipe Treaties of Senegal Treaties of Seychelles Treaties of Sierra Leone Treaties of Eswatini Treaties of Switzerland Treaties of Tonga Treaties of Turkey Treaties of the United Arab Emirates Treaties of the United States Treaties of Uruguay Treaties of Vanuatu Treaties of Venezuela Treaties of Zambia Treaties extended to Hong Kong Treaties extended to Macau
```yaml apiVersion: apps/v1 kind: Deployment metadata: name: pubsub spec: selector: matchLabels: app: pubsub template: metadata: labels: app: pubsub spec: volumes: - name: google-cloud-key secret: secretName: pubsub-key containers: - name: subscriber image: gcr.io/google-samples/pubsub-sample:v1 volumeMounts: - name: google-cloud-key mountPath: /var/secrets/google env: - name: GOOGLE_APPLICATION_CREDENTIALS value: /var/secrets/google/key.json - name: INSIGHTS valueFrom: configMapKeyRef: name: sample3 key: meme ```
```c++ // // // path_to_url // // Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #include "paddle/fluid/pybind/bind_cost_model.h" #include <pybind11/stl.h> #include "paddle/fluid/framework/ir/cost_model.h" #include "paddle/fluid/framework/program_desc.h" namespace py = pybind11; using paddle::framework::CostData; using paddle::framework::CostModel; using paddle::framework::ProgramDesc; namespace paddle { namespace pybind { void BindCostModel(py::module* m) { py::class_<CostData>(*m, "CostData") .def(py::init<>()) .def("get_whole_time_ms", &CostData::GetWholeTimeMs) .def("get_op_time_ms", &CostData::GetOpTimeMs); py::class_<CostModel>(*m, "CostModel") .def(py::init<>()) .def("profile_measure", [](CostModel& self, py::object py_main_program, py::object py_startup_program, const std::string& device, const std::vector<std::string>& fetch_cost_list) { py::object py_main_program_desc = py_main_program.attr("desc"); ProgramDesc* main_program_desc = py_main_program_desc.cast<ProgramDesc*>(); py::object py_startup_program_desc = py_startup_program.attr("desc"); ProgramDesc* startup_program_desc = py_startup_program_desc.cast<ProgramDesc*>(); return self.ProfileMeasure(*main_program_desc, *startup_program_desc, device, fetch_cost_list); }); } } // namespace pybind } // namespace paddle ```
The Duel: Pakistan on the Flight Path of American Power is a 2008 book by British-Pakistani writer, journalist, political activist and historian Tariq Ali. Synopsis Ali examines Pakistan–United States relations, and is critical of Pakistani subservience to imperialistic American foreign policy and military ambitions. He examines US aid to Pakistan, and the hostile approach of American politicians to Pakistan. He also discusses the failure and corruption of President Pervez Musharraf and the situation in Waziristan and Khyber Pakhtunkhwa. Reception In The Independent Salil Tripathi wrote "In The Duel, Ali provides a gossip-filled, witty and polemical history, revealing, with perspicacity and verve, the flight into the abyss" and "Ali recounts, with anguish and anger, how the generals who ruled Pakistan for 34 of its 60 years boosted defence budgets, starving development of resources". In a Peace News review, Milan Rai described the book as "a highly timely, well-informed, readable, sometimes-not-very-chronological study of Pakistan’s political evolution". References 2008 non-fiction books Books about foreign relations of the United States Books about imperialism Books about Pakistan Books about politics of Pakistan Books by Tariq Ali English-language books War on Terror books Pakistan–United States relations
```javascript module.exports = { roots: ['test'] } ```
The Cenotaph is a war memorial located within the Esplanade Park at Connaught Drive, within the Central Area in Singapore's central business district. History The inscription at the base of the Cenotaph reads: They died that we might live. The Cenotaph was built in memory of the 124 British soldiers born or resident in Singapore who gave their lives in World War I (1914–1918), with a second dedication (but no names) added in remembrance of those who died in World War II (1939–1945). The structure was designed by Denis Santry of Swan & Maclaren. The foundation stone was laid by Sir Lawrence Nunns Guillemard, the Governor of the Straits Settlements, on 15 November 1920. In attendance was the visiting French Premier, Georges Clemenceau who was the French Minister of War from 1917 to 1919. The memorial was completed in 1922, and was unveiled on 31 March that year by the young Prince Edward of Wales, later King Edward VIII then Duke of Windsor, during his Asia-Pacific tour. During the unveiling ceremony, a chaplain blessed the Cenotaph with the words, "The stone is well laid and truly laid to the Glory of God and the memory of the illustrious dead." Against the backdrop of the sea then fronting Queen Elizabeth Walk, Governor Guillemard awarded medals of courage to those who had served in the war. In Prince Edward's entourage was Louis Mountbatten. At the end of World War II, Mountbatten returned to Singapore as the Supreme Commander of the South East Asia Command to receive the surrender of the Japanese at City Hall on 12 September 1945. National Monument On 28 December 2010, The Cenotaph was gazetted by Preservation of Monuments Board as a National Monument along with Lim Bo Seng Memorial and Tan Kim Seng Fountain at the Esplanade Park and the Singapore Conference Hall along Shenton Way. Vandalism incident On 23 April 2013, the Cenotaph was vandalised by someone who sprayed the word "DEMOCRACY" on the monument as well as an "X" which crossed out the text "1914 to 1918". Six days later, Mohamad Khalid Mohamad Yusop was arrested and charged with one count of vandalism under the Vandalism Act. On 26 August 2013, a district court ordered Khalid to pay S$208 for the cost of repairs in addition to sentencing him to three months' jail and three strokes of the cane. See also Cenotaph History of Singapore Battle of Singapore Civilian War Memorial Kranji War Memorial Lim Bo Seng Memorial Former Indian National Army Monument References National Heritage Board (2002), Singapore's 100 Historic Places, Archipelago Press, External links National Heritage Board Roll of Honour - Singapore Cenotaph National monuments of Singapore Downtown Core (Singapore) Buildings and structures completed in 1922 Landmarks in Singapore Monuments and memorials in Singapore Singapore World War I memorials World War II memorials 20th-century architecture in Singapore
```c++ /*============================================================================= Use, modification and distribution is subject to the Boost Software path_to_url =============================================================================*/ #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp> #include <algorithm> #include <boost/heap/skew_heap.hpp> #include "common_heap_tests.hpp" #include "stable_heap_tests.hpp" #include "mutable_heap_tests.hpp" #include "merge_heap_tests.hpp" template <bool stable, bool constant_time_size, bool store_parent_pointer> void run_skew_heap_test(void) { typedef boost::heap::skew_heap<int, boost::heap::stable<stable>, boost::heap::compare<std::less<int> >, boost::heap::allocator<std::allocator<int> >, boost::heap::constant_time_size<constant_time_size>, boost::heap::store_parent_pointer<store_parent_pointer> > pri_queue; BOOST_CONCEPT_ASSERT((boost::heap::PriorityQueue<pri_queue>)); BOOST_CONCEPT_ASSERT((boost::heap::MergablePriorityQueue<pri_queue>)); run_common_heap_tests<pri_queue>(); run_iterator_heap_tests<pri_queue>(); run_copyable_heap_tests<pri_queue>(); run_moveable_heap_tests<pri_queue>(); run_merge_tests<pri_queue>(); pri_queue_test_ordered_iterators<pri_queue>(); if (stable) { typedef boost::heap::skew_heap<q_tester, boost::heap::stable<stable>, boost::heap::constant_time_size<constant_time_size>, boost::heap::store_parent_pointer<store_parent_pointer> > stable_pri_queue; run_stable_heap_tests<stable_pri_queue>(); } } template <bool stable, bool constant_time_size> void run_skew_heap_mutable_test(void) { typedef boost::heap::skew_heap<int, boost::heap::stable<stable>, boost::heap::mutable_<true>, boost::heap::compare<std::less<int> >, boost::heap::allocator<std::allocator<int> >, boost::heap::constant_time_size<constant_time_size> > pri_queue; BOOST_CONCEPT_ASSERT((boost::heap::MutablePriorityQueue<pri_queue>)); BOOST_CONCEPT_ASSERT((boost::heap::MergablePriorityQueue<pri_queue>)); run_common_heap_tests<pri_queue>(); run_iterator_heap_tests<pri_queue>(); run_copyable_heap_tests<pri_queue>(); run_moveable_heap_tests<pri_queue>(); run_merge_tests<pri_queue>(); run_mutable_heap_tests<pri_queue >(); run_ordered_iterator_tests<pri_queue>(); if (stable) { typedef boost::heap::skew_heap<q_tester, boost::heap::stable<stable>, boost::heap::mutable_<true>, boost::heap::constant_time_size<constant_time_size> > stable_pri_queue; run_stable_heap_tests<stable_pri_queue>(); } } BOOST_AUTO_TEST_CASE( skew_heap_test ) { run_skew_heap_test<false, false, true>(); run_skew_heap_test<false, true, true>(); run_skew_heap_test<true, false, true>(); run_skew_heap_test<true, true, true>(); run_skew_heap_test<false, false, false>(); run_skew_heap_test<false, true, false>(); run_skew_heap_test<true, false, false>(); run_skew_heap_test<true, true, false>(); RUN_EMPLACE_TEST(skew_heap); } BOOST_AUTO_TEST_CASE( skew_heap_mutable_test ) { run_skew_heap_mutable_test<false, false>(); run_skew_heap_mutable_test<false, true>(); run_skew_heap_mutable_test<true, false>(); run_skew_heap_mutable_test<true, true>(); } BOOST_AUTO_TEST_CASE( skew_heap_compare_lookup_test ) { typedef boost::heap::skew_heap<int, boost::heap::compare<less_with_T>, boost::heap::allocator<std::allocator<int> > > pri_queue; run_common_heap_tests<pri_queue>(); } BOOST_AUTO_TEST_CASE( skew_heap_leak_test ) { typedef boost::heap::skew_heap<boost::shared_ptr<int> > pri_queue; run_leak_check_test<pri_queue>(); } ```
Bigi may refer to: Surname Emilio Bigi (1910–1969), Paraguayan singer Federica Bigi, Sammarinese diplomat and politician Ikaros Bigi (born 1947), German theoretical physicist Luca Bigi (born 1991), Italian rugby union player Other uses Bigi Jackson (born 2002), son of Michael Jackson, formerly known as "Blanket" Palleschi, also known as bigi, partisans of the Medici family in Florence Bigi, a village in Nigeria - see List of villages in Bauchi State Bigi, a deconsecrated church in Grosseto, Tuscany, Italy See also Bigi Bigi, original Aboriginal name of Abbotsford, New South Wales, Australia
```html </div> <div class='container'> <hr> <footer class="footer"> <b> [[$APP_NAME]]: [[version]]{{IF [[build]]}}+[[build]]{{ENDIF}} [[gitcommit]] - <a href='about.php'>About</a> - <a href='help.php'>Help</a> {{IF strlen([[config.getVal([[$DConfig::CONTACT_EMAIL]])]]) > 0}} - <a href="mailto:[[config.getVal([[$DConfig::CONTACT_EMAIL]])]]">Contact Admin</a> {{ENDIF}} </b> <p> &copy;2016-[[date("Y")]] s3in!c - <a href='path_to_url target='_blank' rel="noopener">[[$APP_NAME]]</a> </p> </footer> <script src="static/hashtopolis.js"></script> <script src="static/all.js"></script> </div> </body> </html> ```
```smalltalk using System; using System.Threading.Tasks; namespace XIVLauncher.Common.PlatformAbstractions; public interface ISteam { void Initialize(uint appId); bool IsValid { get; } bool BLoggedOn { get; } bool BOverlayNeedsPresent { get; } void Shutdown(); Task<byte[]?> GetAuthSessionTicketAsync(); bool IsAppInstalled(uint appId); string GetAppInstallDir(uint appId); bool ShowGamepadTextInput(bool password, bool multiline, string description, int maxChars, string existingText = ""); string GetEnteredGamepadText(); bool ShowFloatingGamepadTextInput(EFloatingGamepadTextInputMode mode, int x, int y, int width, int height); bool IsRunningOnSteamDeck(); uint GetServerRealTime(); public void ActivateGameOverlayToWebPage(string url, bool modal = false); enum EFloatingGamepadTextInputMode { EnterDismisses, UserDismisses, Email, Numeric, } event Action<bool> OnGamepadTextInputDismissed; } ```
Beautiful Animals is a 2017 psychological thriller novel by British writer Lawrence Osborne. Set on the Greek island of Hydra, it was featured in July 2017 on the cover of the "New York Times Book Review" and reviewed by Katie Kitamura. It also received rave reviews from Lionel Shriver in the Washington Post and from John Powers at NPR's Fresh Air. On a hike during a white-hot summer break on the Greek island of Hydra, Naomi and Samantha make a startling discovery: a man named Faoud, sleeping heavily, exposed to the elements, but still alive. Naomi, the daughter of a wealthy British art collector who has owned a villa in the exclusive hills for decades, convinces Sam, a younger American girl on vacation with her family, to help this stranger. As the two women learn more about the man, a migrant from Syria and a casualty of the crisis raging across the Aegean Sea, their own burgeoning friendship intensifies. But when their seemingly simple plan to help Faoud unravels all must face the horrific consequences they have set in motion. In this brilliant psychological study of manipulation and greed, Lawrence Osborne explores the dark heart of friendship, and shows just how often the road to hell is paved with the best of intentions. As announced by The Hollywood Reporter, a film adaptation is currently underway with Amazon Studios and American producer John Lesher References British thriller novels Novels by Laurence Osborne
```jsx <Picker style={{ width: 100, }} selectedValue={(this.state && this.state.pickerValue) || 'a'} onValueChange={(value) => { this.setState({value}) }}> <Picker.Item label={'Hello'} value={'a'} /> <Picker.Item label={'World'} value={'b'} /> </Picker> ```
```scala /* * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package org.apache.carbondata.examples import java.io.{File, PrintWriter} import java.net.ServerSocket import org.apache.spark.rdd.RDD import org.apache.spark.sql.CarbonEnv import org.apache.spark.sql.CarbonSparkStreamingFactory import org.apache.spark.sql.SaveMode import org.apache.spark.sql.SparkSession import org.apache.spark.streaming.{Seconds, StreamingContext, Time} import org.apache.carbondata.core.util.path.CarbonTablePath import org.apache.carbondata.examples.util.ExampleUtils import org.apache.carbondata.streaming.CarbonSparkStreamingListener /** * This example introduces how to use Spark Streaming to write data * to CarbonData stream table. * * NOTE: Current integration with Spark Streaming is an alpha feature. */ // scalastyle:off println object SparkStreamingExample { def main(args: Array[String]): Unit = { // setup paths val rootPath = new File(this.getClass.getResource("/").getPath + "../../../..").getCanonicalPath val checkpointPath = s"$rootPath/examples/spark/target/spark_streaming_cp_" + System.currentTimeMillis().toString() val streamTableName = s"dstream_stream_table" val spark = ExampleUtils.createSparkSession("SparkStreamingExample", 4) val requireCreateTable = true if (requireCreateTable) { // drop table if exists previously spark.sql(s"DROP TABLE IF EXISTS ${ streamTableName }") // Create target carbon table and populate with initial data spark.sql( s""" | CREATE TABLE ${ streamTableName }( | id INT, | name STRING, | city STRING, | salary FLOAT | ) | STORED AS carbondata | TBLPROPERTIES( | 'streaming'='true', | 'sort_columns'='name') | """.stripMargin) val carbonTable = CarbonEnv.getCarbonTable(Some("default"), streamTableName)(spark) // batch load val path = s"$rootPath/examples/spark/src/main/resources/streamSample.csv" spark.sql( s""" | LOAD DATA LOCAL INPATH '$path' | INTO TABLE $streamTableName | OPTIONS('HEADER'='true') """.stripMargin) // streaming ingest val serverSocket = new ServerSocket(7071) val thread1 = writeSocket(serverSocket) val thread2 = showTableCount(spark, streamTableName) val ssc = startStreaming(spark, streamTableName, checkpointPath) // add a Spark Streaming Listener to remove all lock for stream tables when stop app ssc.sparkContext.addSparkListener(new CarbonSparkStreamingListener()) // wait for stop signal to stop Spark Streaming App waitForStopSignal(ssc) // it need to start Spark Streaming App in main thread // otherwise it will encounter an not-serializable exception. ssc.start() ssc.awaitTermination() thread1.interrupt() thread2.interrupt() serverSocket.close() } spark.sql(s"select count(*) from ${ streamTableName }").show(100, truncate = false) spark.sql(s"select * from ${ streamTableName } order by id desc").show(100, truncate = false) // record(id = 100000001) comes from batch segment_0 // record(id = 1) comes from stream segment_1 spark.sql(s"select * " + s"from ${ streamTableName } " + s"where id = 100000001 or id = 1 limit 100").show(100, truncate = false) // not filter spark.sql(s"select * " + s"from ${ streamTableName } " + s"where id < 10 limit 100").show(100, truncate = false) // show segments spark.sql(s"SHOW SEGMENTS FOR TABLE ${streamTableName}").show(false) spark.stop() System.out.println("streaming finished") } def showTableCount(spark: SparkSession, tableName: String): Thread = { val thread = new Thread() { override def run(): Unit = { for (_ <- 0 to 1000) { println(System.currentTimeMillis()) spark.sql(s"select count(*) from $tableName").show(truncate = false) spark.sql(s"SHOW SEGMENTS FOR TABLE ${tableName}").show(false) Thread.sleep(1000 * 5) } } } thread.start() thread } def waitForStopSignal(ssc: StreamingContext): Thread = { val thread = new Thread() { override def run(): Unit = { // use command 'nc 127.0.0.1 7072' to stop Spark Streaming App new ServerSocket(7072).accept() // don't stop SparkContext here ssc.stop(false, true) } } thread.start() thread } def startStreaming(spark: SparkSession, tableName: String, checkpointPath: String): StreamingContext = { var ssc: StreamingContext = null try { // recommend: the batch interval must set larger, such as 30s, 1min. ssc = new StreamingContext(spark.sparkContext, Seconds(30)) ssc.checkpoint(checkpointPath) val readSocketDF = ssc.socketTextStream("localhost", 7071) val batchData = readSocketDF .map(_.split(",")) .map(fields => DStreamData(fields(0).toInt, fields(1), fields(2), fields(3).toFloat)) println("init carbon table info") batchData.foreachRDD { (rdd: RDD[DStreamData], time: Time) => { val df = spark.createDataFrame(rdd).toDF() println(System.currentTimeMillis().toString() + " at batch time: " + time.toString() + " the count of received data: " + df.count()) CarbonSparkStreamingFactory.getStreamSparkStreamingWriter(spark, "default", tableName) .mode(SaveMode.Append) .writeStreamData(df, time) }} } catch { case ex: Exception => ex.printStackTrace() println("Done reading and writing streaming data") } ssc } def writeSocket(serverSocket: ServerSocket): Thread = { val thread = new Thread() { override def run(): Unit = { // wait for client to connection request and accept val clientSocket = serverSocket.accept() val socketWriter = new PrintWriter(clientSocket.getOutputStream()) var index = 0 for (_ <- 1 to 1000) { // write 5 records per iteration for (_ <- 0 to 100) { index = index + 1 socketWriter.println(index.toString + ",name_" + index + ",city_" + index + "," + (index * 10000.00).toString + ",school_" + index + ":school_" + index + index + "$" + index) } socketWriter.flush() Thread.sleep(2000) } socketWriter.close() System.out.println("Socket closed") } } thread.start() thread } } // scalastyle:on println ```
Anke Huber defeated Mary Pierce in the final, 6–0, 6–7(4–7), 7–5 to win the singles tennis title at the 1994 Virginia Slims of Philadelphia. Conchita Martínez was the defending champion, but lost in the first round to Nathalie Tauziat. Seeds Draw Finals Top half Bottom half References External links Official results archive (ITF) Official results archive (WTA) Advanta Championships of Philadelphia 1994 WTA Tour
```yaml comment: "Post Processing Script that will resolve the relevant Threat in the Gem platform." commonfields: id: ResolveGemAlert version: -1 dockerimage: demisto/python3:3.10.13.89873 enabled: true name: ResolveGemAlert runas: DBotWeakRole script: "" scripttarget: 0 subtype: python3 tags: - post-processing - field-change-triggered type: python fromversion: 6.12.0 tests: - No tests (auto formatted) ```
```xml <vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:tint="?attr/colorControlNormal" android:viewportWidth="960" android:viewportHeight="960"> <path android:fillColor="@android:color/white" android:pathData="M200,760L257,760L648,369L591,312L200,703L200,760ZM120,840L120,670L648,143Q660,132 674.5,126Q689,120 705,120Q721,120 736,126Q751,132 762,144L817,200Q829,211 834.5,226Q840,241 840,256Q840,272 834.5,286.5Q829,301 817,313L290,840L120,840ZM760,256L760,256L704,200L704,200L760,256ZM619,341L591,312L591,312L648,369L648,369L619,341Z" /> </vector> ```
The COVID-19 pandemic in Mexico is part of the ongoing worldwide pandemic of coronavirus disease 2019 () caused by severe acute respiratory syndrome coronavirus 2 (). The virus was confirmed to have reached Mexico in February 2020. However, the National Council of Science and Technology (CONACYT) reported two cases of COVID-19 in mid-January 2020 in the states of Nayarit and Tabasco, with one case per state. The Secretariat of Health, through the "Programa Centinela" (Spanish for "Sentinel Program"), estimated in mid-July 2020 that there were more than 2,875,734 cases in Mexico because they were considering the total number of cases confirmed as just a statistical sample. Background On January 12, 2020, the World Health Organization (WHO) confirmed that a novel coronavirus was the cause of a respiratory illness in a cluster of people in Wuhan City, Hubei Province, China, which was reported to the World Health Organization (WHO) on December 31, 2019. The case fatality ratio for COVID-19 has been much lower than SARS of 2003, but the transmission has been significantly greater, with a significant total death toll. Timeline January 2020 On January 22, 2020, the Secretariat of Health issued a statement saying that the novel coronavirus COVID-19 did not present a danger to Mexico. 441 cases had been confirmed in China, Thailand, South Korea, and the United States, and a travel advisory was issued on January 9. On January 30, 2020, before the declaration of a pandemic by the World Health Organization the Government of Mexico designed a Preparation and Response Plan that was made by the National Committee for Health Safety, a working group led by Secretariat of Health composed by different health entities aiming to act upon the imminent arrival of the pandemic. This group carried out a series of alert measures, rehabilitation and updating of epidemiological regulations based on the International Health Regulations, being the first Latam country that deployed a mathematical model of infectious disease. February–March 2020 On February 28, Mexico confirmed its first three cases. A 35-year-old man and a 59-year-old man in Mexico City and a 41-year-old man in the northern state of Sinaloa tested positive and were held in isolation at a hospital and a hotel, respectively. They had travelled to Bergamo, Italy, for a week in mid-February. On February 29, a fourth case was detected and confirmed in the city of Torreón, in the state of Coahuila, from a 20-year-old woman who traveled to Italy. On March 1, a fifth case was announced in Chiapas in a student who had just returned from Italy. On March 6, a sixth case was confirmed in the State of Mexico in a 71-year-old man who had returned from Italy on February 21. On March 7, a seventh case was also confirmed in Mexico City in a 46-year-old male who had previously had contact with another confirmed case in the United States. On March 10, an eighth case was reported in Puebla, a 47-year-old German man who had returned from a business trip to Italy. On the same date, 40 members of a dance company in Puebla, returning from a tour in Italy, were quarantined. The Mexican Stock Exchange fell to a record low on March 10 due to fears of the coronavirus and because of falling oil prices. The Bank of Mexico (Banxico) stepped in to prop up the value of the peso, which fell 14% to 22.929 per US dollar. On March 11, a ninth case was confirmed in the city of Monterrey, Nuevo León. A 57-year-old man, who had recently come back from a trip all across Europe, was placed under quarantine. The man, who has remained anonymous, came back from his trip a week before and had contact with eight other people who have also been placed under quarantine in their houses. The man has been confirmed to reside in the city of San Pedro Garza García. On March 12, Mexico announced it had a total of 15 confirmed cases, with new cases in Puebla and Durango. A day later, senator accused the federal government of hiding the true number of confirmed cases. On March 14, Fernando Petersen, the secretary of health of the state of Jalisco, confirmed the first two cases of COVID-19 were detected in Hospital Civil de Guadalajara. Two new cases were confirmed in Nuevo León, and the Secretariat of Public Education (SEP) announced that all sporting and civic events in schools would be canceled. The same day, the Secretariat of Education announced that Easter break, originally planned from April 6 to 17, would be extended from March 20 to April 20 as a preventive measure. On March 17, 11 new cases were confirmed, raising the national total to 93, with Campeche being the only state with no confirmed cases. Mexico's limited response, including allowing a large concert and the women's soccer championship, as well as a lack of testing, have been criticized. Critics note that president López Obrador does not practice social distancing but continues to greet large crowds, and the borders have not been closed. Of particular concern is the health of thousands of migrants in temporary camps along the border with the United States. The former national commissioner for influenza in Mexico during the 2009 flu pandemic, Alejandro Macías, said the problem is compounded by the fact that Mexico lacks sufficient intensive care unit beds, medical care workers and ventilators. On March 18, 25 more cases were confirmed raising the total to 118 cases and 314 suspected cases. Authorities in Jalisco are concerned about a group of 400 people who recently returned from Vail, Colorado; 40 people have symptoms of COVID-19. On March 22, bars, nightclubs, movie theaters, and museums were closed in Mexico City. Governor Enrique Alfaro Ramírez of Jalisco announced that beginning Thursday, March 26, Jalisco and seven other states in the Bajío and western Mexico will block flights from areas such as California that have a high rate of coronavirus. He also said that they will purchase 25,000 testing kits. On March 26, Ana Lucía de la Garza Barroso, Director of Epidemiological and Operational Research at the Ministry of Health, reported surprisingly few cases, which raised questions of thoroughness. On March 30, the total number of cases of COVID-19 surpassed one thousand with 1,094 confirmed cases and 28 reported deaths in the country. In the evening, a national health emergency was declared by Secretary Marcelo Ebrard; all sectors in the country are urged to stop most of their activities. April–May 2020 On April 10, the total confirmed deaths surpassed two hundred with 233 deaths and 3,844 cases confirmed by Mexican authorities. The government of Baja California closed a plant belonging to the multinational giant Smiths Group after the firm refused to sell ventilators to the Mexican government. On the same day, Mexican consulates in the United States announced the deaths of 181 Mexican nationals due to the COVID-19 pandemic. On April 13, the number of COVID-19 infections in the country passed 5,000; there were 332 deaths. The Mexican Navy announced it would open ten voluntary self-isolation units to shelter 4,000 COVID-19 patients in Mexico City, Guerrero, Jalisco, Michoacan, Sinaloa, Tamaulipas and Veracruz. Sonora became the first state in the country to declare a curfew. The number of coronavirus cases surges past 10,000 to 10,544 with 970 deaths on April 21. The death toll surpassed the 1,000 figure on April 23. Tijuana expects its hospitals to run out of space over the weekend. On May 1, Mexico surpassed 20,000 infections of COVID-19. Mexicanos contra la corrupción (Mexicans against corruption) alleged that Léon Manuel Bartlett, son of Manuel Bartlett the head of the Comisión Federal de Electricidad (CFE), fraudulently tried to sell overpriced ventilators to the Mexican Institute of Social Security (IMSS) in Hidalgo. On May 2, Mexico surpassed 2,000 deaths due to the COVID-19 pandemic. At least forty Mexican and Guatemalan farm workers in Canada contracted coronavirus, that according to the United Food and Commercial Workers. An article published on The New York Times on May 8 assured that both the federal government and the state government of Mexico City ignored the wave of coronavirus deaths in the capital city. The article criticized the way that President Andrés Manuel López Obrador has been handling the pandemic citing the lack of testing done and the fact that the government has been hiding the real number of COVID-19 cases and deaths. It was also mentioned that despite the fact that Undersecretary Hugo López-Gatell has been saying that "We [Mexico] have flattened the curve" and that only 5% of those infected will show symptoms, and only 5% of those patients with symptoms will go to the hospital, experts say that "their model is wrong" and that "there's a very good consensus on that". More than 100 health workers (doctors, nurses, orderlies, etc.) are among the 3,573 dead from the virus on May 12. Between May 9 and May 15, 13,000 new cases were confirmed. The totals were 42,595 cases, 10,057 active cases, and 4,477 deaths on May 15. On May 22, the number of new cases and deaths reported in 24-hours reached a record high of 2,973 and 420 respectively. June–July 2020 On June 2, the number of new cases of infection increased by 4.2% (3,891) compared to the day before. Women made up 57% of the 97,326 confirmed cases in the country at the time. 51.2% of all infections (94,958 cases) occurred in the so-called "new normal" from May 18 to June 23 as the period after the country's general quarantine was lifted and states began to resume their economic and social activities in stages. Deaths also grew by 56% (12,654 cases) in these 22 days of "new normal." On July 1, Mexico became the seventh country with the most COVID-19 deaths surpassing Spain. The same day, Mexico reported 231,770 confirmed cases of COVID-19, with this Mexico became the tenth country with the most infected people with the virus in the world. On July 4, Mexico moved to sixth place in the number of deaths by COVID-19, surpassing France. On July 8, department stores reopened in Mexico City, but customers were limited to only one hour of shopping, they must wear a face mask, and may not use dressing rooms nor try products such as cosmetics or perfumes. On July 11, Mexico surpassed the United Kingdom and became the eighth country with the greatest number of confirmed cases in the world. The same day, the ashes of 245 Mexicans that died of COVID-19 in the United States arrived in Mexico City and were given to their respective family. On the same day's daily press conference of Undersecretary Hugo López-Gatell, the Undersecretary said that the Secretariat of Health was putting on hold the presentation of next week's "traffic light" due to the inconsistencies found on the data that certain states were reporting. Yucatán and Quintana Roo, states that were pointed out by López-Gatell for their inconsistencies and delayed reporting, said that they were fully complying with what they were asked to report. On July 12, Mexico became the country with the fourth greatest number of deaths in the world with 35,006, surpassing Italy. On July 13, 304,435 cases and 35,491 deaths were reported. Undersecretary Hugo López-Gatell, said that there has been a decrease in new cases in the Valley of Mexico as Guanajuato moves into second place with 2,530 active cases. Nuevo León reports an occupancy rate of 82% in hospitals. On July 22, the Assistant Director of the Pan American Health Organization, Jarbas Barbosa, announced that Mexico was the 38th country to send a letter of intent to buy a COVID-19 vaccine when one is available. Secretary Marcelo Ebrard said there was evidence that a vaccine might be available during 2020, and that the goal is an even distribution of 2 billion doses among the other 77 countries. On July 23, President López Obrador confirmed that he had relatives infected by COVID-19 and even that some have died because of the virus. On July 30, Undersecretary Hugo López-Gatell threatened governors who deliberately change the traffic light status of their respective states with criminal sanctions. On that matter, Maricela Lecuona González, lawyer of the Secretariat of Health, said that: Several governors rejected the proposal. The French pharmaceutical company Sanofi-Pasteur announced it will soon begin testing a COVID-19 vaccine in Mexico. On July 31, Mexico moved into third place in the number of fatalities, behind the United States and Brazil, with 46,688 deaths. Mexico occupied sixth place globally in the total number of confirmed cases, with 424,637. August–December 2020 On August 3, Patricia Ruiz Anchondo, the Mexico City Social Prosecutor, announced that over 3,000 complaints had been filed regarding parties in apartment buildings that violated the official COVID-19 sanitary guidelines. Most of them were in the boroughs of Benito Juárez, Cuauhtémoc, and Iztapalapa. On August 4, the Secretariat of Health reported that 4,732 people who spoke an indigenous language have been infected with COVID-19 and, of those infected, 798 have died. Mexico passed the mark of 50,000 deaths on August 6. The United States Department of State classifies travel to Mexico as "high risk." On August 13, the Carlos Slim Foundation announced they were going to finance the effort of Mexico, Argentina, the University of Oxford and AstraZeneca to produce and distribute the production and distribution of the vaccine against COVID-19 that's being developed by the last two. The distribution of the vaccine will begin during the first semester of 2021 and it will be available through Latin America, with the exception of Brazil. The number of confirmed cases passed 500,000. On August 16, José Luis Alomía, director of Epidemiology of the Secretariat of Health, announced that for the third week in a row, the total number of newly confirmed cases in a week saw a decline and, for the first time, the number of recovered cases in a week surpassed the number of newly confirmed cases. On August 18, a group of German virologists arrived to share their knowledge and expertise with the Mexican government. On August 25, Secretary of Foreign Affairs Marcelo Ebrard announced that Mexico would be participating in clinical trials for the development of a COVID-19 vaccine by the Italian Istituto Nazionale di Malattie Infettive "Lazzaro Spallanzani" (National Institute for Infectious Diseases "Lazzaro Spallanzani"). Additionally, he informed that 2,000 Mexicans will be participating in stage 3 trials of the Gam-COVID-Vac vaccine (trade name Sputnik V) that was developed by Russia. Over 25 million cases are reported in 188 countries and territories on August 30. Six million of those cases are in the United States, and 595,841 are in Mexico. On September 3, President AMLO said that the government had a savings exchange of up to MXN $100 billion for vaccines, and he asked the different political parties to donate half of their budgets to help pay for the pandemic. Deputy Mario Delgado (National Regeneration Movement) said that it is an "ethical imperative", he argued that families in Mexico shouldn't be allowed to be in a difficult situation while political parties keep getting more resources. INEGI reported that the July unemployment rate had fallen to 5.4%, for a total workforce of 52.6 million (72.2% men and 39.2% women). 10.8 million workers earn between two and five times the minimum wage, 27.3 million people are engaged in the "informal sector". The greatest increases in employment have been in the commercial sector, while construction, restaurants, transportation, and lodging have fallen behind. The Catholic Church in Mexico reported on September 4 a total of 77 priests, seven permanent deacons, and four other religious people have died of COVID-19. On September 6, Rappi said home blood tests for COVID-19 will be available with a fourteen-hour wait for an appointment and a ten-minite wait for results. A large party in which few guests wore facemasks or practiced social distancing, was held in defiance of health regulations at Viñedos Hacienda De Letras in Aguascalientes. The state had 489 deaths and 7,601 confirmed cases as of September 6. On September 7, researchers at the UNAM reported the development of a saliva-based test that is quicker, easier, and more economical than existing tests. Results of the study have been published in the Journal of Clinical Microbiology. The Consejo Nacional para Prevenir la Discriminación (National Council to Prevent Discrimination, Conapred) reports that it has had 426 COVID-19-related complaints in five months, mostly the obligation to work while at personal risk. On September 8, Foreign Minister Marcelo Ebrard (SRE) reported that 17,393 Mexicans who were stranded in different countries, mostly in Latin American and Europe, have been repatriated. The SRE also announced that 2,325 Mexicans have died of the virus in the United States, six in Canada, three in Spain, and one each in Colombia, France, and Guatemala. On September 9, Coahuila passed 1,500 deaths; 13,367 people have been released from hospitals. Arturo Herrera Gutiérrez (SHCP) reports that 440,000 industrial jobs have returned after closings earlier this year. Reuters reports that Landsteiner Scientific pharmacies will receive 32 million doses of the Russian-made vaccine in November. Switzerland removes Mexico from the list of countries with a high rate of infection. Six former Health Secretaries release a report critical of the government's response to the virus, saying that increased testing and mapping of cases could lead to containing infections in six to eight weeks. Pemex became the company with the most COVID-19 deaths in the world, with 313. The state-owned oil company also reported 8,166 cases, of which 78.3% have recuperated. The numbers do not include retired workers or families of workers, whose 583 cases have resulted in 413 deaths. On September 10, Hugo López-Gatell thanked the former health secretaries for their report on the government's response to the pandemic, but questioned the timing and possible political motives, noting that the report had been produced with input from the Citizens' Movement. He also noted the irony of Dr. José Narro's criticism of a lack of infrastructure. Mexico passed the mark of 70,000 deaths on September 11. On September 12, each of the 951 public hospitals that receives COVID-19 patients was given 1,500 cachitos (one-twetieth of a lottery ticket) for the September 15 raffle of the presidential airplane. Each cachito has a value of MXN $500; if a hospital wins, the MXN $20 million (US $1 million) is to be applied to hospital infrastructure, equipment, or medical supplies. The Party of the Democratic Revolution called for an investigation. On September 15, hospitals in Fresnillo, Durango (ISSSTE); Tepic, Nayarit (IMSS); and Charo, Michoacán (IMSS) each won MXN $20 million in the raffle of the presidential plane. Federal Deputy Miguel Acundo González (Social Encounter Party) died from COVID-19 on September 16. Thirty-one deputies have tested positive for COVID-19, but most have been asystematic or have had mild cases. The SRE announced on September 17 that the partial closure of the border with the United States would extend until October 21. British medical journal The Lancet publishes an article that states the high level of COVID-19 deaths among Mexican health workers is related to poor working conditions. Mexico has reported 1,320 deaths in the sector, compared to 1,077 in the United States, 649 in the United Kingdom, and 634 in Brazil. It was announced on September 24 that the government has spent MXN $59.2 billion on the coronavirus, $35 billion of which was by the federal government and the rest by the states. The greatest expenses were in March as the government bought equipment and supplies and began hiring more personnel. Joel Molina Ramírez, a senator () from Tlaxcala, died on October 24. On November 13 (Week 44) Mexico reported a total of 991,835 cases and 97,056 total deaths, including 626 deaths in 24-hours, which represents a 2% increase since Week 43 but a 46% decrease since Week 28. 39% of the people tested for COVID-19 result positive. More than 3,000 active cases were reported in CDMX, Nuevo León, State of México, and Guanajuato. Mexico City may have to return to a state of maximum alert (traffic light red). Arturo Herrera Gutiérrez, Secretary of Finance and Public Credit (SHCP), says that a vaccine is necessary for an economic recovery, and that Mexico will have financial resources to pay for ten million doses per month. Dr. Hugo López-Gatell says the preliminary results from Pfizer and BioNTech are promising, but warns that Mexico does not have the infrastructure to store the vaccine at the needed -70 °C. Mexico passed 1,000,000 confirmed cases on November 15. A total of over 100,000 COVID-19 deaths was reported on November 19. On November 20, a judge in Chihuahua ruled that Elektra department stores and Banco Azteca, both owned by billionaire Ricardo Salinas Pliego, are not essential industries and must comply with the restrictions put in place by the state Department of Health. A record 10,000 new cases in a single day were recorded on November 24 and 25 after a 5% decrease was reported from Week 45 to Week 46. Mexico City and some states expressed concern about saturation of hospitals. Besides the capital, Guanajuato, Nuevo León, State of México, Querétaro, Coahuila, Durango, Jalisco, and Zacatecas each have more than 1,000 active cases. Chiapas and Campeche continue with green traffic lights. On December 3, AMLO said that the government of the United States helped him secure an agreement from Pfizer to secure 34.4 million doses of its COVID-19 vaccine, including 250,000 doses in December. The Army and Navy will be responsible for distribution. Authorities in Puerto Marqués, Guerrero, broke up a birthday party of 500 people celebrating XV años; no arrests reported. The use of QR codes was begun in Mexico City Metro Line 2 to aid in contact tracing on December 9. It will soon extend to other metro and bus lines. There were a reported 4,235 hospital beds occupied, representing 63% of capacity, in the Valley of Mexico. Although authorities have asked people to stay home as much as possible, it is common to see people on the streets and in shopping areas, often ignoring health precautions such as safe distancing and the use of face coverings. On December 10, for the first time three dogs, two in Mexico City and one in the State of Mexico, were reported with COVID-19. On December 11, López-Gatell said that the average age of death due to the Coronavirus in Mexico is 55, compared to 75 in Europe. He explained that the difference is primarily due to high rates of obesity and diabetes in Mexico. He also said that all purchases of vaccines will be done by the federal government, although some politicians have suggested governors should buy their own supplies for their states. The government's medical safety commission approved the emergency use of the Pfizer-BioNTech coronavirus vaccine, following approval by Great Britain, Canada, and Bahrain and just before approval by the United States. The first 250,000 doses will go to health workers. On December 15, López-Gatell said that the government will not order a general lockdown despite recent increases in cases because 60 million people who live in poverty cannot afford it. The country reported 5,930 new infections and 345 deaths, fr a total 1,255,974 cases and 114,298. Mexico City reports 75% saturation of hospital beds and 68%-70% saturation of beds with ventilators. Governor Alejandro Tello of Zacatecas, one of two states (with Baja California) with traffic light red, tests positive for COVID-19. According to a survey released by the Instituto Nacional de Salud Pública (National Institute of Public Health—INSP) on December 16, 31 million Mexicans, 25% of the population, has been exposed to the virus. On December 16, thirty-seven hospitals in the Valley of Mexico reported "critical" (90%—100%) occupancy, 25 reported "medium" (50%—89%) occupancy, and 13 "good" (0%—49%) occupancy for COVID-19 patients. Also 150 members of SEDENA and 50 members of SEMAR began training for application of the Pfizer-BioNTech COVID-19 vaccine. On December 17, Hugo Lopez-Gatell walked back an announcement made last week that Mexico planned to buy 35 million doses of the Chinese-made Convidecia vaccine, suggesting the figure may be closer to 10 million doses. He also said the country is close to signing an agreement to purchases 22 million doses from the Belgian-made Janssen Pharmaceutica vaccine. Despite government warnings against family reunions, on December 18 the Instituto Nacional de Migración (National Migration Institute—INM) reported that a caravan of 700 vehicles had crossed the border from Laredo, Texas, filled with migrants looking to reunite with their families for holiday gatherings. The number of passengers at Benito Juárez International Airport in CDMX increased as the Christmas holiday season neared. On December 20, the Instituto Nacional de Transparencia, Acceso a la Información y Protección de Datos Personales (National Institute for Transparency, Access to Information, and Protection of Personal Information, INAI) order the Secretariat of Health (SSA) to provide complete information about the number of COVID-related deaths from February 19 to August 31. Esta es una información que debe tener la Secretaría de Salud disponible, aun cuando el cálculo sea letal, como alguna vez lo hemos dicho, sea gráficamente desolador, sea evidentemente lamentable y, por supuesto, preocupante, porque es una tragedia, repito, no se debe maquillar, debe exponerse claramente, ("This is information that the Ministry of Health must have available, even when the calculation is lethal, as we have once said, it is graphically devastating, it is obviously regrettable and, of course, worrying, because it is a tragedy, I repeat, You must not put on makeup, it must be clearly exposed,") said INAI commissioner Francisco Javier Acuña Llamas. Patricia Elisa Durán Reveles, municipal president of Naucalpan, State of Mexico, celebrates her wedding in Cuernavaca, Morelos with 100 guests, despite prohibitions of large crowds. Naucalpan is classified in the red zone while Cuernavaca is orange. The first batch of vaccines arrived on December 23 with distribution to begin on December 24. Between December 21 and 23, two hundred three vehicles with 609 people were turned around when they tried to enter Queretaro despite prohibitions against unnecessary travel. Authorities revised 3,383 vehicles and 7,767 people. Morelos returned to Red alert on December 24. The state reported an 80% increase in cases in December. A Costco big-box store in Cuernavaca had been closed less than 24 hours earlier for violating restrictions on capacity. Six hundred twenty employees of IMSS from 13 states were sent to the CDMX on December 26 to reinforce efforts to combat the virus. They were supported by 500 Cuban health workers. SSA reported on December 27 that 10% of the country's total deaths can be attributed to COVID-19. The average number of deaths increased annually by 20,000 from 2015 to 2019, but so far in 2020 the increase has been about 200,000. Sixty-two medical residents at Mexico City General Hospital, including 48 who work directly with COVID-19 patients, protested because they did not receive vaccines but personnel who do not work with virus patients did. Governor José Ignacio Peralta Sánchez of Colima announced that he had tested positive for COVID-19. Despite the Red alert prohibiting large gatherings, in the State of Mexico, police in Ecatapec and Chalco, State of Mexico, were compelled to close a bar and several large parties as well as stores illegally selling alcohol over the weekend of December 25–27. On December 29, AMLO reported that China would be sending eight million doses of its CanSino BIO vaccine to Mexico between January and March 2021, and the vaccination of Mexico's elderly could begin. The vaccine does not require cold storage and only one dose is required. On December 30, AMLO promised to investigate, and if appropriate, punish the director of a hospital in the State of Mexico who, along with his wife and daughters, inappropriately received vaccinations reserved for frontline health workers. An unconfirmed report on Milenio Televisión indicated that 29 of the 109 vaccines applied in Coahuila went to health-system bureaucrats instead of frontline workers. 2020 in Mexico ended on December 31 with 1,426,094 confirmed cases (12,159 in the last 24 hours) and 125,807 confirmed deaths (910 in the last 24 hours). The virus strain that began in the U.K. has not been found in Mexico. Dr. Ana Paola de Cosío Farías, assigned to pediatric hospital "Dr. Silvestre Frenk Freund", Centro Médico Nacional Siglo XXI, resigns after complaining that she and her colleagues have been passed over for receiving the vaccine and have been denied the COVID-19 bonus payment. January–March 2021 On January 1, police in Mexico City (SSC) warned of online and social media fraud in the purchase or rent of oxygen tanks. Over the weekend of January 1 to 3, oxygen distribution at the Hospital General de Zona 83 (IMSS), in Morelia, Michoacán, failed. Thirty-six patients died before employees could restore the system. AMLO reported on January 2 that 64% of the 53,625 doses of vaccines the country has received have been applied. He expects the 750,000 health workers in the country to be vaccinated by the end of the January. A 32-year-old doctor in Nuevo Leon was hospitalized after an alergic reaction to the Pfizer vaccine. Starting January 4, five entities—CDMX, State of Mexico, Baja California, Guanajuato, and Morelos—will be on Red Alert, 22 are Orange, three Yellow, and two—Campeche and Chiapas—Green. The Federal Commission for Protection Against Health Risks (Cofepris) authorized the emergency use of the Oxford-AstraZeneca vaccine. Mexico signed an agreement to acquire 77.4 million doses between March and August 2021. 45,850 doses of the Pfizer vaccine arrived at the Mexico City International Airport (AICM) on January 5, 2021, destined for frontline health workers. 43,960 people have received the first injection. AMLO outlined plans to recruit 10,000 brigades with 120,000 people to vaccinate 3 million people in isolated communities across the country. The plan calls for administering the vaccine in small communities first and major cities last. On January 7 the Catholic Church reported that four bishops and 135 priests had died in 2020 due to COVID-19. For the second day in a row, a new record, this time 13,734 new cases were reported in one day. There are a total of 1,493,569 confirmed cases, and there is a 42% positivity rate. On January 8, Mexico City health director Oliva López Arellano clarified that the city has not initiated Code blue for hopelessly ill patients in hospitals in the city. Some patients have arrived at hospitals with very low oxygen levels, code red, and have passed away. Thirty-five medical students working at the "Dr. José María Rodríguez" general hospital in Ectepac have tested positive. One student died on January 4, and the other students have since been relieved of their duties. On January 10, Gloria Molina, health secretary for Tamaulipas, announced that a 56-year-old man was found to be infected with the highly-contagious British strain of COVID-19. The man arrived in Mexico on December 29 after traveling to the United Kingdom in September 2020. Jesús Ramírez Cuevas, general coordinator of Social Communication of the Presidency of the Republic, announced that he had tested positive to the coronavirus. The University of Guadalajara announced that COVID-19 daily deaths in the state tripled in the three weeks from December 19, 2020, to January 10. compared to the previous month, to an average 58 per day. Hospital bed use increased from 40.7% to 53.0%, and intensive care bed occupation increased from 51.0% to 56.2%. 439,725 doses of vaccine arrived on January 12 which were then distributed for health workers at 879 hospitals across the country. Foreign Minister Marcelo Ebrard said on January 13 that Mexico would enforce the United States–Mexico–Canada Agreement (called T-MEX in Mexico) to ensure that all its nationals would be vaccinated. Nebraska Governor Pete Ricketts reportedly threatened that undocked workers in meat–packing plants would not receive the vaccine. The state of Michoacan reported that its public hospitals reached 100% occupancy and private hospitals were 85% full. Four bottles of the vaccine were stolen from "Carlos Calero Elorduy Hospital" run by SEDENA in Cuernavaca, Morelos, on January 14. SALUD reported a new one-day record for infections — 21,366 — on January 15. The agency also reported that nationally 59% of general hospital beds are occupied, and six entities report 70% or more occupation. 415,417 doses of vaccine have been applied, included 1,958 people who have had both injections. 667 people have had serious reactions to the vaccine and 21 have reported mild reactions. Dr. Lopez-Gattel said that a lack of ultrafreezers makes it difficult to fully implement the vaccination program for the elderly. Most of the freezers capable of storage at -70 °C are found in the Metropolitan Area of the Valley of Mexico, Morelia, and Juriquilla, Queretaro, and eleven entities have none. Hundreds of people, few wearing face masks or keeping a healthy distance, attended the "Gran Bailazo 2021" featuring Norteño and dancing in Vícam, Sonora on January 16–17. No one was charged, and another event is planned for February 13. Sonora is on Orange Alert and Mexico is experiencing the fourth highest levels of COVID-19 infections in the world. 1,584 deaths were confirmed on January 19, the highest single-day record since the pandemic began. Police in Tultepec, State of Mexico, recovered 44 oxygen tanks from a stolen truck. Seven oxygen tanks were stolen Navojoa, Sonora. A shortage of oxygen tanks was exacerbated by hording, and the consumer protection agency promoted its "Return Your Tank, For The Love of Life" campaign. On January 22, the Consejo Nacional de Población (National Population Board, CONAPO) stated that since March 2020, pregnancies among adolescents had increased 20% (145,719 unwanted pregnancies among women 15–19), and the suicide rate among young people 20–24 had increased to 9.3%. Suicide is the second cause of death among people 15–29. Hugo Lopez-Gatell announced that second doses of the Pfizer vaccine may be delayed as the company plans to send half of a 200,000-dose shipment has been destined by WHO for poor countries. AMLO announced that local governments or private companies that wish to purchase vaccines will be allowed to do so. On January 24, President López Obrador announced he had a mild case of COVID-19. Interior Secretary Olga Sánchez Cordero will take over for him in his daily news conferences. With 659 new deaths, Mexico passes 150,000 total deaths on January 25. Carlos Slim, Mexico′s richest man whose fortune is estimated at USD $60 billion, is infected with COVID-19. Health authorities reported on January 26 that 202 confirmed cases and 46 probable cases of COVID-19 were responsible for maternal deaths in 2020. Between January 2 and 7, nineteen of 31 (61.2%) maternal deaths were attributed to the coronavirus. Sixty-nine babies born at the Monica Pretelini Saenz maternal hospital in Toluca in 2020 had COVID-19; one died. On January 27, Secretary of the Interior Olga Sánchez Cordero reported that the pandemic in the Valley of Mexico had stabilized and the number of cases had slightly declined. Mayor Claudia Sheinbaum had said earlier that CDMX would remain on Red Alert through January 31. INEGI reports 44.9% more COVID-19 related deaths (108,658) than those registered by SALUD from January–August, 2020, making the virus the second cause of death in the country (behind heart failure but ahead of type 2 diabetes). 58% of the deaths did not occur in hospitals. The Lowy Institute, an independent think tank in Australia, on January 28 describes Mexico′s response to the pandemic the second worst in the world. Days after President López Obrador announced the purchase of the Sputnik V vaccine for delivery in Fecruary, the Russian government announced a 2–3 week delay in delivery. With a 24-hour record of 1,506 deaths, only the United States reported more deaths on the 28th. Mexico is in eighth place in total deaths this week with 18,670. Thirty entities were on Maximum (red) or High (orange) alert on January 30; only Camperche and Chiapas were Low yellow. 1,841,893 total cases, 96,518 active cases, and 156,579 total deaths were reported. 662,217 people have received the first Pfizer vaccine and 31,397 have received both. 58% of general hospital beds and 52% of beds with ventilators are occupied, although the numbers are 80% each in CDMX. Vaccine registration for older (60+) adults began on February 2, although many failures were reported in the online-only system. A study by Instituto Nacional de Ciencias Medicas y Nutricion Salvador Zubiran released in February 2021 showed that from more than 100 people died between February 26 and June 5, 2020, because Intensive care unit (ICU) beds were unavailable at the hospital. Mexico′s mortality rate of 59.2 deaths per million people became the highest in Latin America on February 9, surpassing Panama and Peru; it is the 15th highest in the world. Vaccination of adults over sixty began on February 15. On February 16, Mexico passed two million confirmed coronavirus cases and 175,000 deaths, third highest in the world. The first shipment of 200,000 doses of the Sputnik V vaccine arrived from Moscow on February 22. The vaccine needs to be stored at between 2 °C and 8 °C; Mexico has contracted to buy 24 million doses. Most of this first shipment is destined for elderly people (60+) in Xochimilco, Tláhuac, Iztacalco in Mexico City starting February 24. The 11th shipment of the Pfizer-BioNTech vaccine (511,000 doses) arrived from Belgium on February 23. The vaccine is destined for health workers; some was sent to Mexico City and some to Monterrey. 4,180 doses of Coronavac vaccine are scheduled to be applied in the State of Mexico on February 23. The 429 deaths reported mark the fifth consecutive week of a decline in infections, hospitalizations, and deaths. The health department of Nuevo Leon was forced to return 4,680 Sinovac COVID-19 vaccines (33,480 doses) that had spoiled due to poor storage. They should be stored at a temperature of 2 °C to 8 °C, but were stored in coolers at 12 °C or 13 °C. As of 16 March, there have been 2,169,007 confirmed cumulative cases and 195,119 deaths in total. 3,794,719 people have been given the first dose of vaccine. Prosecutors announced on March 24 that they were unsure whether 5,000 Russian Sputnik V vaccine doses seized aboard a private plane bound for Honduras were authentic. No arrests can be made until their authenticity is established. The number of confirmed COVID-19 deaths passed 200,000 on March 25, 2021, third highest in the world. With 2,214,542 confirmed cases, Mexico is in thirteenth place in total cases. 6,643,886 doses of vaccine have been applied. On March 28 a report was issued showing 294,287 COVID-19-related deaths by March 15, 61.4% higher than previously reported. The number of excess deaths is said to be 417,002. The number of daily deaths continues on a downward trend, with 194 deaths reported on March 28. Seven states are in the traffic light orange as Holy Week begins. No state is in red, and Coahuila, Tamaulipas, Veracruz, Jalisco, Nayarit, Chiapas, and Campeche are green. April–June 2021 Medical personnel from private hospitals protested outside the "Escuela Médico Naval" in Mexico City on April 1, demanding to be vaccinated, only to be turned away since there were no vaccines available. On June 9, Dr. López-Gatell announced he would no longer be giving daily updates on the pandemic, although he would continue to give occasional press conferences. On June 10, 225 new deaths were reported, bringing the official total to 229,578. 3,672 new cases were reported, bringing the total number of cases to 2,445,538. 1,948,268 people have recovered. The entities with the most active cases are Mexico City (>3,000), Tabasco, Yucatán, Quintana Roo, Baja California Sur, Tamaulipas, and State of México with more than 1,000 each. 25,306,211 people over 40, health workers, Olympic athletes, health workers, and pregnant women have received at least one dosis of the vaccine. 58% have received the complete doses. 28% of the population over 18 have been vaccinated. Five private schools in Sinaloa had to suspend in-person classes after cases of COVID-19 were discovered on June 11, 2021. Dr. Hugo López-Gatell said the (Cofepris, Federal Commission for the Protection Against Health Risks) will evaluate the Pfizer proposal to apply its vaccine in children 12 years old or older. January 2022 Popular travel destinations such as Puerto Vallarta mandated presentation of either vaccination proof or a negative PCR test result for individuals over 18 years to public recreational places owing to surge in Covid cases. Vaccination Statistics Curves of infection and deaths On April 20, the Secretariat of Health started to report active cases at the daily press conference. New cases per day Graphs based on daily reports from the Mexican Secretariat of Health on confirmed cases of COVID-19. Deaths per day Chart of deaths by date of death On June 3 Hugo López-Gatell Ramírez at a daily press conference on COVID-19 explained that daily announced deaths were tested positive for COVID-19 on that day but it does not imply all deaths occurred on this same day. There is a lag, for several causes, between the date of occurrence of the death and the day of positive COVID-19 test result is received. Chart of hospitalized cases Number and categorization of hospitalized cases presented by the Secretariat of Health at the daily press conference. After April 20 the Secretariat of Health stopped reporting this type of classification of hospitalized cases. This chart is left here for historical purposes. Charts of COVID-19 progression by top states Cases Deaths Hospital bed occupancy rates by state General hospital beds Occupancy rate of general hospital beds as presented by the Secretariat of Health at the daily press conference. Beds with ventilators Occupancy rate of beds with ventilators as presented by the Secretariat of Health at the daily press conference. SALUD reported Mexico totals Statistics per 100,000 inhabitants Maps Phases of contingency According to the Secretariat of Health, there are three phases before the disease (COVID-19) can be considered as an epidemic in the country: Recovery phases On May 13, 2020, the Secretary of Economy Graciela Márquez Colín announced the "Plan for the return to the new normality" (Plan para el regreso a la nueva normalidad in Spanish). The purpose of the plan is to progressively resume productive, social and educational activities that were halted during the phases of contingency in order to reopen the economy: Traffic light color system The "traffic light" color system would be implemented for the gradual reopening of the country starting June 1, 2020. It would consist of four colors (green, yellow, orange, and red) that represent the severity of the pandemic in each state. The "traffic light" would be updated weekly and each color would indicate which activities are safe to resume. Effects Economics INEGI estimated an 8.5% decline in GDP in 2020. The International Monetary Fund reported similar figures, but Hacienda (SHCP) reported an 8% decline. According to INEGI, the agricultural sector grew by 2%, but industry fell 10.2% and services fell 7.9%. In November 2020, INEGI reported a 4.4% unemployment rate; there were 55.4 million economically active persons. Nine million of the 12 million who lost their jobs in April, the worst month for the economy, have returned to work. In February 2021 the National Council for the Evaluation of Social Development Policy (CONEVAL) reported that the health emergency could increase the number of people living below poverty by 8.9 to 9.8 million and extreme poverty by 6.1 to 10.7 million. These are the same levels as a decade ago. Finance The INEGI says the unemployment rate increased from 3.6% in January 2020 to 3.7% in February 2020. The informal sector increased to 56.3% in February compared to 56.0% in February 2019. The Mexican Stock Exchange fell to a record low on March 10 due to fears of the coronavirus and because of falling oil prices. The Bank of Mexico (Banxico) stepped in to prop up the value of the peso, which fell 14% to 22.929 per US dollar. World markets are seeing falls similar to those of 1987. Moody's Investors Service predicted that the economy will contract 5.2% during the first trimester of the year and 3.7% by the end of the year. Banxico announced on April 1 that foreign investors have withdrawn MXN $150 billion (US $6.3 billion) from Mexico, mostly in Certificados de la Tesorería (Treasury Certificates, Cetes) since February 27 when the first COVID-19 case in Mexico was diagnosed. The problem is compounded by the low oil price, only US $10.37 per barrel, a 20.29% drop since the beginning of the 2020 Russia–Saudi Arabia oil price war. Some financial analysts say there has been too little, too late. Carlos Serrano of BBVA México predicts a 4.5% economic contraction in 2020, while analysts at Capital Economics in London argue that the government has to do more to support the economy. They forecast a 6% contraction this year. HR Ratings, Latin America's first credit rating agency, said that the performance of the economy this year will depend on the government's response to the COVID-19 crisis. Inflation slowed to 2.08% during the first half of April, the lowest figure in four years. In May, BBVA predicted that 58.4% of the Mexican population would live below the poverty line by the end of 2020, an increase of 12 million people. Extreme poverty is expected to grow by 12.3 million people, 26.6% of the population. The bank predicts GDP will fall by 12%. Citibanamex predicts a 7.6% decline in GDP. The economy contracted 17.1% and the GDP fell 18.7% during the second trimester of 2020. This was slightly less than predicted, but it far surpassed the previous record of 8.6% in 1995. The Mexican Association of Insurance Institutions (AMIS) reported in September that they have paid out US $288 million in claims, making the pandemic the thirteenth most expensive disaster in history. Industries Automobile production and sales The association of car dealers, ADMA, predicts a decrease in sales in Mexico between 16% and 25% this year. J.D. Power estimated a 20% decrease, 264,000 vehicles, in Mexico and a 15% drop across the world. The Employers Confederation of the Mexican Republic (COPARMEX) criticized the government on March 29 for not suspending the payment of taxes, saying the government does not care about unemployment. Fernando Treviño Núñez, president of the organization, explained that businesses cannot afford to pay salaries for more than three months without receiving income. Gasoline and diesel fuel importers have not noted a decrease in demand since the onset of the COVID-19 pandemic, and they fear that health precautions could cause fuel delays at ports of entry. Watco said that cargo on the Houston Ship Channel for delivery to San Luis Potosí increased 25% in March compared to January. Mexico imports 65% of its gasoline. The Asociación Mexicana de Distribuidores de Automotores (Association of Mexican Automobile Distributors) reported a decline of 28% in auto sales from 2019 to 2020. Beer, wine, and spirits On March 24, Grupo Modelo, makers of Corona beer, promised to donate 300,000 bottles of antibacterial gel to the Mexican Social Security Institute (IMSS). The Canacintra (National Chamber of the Processing Industry) announced on April 2 they were suspending all beer production in the country, as breweries are not an essential industry and there was sufficient supply in the country for a month. Tequila producers plan to stay open. Construction INEGI reported that construction fell by 24.7% in 2020. 72,000 jobs were lost. Education industry Alfredo Villar, president of the 6,000-member National Association of Private Schools, says that many schools will have to close for the 2020-2021 school year. The 3,500-member National Confederation of Private Schools (CNEP) says most of their members have reported drops in enrollment from 30% to 60%. The group's president, María de Jesús Zamarripa, said, "With fewer than five children in each group, many schools will be forced to cut personnel." 48,000 private schools served 5 million pupils in 2019-2020, 15% of the total student population. University enrollment for 2020-2021 is expected to fall between 12% and 15%. Approximately 66% of the 4.1 million students enrolled in institutions of higher education attend public schools. Of the 1/3 in private schools, 20% attend schools of high prestige and 13% attend small specialized schools. It is these schools that are particularly vulnerable to closing because of a drop in enrollment. Energy Gasoline sales fell 70% between April 10 and 18, threatening the financial future of gas stations. Meanwhile, the port of Veracruz is saturated and tankers are stranded off the coast due to low prices. Airbnb offers free accommodations for health care workers. Film and entertainment On May 27, film director Alfonso Cuarón plead employers to continue to pay the wages of more than 2.3 million housekeepers that have been left without wages because of the outbreak stating that "It is our responsibility as employers to pay their wages in this time of uncertainty". Health industry IMSS reported that Mexico lost 1,113,677 formal jobs from March to June: 130,593 during March, 555,247 in April, 304,526 in May, and 83,311 in June. Considering that new jobs were created in January and February 2020, the balance was a loss of 921,583 jobs for the first six months of the year. Mining The Cámara Minera de México (Chamber of Commerce for Mining, CAMINMEX) reported a 50% decline in investments in mining, from USD $4.5 billion to $2.5 billion, in 2020. Retail As of April 22, Grupo Salinas with its 70,000 employees, continues to operate as if the pandemic were nonexistent. Even after the rest of the country entered Phase 3 in late April, its stores remain open, social distancing is not enforced, and employees do not use face masks. The United States pressed Mexico in late April to reopen factories that are key to the U.S. supply chain, including those with military contracts, as employees staged walkouts and expressed fear of contracting COVID-19. Lear Corporation acknowledges there have been coronavirus-related deaths among its 24,000 employees in Ciudad Juárez, but will not say how many. The Unión de Retailers de México ("Union of Retailers of Mexico, URM") said that between 1,500 and 2,500 businesses in shopping centers, between 9.3% and 18% of the 14,000 stores in Mexico City, were forced to close in April 2020 because they could not pay their rent. The Asociación Nacional de Tiendas de Autoservicios y Departamentales (National Association of Self-service and Department Stores, ANTAD), reported a 60% decline in sales of clothing and footwear between March and June 2020. Clothing manufacturers lost 45,000 employees in the same period. Sex workers According to the Brigada Callejera de Apoyo a la Mujer Elisa Martínez, (Elisa Martínez Street Brigade in Support of Women), the number of sex workers on the streets of Mexico City increased from 7,500 in April to 10,000 in August. Among the reasons given are the closure of bars and hotels. Street workers are vulnerable to gang violence and extortion as well as societal hostility. Workers report they have to work harder but their incomes have fallen. Tourism and hospitality The Consejo Nacional Empresarial Turístico (National Tourism Business Council, CNET) sent two letters in March to Alfonso Romo, Chief of Staff to the President, outlining the importance of tourism to the economy and asking for government support for the sector. Tourism provides 4 million jobs in Mexico, and 93% of the companies have ten or fewer employees. COVID-19 has forced the closure of 4,000 hotels (52,400 rooms) and 2,000 restaurants, while the airline industry has lost MXN $30 billion (US $1.3 billion). Tourism accounts for 10% of Gross domestic product (GDP) in the world. The Secretary of Tourism (SECUTUR) announced that the number of foreign tourists who arrived by air between January and July 2020 was 57.5% (5.7 million tourists) less than during the same time period of 2019. The Cancún International Airport reported a 59% decline and the number of tourists at the Mexico City International Airport fell by 62.4%. Metropolitan Mexico City permanently lost 13,500 restaurants, representing 450,000 out of 5.6 million direct and indirect jobs, by the end of 2020. Virus-related General Motors (GM) announced that by late April 2020 its Toluca plant would start producing 1.5 million surgical face masks per month for use in hospitals in the states of Mexico, San Luis Potosí, Coahuila, Guanajuato, and Mexico City. A team of medical experts and veterinarians led by Pedro Guillermo Mar Hernandez of Hermosillo Technological Center and Pedro Ortega Romero of Sonora State University developed a ventilator that can be used by six COVID-19 patients at a time. Panic buying Panic buying in mid-March caused shortages in Mexico of hydroxychloroquine and azithromycin, which U.S. President Donald Trump, with no backing from the scientific or medical communities, said is helpful in preventing COVID-19. The Comisión Federal para la Protección de Riesgos Sanitarios (Federal Commission for the Protection of Health Risks, Cofepris) put controls on the sale of both products. Hidroxicloroquina is used in the treatment of malaria, lupus and rheumatoid arthritis. Plaquenil tablets are produced in Mexico by the French company Sanofi; the raw material comes from Hungary. Shortages of medicine for these diseases were expected soon. In mid-March, retailers in the border city of Tijuana experienced shortages of water and toilet paper as Americans from southern California began crossing the border to panic-buy these items. Purchase limits were placed on several item categories following the first wave of panic buying by foreigners. Crime Authorities are concerned about supermarket robberies. A gang of 70 people robbed a grocery store in Tecámac, State of Mexico, on March 23, and a gang of 30 looted a supermarket in the city of Oaxaca on March 24. Calls for supermarket looting, warning of food shortages, are making the rounds of social media. Four such social media groups in Tijuana were broken up in Baja California on March 29. The number of murders has not decreased due to the coronavirus pandemic, and drug cartels are fighting each other in Guerrero and Michoacan. On April 14, José Luis Calderón, vice president of the Mexican Association of Private Security Companies (AMESP), commenting on the increase of crime, told El Informador, Travel restrictions are making it more difficult for Mexican drug cartels to operate, because chemicals from China, which are the raw materials for synthesizing illegal drugs, cannot be imported. As a result, the price of illegal methamphetamine has increased from 2,500 pesos (€95/$102) to 15,000 pesos per pound. Cartels are also struggling to smuggle drugs across the border to the United States, where many customers live, because border crossings have been shut down. The reduction in international air travel has made it easier for authorities to track planes used for transporting illegal drugs. In May, three different families, relatives of patients with COVID-19, were attacked in Cuajimalpa, Mexico City. Government response Employment Protection In June 2020, Mexico's open unemployment rate was 5.5 percent in, representing an increase of 1.3 percentage points from a month earlier. The Government of Mexico reiterated that the declaration of the health emergency doesn't have to result in loss of job or in wage reduction. Businesses that couldn't continue to pay pre-pandemic wages were recommended to approach Federal Attorney for the Defense of Labor to find solution that will be in the best interest of both parties. The Ministry of Economy awarded loans with optional repayment totaling 37.9 billion pesos to companies with payroll employees, self-employed workers, and 26.6 billion pesos to family businesses that were previously registered in the Welfare Census. For three months, the government subsidized unemployment insurance for workers who have a mortgage with the Housing Institute (5.9 billion pesos). Additional funding was committed to housing projects (4 billion pesos). The Mexican Health Ministry provided permission for employees in high-risk groups—such as those over 65 years old and pregnant women—to remain home keeping their salary. Almost 60% of jobs in Mexico are informal. Nonetheless, there were virtually no federal-level policies aimed at mitigating the income shock experienced by informal workers but most of the country's states implemented their own programs to support informal workers. Overall, Mexican response to the employment crisis was criticized for austerity and described as insufficient by population  . Mandatory mask laws Most states have implemented face mask mandates in some form or another. In the majority of states, this means wearing a face mask at all times outside of someones residence (both inside and outside), while other states have only required someone to wear a mask inside businesses or on public transit. Timeline January–March 2020 January 9, 2020 – A travel advisory for people traveling to or from China was issued. January 22 – The Secretariat of Health issued a statement saying that the novel coronavirus COVID-19 did not present a danger to Mexico. January 30 – The Government of Mexico designed a Preparation and Response Plan that was made by the National Committee for Health Safety, a working group led by Secretariat of Health composed by different health entities aiming to act upon the imminent arrival of the pandemic. This group carried out a series of alert measures, rehabilitation and updating of epidemiological regulations based on the International Health Regulations. March 5 – The National Governors' Conference (Conago) met to discuss the coronavirus outbreak. The directors of INSABI, IMSS and ISSSTE also participated. March 6 – Hugo López-Gatell Ramírez led the first daily press conference on COVID-19. March 10 – As the stock market and the price of oil fell, "Banxico" stepped in to prop up the value of the peso, which had fallen 14%. March 13 – The National Autonomous University of Mexico suspended in-person classes. Authorities canceled or postponed major tourist events in Guadalajara and Merida. March 14 The SEP announced that all sporting and civic events in schools would be canceled and that Easter break, originally planned from April 6 to 17, would be extended from March 20 to April 20. On March 31 the school closings were extended through April 30. The SCHP announced it was taking measures to prevent a 0.5% fall in GDP. The "Universidad Autónoma de Nuevo León" (UANL) suspended classes for its more than 206,000 students starting on March 17. March 15 – Mexico City mayor Claudia Sheinbaum declared that Mexico City expected to spend an extra MXN $100 million to prevent the spread of COVID-19. March 18 – Authorities announced that they were looking for hundreds of citizens who might be carriers of the coronavirus, especially in the states of Puebla, Jalisco, Aguascalientes and Guerrero. The Autonomous University of Guerrero (UAGRO) in Chilpancingo closed after a female student tested positive for the virus. March 22 Bars, nightclubs, movie theaters and museums were closed in Mexico City. Governor Alfaro Ramírez announces that Jalisco and seven other states would block flights from areas such as that had a high rate of coronavirus. He also said that they would purchase 25,000 testing kits. Governor Jaime Rodríguez Calderón of Nuevo León said he will not rule out the use of force to get people to stay at home. March 23 The WHO announced that Mexico had entered into the community contact phase of infection. The National Campaign of Healthy Distancing, a national program of non-pharmaceutical measures based on social distancing, began. A media campaign led by "Susana Distancia", who is a fictional female superhero aiming to promote social distancing, was launched. "Susana Distancia" is a wordplay on 'su sana distancia', meaning "his/her healthy distance". Access to supermarkets, drugstores and convenience stores in Coahuila was limited to one person per family, and the temperature of that person was taken before entering. March 24 – President López Obrador announced that Mexico had entered Phase 2 of the coronavirus pandemic, in effect until April 30. Gatherings of more than 100 people were prohibited, and both the Mexican Army and the Mexican Navy would participate. March 25 President López Obrador ordered the Mexican Air Force to rescue Mexicans trapped in Argentina. Office of the Federal Prosecutor for the Consumer (Profeco) closed two businesses in Tijuana, Baja California, for price-gouging. In Mexico City, Claudia Sheinbaum announced financial support for families and micro industries affected by the pandemic, and she suspended automobile smog checks through April 19. She closed movie theaters, bars, nightclubs, gyms and other entertainment centers. The government announced that it would continue receiving cruise ships "for humanitarian reasons", but that passengers would be individually "fumigated" before being taken directly to airports to be returned to their home countries. The protocol will apply to the , currently docked in Puerto Vallarta. March 26 President López Obrador addressed the Group of Twenty regarding medical supplies and trade and tariffs. The federal government announced it would suspend most sectors' activities from March 26 to April 19. The Secretary of Health estimated that Phase 3 of the pandemic, when the number of cases reaches its peak, will be about April 19. Authorities in Chihuahua announced that it would start to quarantine migrants who were returned to the Ciudad Juárez border crossing. The Comisión Federal para la Protección de Riesgos Sanitarios (Federal Commission for the Protection of Health Risks, Cofepris) put controls on the sale of hydroxychloroquine and azithromycin, used in the treatment of malaria, lupus and rheumatoid arthritis, but not shown to be effective against COVID-19. Nonetheless, panic buying of these medicines is likely to soon lead to a shortage. March 27 President López Obrador practiced social distancing during his tour in Nayarit. The president had been widely criticized for shaking hands, kissing and hugging as he met with people. The federal government bought 5,000 ventilators from China. Profeco (Office of the Federal Prosecutor for the Consumer) announced it would fine merchants who unfairly raised the prices on household goods. Víctor Villalobos Arámbula, Secretary of Agriculture and Rural Development (SADER) met with food producers to discuss guaranteeing the food supply in spite of the pandemic. March 28 Hugo López-Gatell Ramírez, Deputy Secretary of Health, said that with 16 deaths and 848 cases of infection, this is the last opportunity to prevent accelerated growth of COVID-19. He called on the population to act responsibly to prevent its spread. Milenio reported that López-Gatell said there is a legal basis for the use of force to enforce stay-at-home orders during the COVID-19 pandemic. Health officials, accompanied by a representative of the military and Foreign Secretary Marcelo Ebrard made a video urging the populace to stay home. President López Obrador did not appear in that video, but he made a separate one with the same message. March 30 – A national health emergency was declared in Mexico and stricter measures aimed at containing the spread of the virus were introduced. April–May 2020 April 1 Beaches throughout the country are closed. INEGI asked everyone who has not taken part of the 2020 census to contact them via their webpage or by calling them before April 15. The Governor of Nuevo León ordered a halt to production and distribution of beer in the state, beginning April 3. April 3 President López Obrador issued a decree to abolish 100 public trusts related to science and culture; the Finance Ministry (SHCP) will receive the money directly. The move is expected to save MXN $250 billion (US $10 billion), which can be spent to strengthen the economy, pay for social programs and pay off the debt. Claudia Sheinbaum promised to donate two months of her salary (a total of MXN $156,728) to the struggle against COVID-19 and invited other officials to do so also. April 5 President López Obrador presented his plan to reactivate the economy without increasing fuel prices or taxes. He said he would increase oil production and that he had support from the private sector. A health official in Oaxaca was fired after spitting on doctors, nurses, and patients at the Hospital Regional del ISSSTE "Presidente Juárez" because the service was slow. April 7 – Governor Diego Sinhué Rodríguez Vallejo of Guanajuato announced he would donate his salary (MXN $153,000) during the contingency. April 8 – Cuauhtémoc Blanco Bravo of Morelos announced that he would donate his salary to support families who do not have incomes during the crisis. Thirty confirmed cases and five deaths have been reported in the state. April 10 – José Ignacio Precaido Santos of the General Health Council announced that at least 146 private hospitals will make beds available to treat COVID-19 patients on a non-profit basis. April 11 – The Federal Electricity Commission (CFE) announced it would not forgive payments because of the pandemic. They reiterated their commitment to invest MXN $8 billion during the presidency of Lopez Obrador and emphasised the need to pay their 90,000 employees. April 12 – The government established the "National Contingency Center" (Spanish: Centro de Contingencias Nacional, CNC) to fight COVID-19. It will be led by the military and will have scientists and health technicians advising about steps to combat the pandemic. April 13 – The Mexican Navy announced it would open ten voluntary self-isolation units to shelter 4,000 COVID-19 patients in Mexico City, Guerrero, Jalisco, Michoacan, Sinaloa, Tamaulipas and Veracruz. April 16 The government announced on April 16 that it will restrict transportation between areas of the country that are infected with COVID-19 (mostly large cities) and areas that are not infected, without specifying what areas are included or how it will be enforced. President López Obrador also said that based upon current projections, the 979 municipalities that have not had reported cases of coronavirus will be able to reopen schools and workplaces on May 17; the date is June 1 for the 463 municipalities that have. The elderly and other vulnerable groups will still be requested to stay home, and physical distancing should remain in place until May 30. It is expected that the pandemic will end in the metropolitan area on June 25. April 17 – AMLO pledges MXN $60 billion (US $2.5 billion) to help small businesses in May. April 18 – The Health Ministry says that unclaimed bodies of the deceased related to COVID-19 should not be cremated or buried in common graves, but should be photographed, fingerprinted and buried in marked graves. In cases of suspected or confirmed cases of coronavirus, the bodies cannot be exhumed for at least 180 days after the date of death. April 21 The government announced that Mexico had entered Phase 3 of its contingency plan. The Secretariat of the Civil Service (SFP) announced that the deadline for public servants to declare their assets was extended from May 1 to July 31. May 4 – Plan DN III of Sedena and Plan Marina of SEMAR begin. May 13 Graciela Márquez Colín, the Director of Economic Affairs, spells out a three-phased plan to reopen the economy beginning on May 18. During the first phase, 269 municipalities without infections in 15 states will be allowed to lift their stay-at-home orders. The Secretariat of Public Education (SEP) plans to reopen schools on June 1, but the governors of Puebla, Jalisco, Michoacán, Guerrero, and Baja California Sur say they will not be ready. Esteban Moctezuma of the SEP promised that no school would open without a "green-light" about safety. May 20 – Mexico City mayor presented the "Gradual Plan towards the New Normality in Mexico City" after the health emergency and estimated that the city will be at a red light at least until June 15, although the situation may change to orange at that time. May 29 Thirty-one entities were classified as "Maximum Risk;" Zacatecas was the only exception. The SEP set August 10 as the new tentative date for reopening schools across the country. June–July 2020 June 5 As the school year ends, the SEP announces that grades and certification will be available online. The summer program will begin on June 8 and enrollment for the 2020-2021 school year will be August 6 and 7 and the new school year will begin on August 10. The Secretariat of Culture publishes guidelines for the reopening of cultural spaces, such as archaeological zones, museums, and theaters. June 10 – Mayor Claudia Sheinbaum said that Mexico City will begin wide testing for the COVID-19 virus with plans to reach 100,000 tests in July. Testing will be paired with an intensive information campaign and an attempt at contact tracing. June 11 – Governor Francisco Domínguez Servién of Queretaro announces that the state will reopen non-essential services on June 17. June 12 – The State Health Committee in Baja California Sur announced that non-essential businesses will reopen on June 14. June 25 – The governor of Jalisco announces partial reopening of theaters, parks, and athletic facilities beginning June 29. July 9 – Mexican Social Security Institute (IMSS) said it will reopen its 1,411 day care centers (Spanish: guarderías) on July 20 in order to train employees about health safety procedures. No children will return until later. Of the interviewed parents, about 48% of them said that their children were going to return to day care when the "traffic light" is green and 12% said they wanted their children to return in August. July 11 Undersecretary Hugo López-Gatell said that the Secretariat of Health was putting on hold the presentation of next week's "traffic light" due to the inconsistencies found on the data that certain states were reporting. Yucatán and Quintana Roo, states that were pointed out by López-Gatell for their inconsistencies and delayed reporting, said that they were fully complying with what they were asked to report. Tlaltetela, Veracruz, announced a curfew from 10:00 pm to 6:00 am. July 12 The government of Mexico City revealed the list of 34 neighborhoods with the most infections, 20% of the total. San José Zacatepec, Xochimilco, has an index of 1,084.4/100,000 inhabitants; followed by San Salvador Cuauhtenco, Milpa Alta (767.4/100,000); and Colonia Aldana, Azcapotzalco (388.6/100,000). Updates will be provided every Sunday. The municipalities of Felipe Carrillo Puerto, José María Morelos, Bacalar, and Othón P. Blanco in Quintana Roo announced that they will be returning to red status on the "traffic light" until July 19. July 13 Mexico City begins to offer online divorces. The Secretariat of Public Education (SEP) announced that school certificates and report cards were going to be available online. July 15 – Claudia Sheinbaum announces a plan to combat the virus in 34 neighborhoods that have returned to a red status on the "traffic light". The plans include sanitizing public spaces, the set up of temporary health centers, and provide food and economic support. The 34 neighborhoods are spread over 12 of the 16 boroughs and include three in Álvaro Obregón, one in Azcapotzalco, four in Coyoacán, two in Cuauhtémoc, one in Iztapalapa, six in Magdalena Contreras, two in Miguel Hidalgo, three in Milpa Alta, two in Tláhuac, four in Tlalpan, one in Venustiano Carranza, and six in Xochimilco. July 23 – The CDMX issued a new schedule for access to the Historical Center that included closing of streets to vehicular traffic. July 30 – President López Obrador announced that non-essential federal employees will return to work on October 1, 2020, and assured that measures will be implemented to guarantee the public health. August–September 2020 August 3 – The SEP announces that classes will resume on August 24, mostly online. Families without internet will have access through radio or television. August 10 - According to a report in the New York Times, Mexicans are avoiding hospitals for fear of Covid 19. August 13 – President López Obrador decrees a thirty day period of mourning for victims of the pandemic, from August 13 to September 11. This is in addition to the minute of silence offered during the President's daily press conferences. August 14 – The SEP releases its 2020-2021 calendar with 190 days of classes. September 10 – INAH reopens the Teotihuacan archaeological site at 30% capacity. September 17 Hospital Hidalgo announces it will begin organ transplants, suspended since March, the week of September 21. Fifty patients have been waiting for kidneys. Papalote Children's Museum in CDMX reopens. September 18 – INAH plans to reopen the Chichén Itzá archaeological site on September 22 with a maximum capacity of 30% (3,000 people). The date coincides with the September equinox. October–December 2020 December 8 Distribution of the vaccine will begin late in December, after the Pfizer vaccine is approved in the United States and by Mexican authorities. First to receive the vaccine will be 125,000 health workers in CDMX and the state of Coahuila; full coverage will take until 2022. Dr. López-Gatell said that reopening of schools depends on health decisions, not production or distribution of a vaccine. December 19—January 10 – Mexico City and the State of Mexico close non-essential businesses. December 21 Claudia Sheinbaum denies a report by The New York Times that her government falsified COVID data earlier this month in order to avoid declaring a stage red emergency. Guadalajara and Puerto Vallarta will ban non-essential activities starting December 25. January–March 2021 January 7 – Governor Mauricio Vila Dosal of Yucatan announces that the first phase of vaccines in the state will begin on January 12. January 8 Governor Carlos Miguel Aysa González of Campeche warns that the state may return to Yellow Alert for the first time since September 25 due to an increase in COVID-19 infections. Mexico City Head of Government Sheinbaum announces that the payroll tax will be forgiven for restaurants during January. UNAM offers ultrafreezers with a capacity of 10,500 liters to the government. Said freezers could store three or four million doses of the Pfizer vaccine at a temperature of -70 °C. January 9 – Joel Ayala Almeida, leader of the Federación de Sindicatos de Trabajadores al Servicio del Estado (government employees union, FSTSE), welcomes Cuban health workers who are arriving to held in the struggle against the pandemic. January 18 – Restaurants with terraces open in Mexico City, even though the area continues in "stoplight red" status. January 29 – AMLO declares that Mexico will import Oxford–AstraZeneca COVID-19 vaccine from India and produce some in Mexico starting February. Pfizer shipments should resume February 15. February 2 – Dr. Hugo López-Gatell announces that the Comisión Federal para la Protección contra Riesgos Sanitarios (Federal Commission for the Protection against Sanitary Risks, COFEPRIS) has authorized emergency use of the Sputnik V vaccine. February 4 INSABI declares it will purchase the Moderna COVID-19 vaccine starting July. AMLO, 67, reported he was healthy after a negative COVID-19 test, and he would soon be out of quarantine. He announced his illness on January 24. February 12 – Mexico City, Mexico State, and Jalisco move from Red to Orange alert. February 14 – 870,000 doses of AstraZeneca vaccine arrive from India. February 16 – 461,000 doses of Pfizer vaccine scheduled to arrive. February 20 – Dr. López-Gatell announced he had tested positive for the COVID-19 virus. February 24 Nearly 20,000 elderly people (60+) received the first dosis of the Sputnik V vaccine on the first of ten days in Iztacalco, Tláhuac and Xochimilco boroughs. The tenth vaccination center in Ecatepec opens at Universidad Estatal del Valle de Ecatepec with 200,000 doses of the Sinovac vaccine. López-Gatell was hospitalized at the Hospital Temporal Citi-Banamex. February 25 – Vaccinations begin with 20,450 doses of the Pfizer vaccine in Puerto Vallarta, Jalisco. March 1 – The White House said that the United States would not be sharing vaccines with Mexico until all of its domestic needs were satisfied. March 13 – AMLO announces that before the school year ends, teachers will be vaccinated and in-person classes will resume. Cancellations, suspensions, and closings Archaeological sites Teotihuacán, Xochicalco, El Tepozteco closed March 21–22, 2020. Chichén Itzá closed indefinitely starting March 21. Archaeological sites were reopened at partial capacity in mid-to-late September. Education Basic educationThe SEP announced on March 14, 2020 that all sporting and civic events in schools would be cancelled and that Easter break would be from March 20 to April 20. Remote learning (on-line, television, radio) for the 2020-2021 school year began in August. Higher education: The UNAM and Tec de Monterrey, switched to virtual classes on March 13. Autonomous University of the State of Morelos (UAEM) suspended classes on March 16. Autonomous University of Nuevo Leon (UANL) suspended classes from March 17 to April 20. Autonomous University of Guerrero (UAGRO) and Technical Institute of Guerrero (Chilpancingo) closed March 18. Colleges and universities across the country began a combination of on-line and in-person classes in September. The :es:Feria Internacional del Libro del Palacio de Minería (International book fair at the Palacio de Minería) is held virtually for the first time from February 18 to March 1, 2021. Entertainment OCESA cancelled all its events until April 19, 2020. Fairs: Authorities announced on March 14 they were considering the cancellation of the Festival Internacional de Cine de Guadalajara. In Mérida, the Tianguis Turístico was postponed to September. On January 21, 2021, it was announced that the Feria Nacional de San Marcos in Aguascalientes would be canceled for the second year in a row. Musical: Chicago suspended until April 17, 2020. Concerts: The Magic Numbers, Los Tigres del Norte, Red Orange County , Mercury Rev, María León, Sasha Sloan and Ricky Martin Conference: Michelle Obama Other: Bars, nightclubs, movie theaters, and museums were closed in Mexico City on March 22, 2020. Government President López Obrador suspended non-essential activities from March 26 to April 19, 2020. The health and energy sectors, the oil industry, and public services such as water supply, waste management and public safety continued to function. Industry Ford Motor Company, Honda and Audi closed their manufacturing plants in Mexico on March 18. Hundreds of hotel employees in Cancún were fired. Alsea (Starbucks, VIPS, Domino's Pizza, Burger King, Italianni's, Chili's, California Pizza Kitchen, P. F. Chang's China Bistro and The Cheesecake Factory) offered its employees unpaid leave. PROFECO closed two businesses in Tijuana Baja California, for price-gouging on March 25. Cinépolis and Cinemex announced that they will temporarily close all of their theaters starting March 25. Izta-Popo Zoquiapan National Park The Izta-Popo Zoquiapan National Park was partially reopened in March 2021 after closing for nearly a year. Ports of entry Air: Governor Alfaro Ramírez of Jalisco announced that beginning Thursday, March 26, eight states in the Bajío and western Mexico would block flights from areas that had a high rate of coronavirus. The restrictions would apply at the Miguel Hidalgo y Costilla Guadalajara International Airport and the Licenciado Gustavo Díaz Ordaz International Airport in Puerto Vallarta. Land: The United States Department of State announced on March 20 there would be restrictions on travel across the Mexico–United States border. The restrictions would not apply to cargo. On March 26, protesters in Sonora insisted that the government limit border crossings with the United States. The state of Chihuahua announced that it would start to quarantine migrants who are returned to the Ciudad Juárez border crossing. Citizens of Nogales, Sonora, blocked border crossing from Nogales, Arizona, in order to prevent the entrance of individuals with the virus infection and to prevent shortages of food, bottled water, toilet paper and cleaning supplies in local stores. Sea: The government announced on March 25 it would continue receiving cruise ships but that passengers would be individually "fumigated" before being taken directly to airports to be returned to their home countries. Sports Jalisco Open (tennis tournament) and CONCACAF Champions League (soccer) cancelled March 13. Formula One's Mexican Grand Prix, which has scheduled on 1 November, has cancelled on 24 July due to travel restrictions in the Americas and the host circuit has turned into COVID-19 emergency hospital. Religious events On March 17, the Passion Play of Iztapalapa in Mexico City moved to an undisclosed location indoors and televised on April 10. San Luis Potosí suspended wakes and funerals on March 29. Curfew established Mayor Juanita Romero (PAN) of Nacozari de García, Sonora, declared a curfew in effect until April 20. Greater Mexico City transportation Mexico City Metro: Line 1: Juanacatlán. Line 2: Allende, Panteones, Popotla. Line 4: Talismán, Bondojito, Canal del Norte, Fray Servando. Line 5: Aragón, Eduardo Molina, Hangares, Misterios, Valle Gómez. Line 6: Norte 45, Tezozómoc. Line 7: Constituyentes, Refinería, San Antonio. Line 8: Aculco, Cerro de la Estrella, La Viga, Obrera. Line 9: Ciudad Deportiva, Lázaro Cárdenas, Mixiuhca, Velódromo. Line 12: Eje Central, San Andrés Tomatlán, Tlaltenco. Line A: Agrícola Oriental, Canal de San Juan, Peñón Viejo. Line B: Olímpica, Deportivo Oceanía, Romero Rubio, Tepito. Mexico City Metrobús: Line 1: San Simón, Buenavista II, El Chopo, Campeche, Nápoles, Ciudad de los Deportes, Francia, Olivo, Ciudad Universitaria, Centro Cultural Universitario Line 2: Nicolás Bravo, Del Moral, CCH Oriente, Río Tecolutla, Álamos, Dr. Vértiz, Escandón, Antonio Maceo Line 3: Poniente 146, Poniente 134, Héroe de Nacozari, La Raza, Ricardo Flores Magón, Buenavista III, Obrero Mundial Line 5: Preparatoria 3, Río Guadalupe, Victoria, Río Santa Coleta, Archivo General de la Nación Line 6: Ampliación Providencia, 482, 416 Oriente, Francisco Morazán Line 7: Hospital Infantil La Villa, Necaxa, Clave, Glorieta Violeta, París, La Diana, Antropología Xochimilco Light Rail: Las Torres, Xotepingo, Tepepan, Francisco Goitia Hoy No Circula: Obligatory for all vehicles. Mail On March 31, Mexico's post suspended international mail service outside the United States and Canada due to cancellation of international passenger airline flights. On September 24, Mexico's post stated that it was able to dispatch mail to a growing number of destinations as flights return to normal, albeit with reduced capacity. Misinformation and criticism Mexico's federal government was perceived as slow to respond to the COVID-19 pandemic as of late March 2020, and it was met with criticism from certain sectors of society and the media. Through April 1, the government only performed 10,000 tests, compared to 200,000 that had been completed in New York state. Therefore, official statistics are likely to greatly underestimate the actual number of cases. The New York Times reported on May 8, 2020, that the federal government is underreporting deaths in Mexico City; the federal government reports 700 deaths in the city while local officials have detected over 2,500. President Andrés Manuel López Obrador continued to hold rallies, be hands-on with crowds, and downplay the threat of coronavirus to health and the economy. Miguel Barbosa Huerta, the governor of Puebla, claimed that only the wealthy were at risk of COVID-19, since the poor are immune. There is no evidence that wealth affects a person's vulnerability to the virus. Rumors about a curfew sparked the barricading of streets in San Felipe del Progreso, State of Mexico, on May 8, 2020. A rumor spread via WhatsApp that authorities were spreading gas contaminated with COVID-19 provoked vandalism of police cars in San Mateo Capulhuac, Otzolotepec, on May 9. Studies on the media framing of COVID-19 in Mexico claim newscasts and newspapers focused on the political side of the pandemic rather than on providing scientific and self-efficacy information. Researchers also demonstrated that the United States and Mexico failed to test, treat, and/or vaccinate deportees on either side of the border, leading to undiagnosed illness among migrants who were formerly held in crowded detention facilities as well as the sustained cross-border spread of SARS-CoV-2. Transition to endemic stage On April 26, 2022, President Obrador said that COVID-19 was "retreating almost completely" and that COVID-19 has moved on from a pandemic to an endemic stage. See also COVID-19 pandemic in North America COVID-19 pandemic by country 2020 in Mexico 2020s Fourth Transformation History of smallpox in Mexico Cocoliztli epidemics 1918 Spanish flu pandemic 2009 swine flu pandemic in Mexico HIV/AIDS in Latin America Dengue fever outbreaks 2014 chikungunya outbreak in Mexico 2015–2016 Zika virus epidemic Vaccination in Mexico Notes References External links Wikiversity:COVID-19/All-cause deaths/Mexico Mexico Mexico 2020 in Mexico 2021 in Mexico 2022 in Mexico Disease outbreaks in Mexico Andrés Manuel López Obrador Health disasters in Mexico
Acey is both a surname and a given name. Notable people with the name include: Taalam Acey (born 1970), American poet Acey Slade (born 1974), American guitarist References Feminine given names Masculine given names
```javascript import Texture from './Texture' import TextureArchive from './TextureArchive' export default function TextureAppMixin (ParentAppChrome) { return class TextureApp extends ParentAppChrome { render ($$) { let el = $$('div').addClass('sc-app') let { archive, error } = this.state if (archive) { const config = this._config const Texture = this._getAppClass() el.append( $$(Texture, { config, archive }).ref('texture') ) } else if (error) { let ErrorRenderer = this.getComponent(error.type) if (ErrorRenderer) { el.append( $$(ErrorRenderer, { error }) ) } else { el.append('ERROR:', error.message) } } else { // LOADING... } return el } _getAppClass () { return Texture } _getArchiveClass () { return TextureArchive } } } ```
```css Vertical percentages are relative to container width, not height Difference between `display: none` and `visibility: hidden` Fixed navigation bar Vertically-center anything Inherit `box-sizing` ```
```go package restful // Use of this source code is governed by a license // that can be found in the LICENSE file. import ( "errors" "fmt" "net/http" "sort" ) // RouterJSR311 implements the flow for matching Requests to Routes (and consequently Resource Functions) // as specified by the JSR311 path_to_url // RouterJSR311 implements the Router interface. // Concept of locators is not implemented. type RouterJSR311 struct{} // SelectRoute is part of the Router interface and returns the best match // for the WebService and its Route for the given Request. func (r RouterJSR311) SelectRoute( webServices []*WebService, httpRequest *http.Request) (selectedService *WebService, selectedRoute *Route, err error) { // Identify the root resource class (WebService) dispatcher, finalMatch, err := r.detectDispatcher(httpRequest.URL.Path, webServices) if err != nil { return nil, nil, NewError(http.StatusNotFound, "") } // Obtain the set of candidate methods (Routes) routes := r.selectRoutes(dispatcher, finalMatch) if len(routes) == 0 { return dispatcher, nil, NewError(http.StatusNotFound, "404: Page Not Found") } // Identify the method (Route) that will handle the request route, ok := r.detectRoute(routes, httpRequest) return dispatcher, route, ok } // ExtractParameters is used to obtain the path parameters from the route using the same matching // engine as the JSR 311 router. func (r RouterJSR311) ExtractParameters(route *Route, webService *WebService, urlPath string) map[string]string { webServiceExpr := webService.pathExpr webServiceMatches := webServiceExpr.Matcher.FindStringSubmatch(urlPath) pathParameters := r.extractParams(webServiceExpr, webServiceMatches) routeExpr := route.pathExpr routeMatches := routeExpr.Matcher.FindStringSubmatch(webServiceMatches[len(webServiceMatches)-1]) routeParams := r.extractParams(routeExpr, routeMatches) for key, value := range routeParams { pathParameters[key] = value } return pathParameters } func (RouterJSR311) extractParams(pathExpr *pathExpression, matches []string) map[string]string { params := map[string]string{} for i := 1; i < len(matches); i++ { if len(pathExpr.VarNames) >= i { params[pathExpr.VarNames[i-1]] = matches[i] } } return params } // path_to_url#x3-360003.7.2 func (r RouterJSR311) detectRoute(routes []Route, httpRequest *http.Request) (*Route, error) { candidates := make([]*Route, 0, 8) for i, each := range routes { ok := true for _, fn := range each.If { if !fn(httpRequest) { ok = false break } } if ok { candidates = append(candidates, &routes[i]) } } if len(candidates) == 0 { if trace { traceLogger.Printf("no Route found (from %d) that passes conditional checks", len(routes)) } return nil, NewError(http.StatusNotFound, "404: Not Found") } // http method previous := candidates candidates = candidates[:0] for _, each := range previous { if httpRequest.Method == each.Method { candidates = append(candidates, each) } } if len(candidates) == 0 { if trace { traceLogger.Printf("no Route found (in %d routes) that matches HTTP method %s\n", len(previous), httpRequest.Method) } return nil, NewError(http.StatusMethodNotAllowed, "405: Method Not Allowed") } // content-type contentType := httpRequest.Header.Get(HEADER_ContentType) previous = candidates candidates = candidates[:0] for _, each := range previous { if each.matchesContentType(contentType) { candidates = append(candidates, each) } } if len(candidates) == 0 { if trace { traceLogger.Printf("no Route found (from %d) that matches HTTP Content-Type: %s\n", len(previous), contentType) } if httpRequest.ContentLength > 0 { return nil, NewError(http.StatusUnsupportedMediaType, "415: Unsupported Media Type") } } // accept previous = candidates candidates = candidates[:0] accept := httpRequest.Header.Get(HEADER_Accept) if len(accept) == 0 { accept = "*/*" } for _, each := range previous { if each.matchesAccept(accept) { candidates = append(candidates, each) } } if len(candidates) == 0 { if trace { traceLogger.Printf("no Route found (from %d) that matches HTTP Accept: %s\n", len(previous), accept) } return nil, NewError(http.StatusNotAcceptable, "406: Not Acceptable") } // return r.bestMatchByMedia(outputMediaOk, contentType, accept), nil return candidates[0], nil } // path_to_url#x3-360003.7.2 // n/m > n/* > */* func (r RouterJSR311) bestMatchByMedia(routes []Route, contentType string, accept string) *Route { // TODO return &routes[0] } // path_to_url#x3-360003.7.2 (step 2) func (r RouterJSR311) selectRoutes(dispatcher *WebService, pathRemainder string) []Route { filtered := &sortableRouteCandidates{} for _, each := range dispatcher.Routes() { pathExpr := each.pathExpr matches := pathExpr.Matcher.FindStringSubmatch(pathRemainder) if matches != nil { lastMatch := matches[len(matches)-1] if len(lastMatch) == 0 || lastMatch == "/" { // do not include if value is neither empty nor /. filtered.candidates = append(filtered.candidates, routeCandidate{each, len(matches) - 1, pathExpr.LiteralCount, pathExpr.VarCount}) } } } if len(filtered.candidates) == 0 { if trace { traceLogger.Printf("WebService on path %s has no routes that match URL path remainder:%s\n", dispatcher.rootPath, pathRemainder) } return []Route{} } sort.Sort(sort.Reverse(filtered)) // select other routes from candidates whoes expression matches rmatch matchingRoutes := []Route{filtered.candidates[0].route} for c := 1; c < len(filtered.candidates); c++ { each := filtered.candidates[c] if each.route.pathExpr.Matcher.MatchString(pathRemainder) { matchingRoutes = append(matchingRoutes, each.route) } } return matchingRoutes } // path_to_url#x3-360003.7.2 (step 1) func (r RouterJSR311) detectDispatcher(requestPath string, dispatchers []*WebService) (*WebService, string, error) { filtered := &sortableDispatcherCandidates{} for _, each := range dispatchers { matches := each.pathExpr.Matcher.FindStringSubmatch(requestPath) if matches != nil { filtered.candidates = append(filtered.candidates, dispatcherCandidate{each, matches[len(matches)-1], len(matches), each.pathExpr.LiteralCount, each.pathExpr.VarCount}) } } if len(filtered.candidates) == 0 { if trace { traceLogger.Printf("no WebService was found to match URL path:%s\n", requestPath) } return nil, "", errors.New("not found") } sort.Sort(sort.Reverse(filtered)) return filtered.candidates[0].dispatcher, filtered.candidates[0].finalMatch, nil } // Types and functions to support the sorting of Routes type routeCandidate struct { route Route matchesCount int // the number of capturing groups literalCount int // the number of literal characters (means those not resulting from template variable substitution) nonDefaultCount int // the number of capturing groups with non-default regular expressions (i.e. not ([^ /]+?)) } func (r routeCandidate) expressionToMatch() string { return r.route.pathExpr.Source } func (r routeCandidate) String() string { return fmt.Sprintf("(m=%d,l=%d,n=%d)", r.matchesCount, r.literalCount, r.nonDefaultCount) } type sortableRouteCandidates struct { candidates []routeCandidate } func (rcs *sortableRouteCandidates) Len() int { return len(rcs.candidates) } func (rcs *sortableRouteCandidates) Swap(i, j int) { rcs.candidates[i], rcs.candidates[j] = rcs.candidates[j], rcs.candidates[i] } func (rcs *sortableRouteCandidates) Less(i, j int) bool { ci := rcs.candidates[i] cj := rcs.candidates[j] // primary key if ci.literalCount < cj.literalCount { return true } if ci.literalCount > cj.literalCount { return false } // secundary key if ci.matchesCount < cj.matchesCount { return true } if ci.matchesCount > cj.matchesCount { return false } // tertiary key if ci.nonDefaultCount < cj.nonDefaultCount { return true } if ci.nonDefaultCount > cj.nonDefaultCount { return false } // quaternary key ("source" is interpreted as Path) return ci.route.Path < cj.route.Path } // Types and functions to support the sorting of Dispatchers type dispatcherCandidate struct { dispatcher *WebService finalMatch string matchesCount int // the number of capturing groups literalCount int // the number of literal characters (means those not resulting from template variable substitution) nonDefaultCount int // the number of capturing groups with non-default regular expressions (i.e. not ([^ /]+?)) } type sortableDispatcherCandidates struct { candidates []dispatcherCandidate } func (dc *sortableDispatcherCandidates) Len() int { return len(dc.candidates) } func (dc *sortableDispatcherCandidates) Swap(i, j int) { dc.candidates[i], dc.candidates[j] = dc.candidates[j], dc.candidates[i] } func (dc *sortableDispatcherCandidates) Less(i, j int) bool { ci := dc.candidates[i] cj := dc.candidates[j] // primary key if ci.matchesCount < cj.matchesCount { return true } if ci.matchesCount > cj.matchesCount { return false } // secundary key if ci.literalCount < cj.literalCount { return true } if ci.literalCount > cj.literalCount { return false } // tertiary key return ci.nonDefaultCount < cj.nonDefaultCount } ```
```objective-c // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FloatClipDisplayItem_h #define FloatClipDisplayItem_h #include "platform/PlatformExport.h" #include "platform/geometry/FloatRect.h" #include "platform/graphics/paint/DisplayItem.h" #include "wtf/PassOwnPtr.h" namespace blink { class RoundedRect; class PLATFORM_EXPORT FloatClipDisplayItem : public PairedBeginDisplayItem { public: FloatClipDisplayItem(const DisplayItemClientWrapper& client, Type type, const FloatRect& clipRect) : PairedBeginDisplayItem(client, type) , m_clipRect(clipRect) { ASSERT(isFloatClipType(type)); } void replay(GraphicsContext&) override; void appendToWebDisplayItemList(WebDisplayItemList*) const override; private: #ifndef NDEBUG void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override; #endif const FloatRect m_clipRect; }; class PLATFORM_EXPORT EndFloatClipDisplayItem : public PairedEndDisplayItem { public: EndFloatClipDisplayItem(const DisplayItemClientWrapper& client, Type type) : PairedEndDisplayItem(client, type) { ASSERT(isEndFloatClipType(type)); } void replay(GraphicsContext&) override; void appendToWebDisplayItemList(WebDisplayItemList*) const override; private: #if ENABLE(ASSERT) bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return DisplayItem::isFloatClipType(otherType); } #endif }; } // namespace blink #endif // FloatClipDisplayItem_h ```
"Kray, miy ridniy kray" (, English: My homeland, my native homeland) is a song originally recorded by Sofia Rotaru for her 1981 album Sofia Rotaru and Chervona Ruta. Description According to the Ukrainian and Russian press, the song became a major hit in 1979, the year of its first performance. It was first performed on 10 November 1979 at concert commemorated to the Day of Soviet Militsiya at Pillar Hall of the House of the Unions in Moscow. It was the second such achievement for a Ukrainian song within the former USSR and internationally, after the song "Chervona Ruta". The lyrics and the music were composed by Mykola Mozghovyi. The song remains popular today with numerous recorded cover versions, namely by Ani Lorak and Taisia Povaliy. Ruslana, the winner of the Eurovision Song Contest 2004 also made a cover of the song in collaboration with the Balkan musician Goran Bregovich. Among others, the song was released as a 1979 extended play (EP) Moy Kray (Мой край/My Homeland) by Melodiya, as a flexi by Krugozor No 7 in 1981 and was also included in numerous films and concert programmes, such as Vas priglashayet Sofia Rotaru of 1986. A modern remixed version of the song appears on track 14 of the 2003 album Yedinomu. In 1980, Sofia Rotaru enters the final of the 1980 Song of the Year with the original version for the song. The name of the song is Krai which in the Ukrainian language means the land with implication of a homeland. The song tells about the land of Prykarpattia between the rivers of Cheremosh and Prut. Recording The original track was recorded at Kiev studios of Melodiya. See also Melancolie References External links Sofia Rotaru songs 1979 songs Ukrainian-language songs Soviet songs Dance-pop songs
Dalkhola is a city and a municipality of Uttar Dinajpur district in the state of West Bengal, India. History Dalkhola was originally in the state of Bihar in India. After 1959, Dalkhola was located in the state of West Bengal. The town expanded around the Dalkhola village Panchayats and developed into an important centre for trade and commerce due to mainstream connection with both Railway and Roadway. It is an important center for commodities like jute, corn and oil trade in Uttar Dinajpur. It is also an important center for the trade of maize, which is produced in the neighboring state of Bihar. Before, and for some time after, the independence of India in 1947, Dalkhola was a sleepy, rural area where some Pucca and Kaccha roads were connected. The area was mostly covered by jungle, and only some parts of the town were suitable for living. The residents' main source of income was agriculture and fishery in the Mahananda River. It was ruled by Raja P. C. Lal. After the partition of India, numerous refugees came to Dalkhola from Bangladesh (formerly known as East Pakistan) and started living in surrounding rural areas. In 1956 the area was transferred to the territory of West Bengal by the tireless efforts of the then Chief Minister Dr. B. C. Roy. It is an important place in this region, as NH 12 and NH 27 intersect at this place. Small villages are administered by the Panchayat Ministry, and they have gradually developed into busy market zones, which gradually converted into small townships. With the growth of population and economic activities, the people of Dalkhola experienced a massive change – in terms of both socio-economic development and quality of life. As a consequence, Dalkhola Municipality was set up on 1 January 2003 to foster social and economic development. Politics Dalkhola became a municipality in 2003. In the Dalkhola municipal area, there were 14 Wards. But now 2 more ward are divided now there are 16 wards. In last election, the Indian National Congress won 9 seats out of 14, and the Communist Party of India (Marxist) won the other 5 seats. It is one of the four municipalities in North Dinajpur district. Dalkhola has 16 now. in Recently 2013 Municipality election Congress won 10 seats, cpim 4 and Tmc 2. Now whole councillors of congress party joined Trinamool Congress nd now the status are TMC 12, CPIM 4 and CONG 0, On general civic body election 2022 Dalkhola's figures are 12 Trinamool Congress, 4 Independent Geography Dalkhola has an average elevation of 23 meters (75 feet) and is located at . In the map alongside, all places marked on the map are linked in the full screen version. It is the second-largest area in the Uttar Dinajpur district, with a length 13 km from East to West, 18 km from North to South. Dalkhola was divided on the 14 wards. But now to more wards are added, 9 number ward divided into 9 and 16 and 11 number ward divided into 11 and 15. The following 16 ward are: Muhammad Pur Hari Pur Bhusamani Mithapur Malickpur More Deshbandhu Para Dalkhola Bazar High School Para Dalkhola Basti Subhash Pally Farsara Bidhan Pally Uttar Dalkhola Purnia More Shikar Pur Nichit Pur Binoy colony Shree pally Vivekananda pally Hatbari College para College more High school more Climate The cooler months in Dalkhola begin in December and end in February. The temperature generally peaks at about 35 °C. The annual low temperature is usually near 10 °C. The monsoon season starts in June and runs through September. Development Dalkhola is the largest exporter of Maize in West Bengal. In Dalkhola, a national level Power Grid was established in 1973, which expanded the availability of electricity to the Municipality and nearby areas of Dalkhola . Other developments include a Flour Mill, Tantia agro chemical Pvt Ltd and maize processing company which use the crops produced by local farmers. Official languages As per the West Bengal Official Language (Amendment) Act, 2012, which came into force from December 2012, Urdu was given the status of official language in areas, such as subdivisions and blocks, having more than 10% Urdu speaking population. In Uttar Dinajpur district, Goalpokhar I and II blocks, Islampur block and Islampur municipality were identified as fulfilling the norms set In 2014, Calcutta High Court, in an order, included Dalkhola municipality in the list. Schools The schools in Dalkhola include: Dalkhola High School (H.S) Dalkhola Girls High School (H.S) Uttar Dalkhola High School (H.S) Hindi High School (H.S) Middle School Farsara F.P School Nazarpur F.P School Jawahar Navadoya Vidyalaya, Dalkhola Dalkhola Urdu Jr High School Itvata F.P. School Sarsar F.F. School Nichitpur F. P. School Subhash Pally F.P. School English medium schools St. Mary's School (Dalkhola) St. Stephen's School St. Xavier's School (Dalkhola) Dalkhola Public School (D.P.S) Iqra Public School Children's Academy South Point Public school (Loknathpara) Holy Cross School National Public School (High School Para) St Ignatius School College Shree Agrasen Mahavidyalaya was established in 1995. Affiliated to the University of Gour Banga it offers honours courses in Bengali, Hindi, English, history, political science, sociology and accountancy, and general courses in arts and commerce. Urdu is taught as a general subject. Demographics As per the 2011 Census of India, Dalkhola had a total population of 36,930, of which 19,230 (52%) were males and 17,700 (48%) were females. Population below 6 years was 5,592. The total number of literates in Dalkhola was 21,207 (67.67% of the population over 6 years). In the 2001 India census, Dalkhola had a population of 13,891. In 2008, the population grew to approximately 19,000. Males constituted 54% of the population and females 46%. The literacy rate in Dalkhola of 69% was greater than the national average of 59.5%; male literacy was 70% and female literacy was 63%. In Dalkhola, 18% of the population was under 6 years of age. Decadal growth for the period 1991 to 2001 was 30.41% in Dalkhola, compared to 28.72% in the Uttar Dinajpur district. Decadal growth in West Bengal was 17.84%. Year of Establishment Dalkhola Municipality has been formed on 01 /01 /2003 as per Notification No. 1 /MA/0 /C-4 /1 M-14 / 2000 with the entire area of Dalkhola 1 and four mouza of Dalkhola 2 gram panchayats with a population of 29783 according to the census of 2001. Dalkhola Municipality is the 4 th Municipality of Uttar Dinajpur district constituted with 14 wards and first election was held on 22 /06 /2003 and second election was held on 29 /06 /2008. Sri Himadri Mukharjee was the first chairman and Sri Subhas Goshwami has become the Chairman in the second. Sri Tanay Day was the 3 rd Chairman. Swadesh sarkar is on chair. Transport Highway 34 cuts through the middle of the town to meet NH 31. NH 34 starts from Dalkhola and it ends in Dumdum, near Kolkata to help northeastern part of India to connect kolkata. There are two airports near Dalkhola. Bagdogra Airport is 100 km away, and Purnea Airport is 40 km from Dalkhola. The largest railway station and busiest Rack point in the district is located in Dalkhola. This railway connects to several major cities, including Siliguri, Kolkata, Guwahati, Delhi, Jaipur, Chennai and Patna. Bus transportation runs from Dalkhola to Siliguri, Raiganj, Kishanganj, Kaliaganj, Balurghat, and Malda. AC bus services for Kolkata, Bhutan, Patna and Siliguri are also available from Dalkhola. Festivals Many religious festivals are observed in Dalkhola. The three largest festivals are Durga puja, Eid, and Diwali. Other festivals include Holi, Kurbani, Chhat Puja, Muharram, Saraswati Puja, Kali Puja, Dushera, Christmas, and Bishwakarama Puja. Muslims religious festival are observed in Dalkhola. The three largest festival are [Eid ultimate zuha] Eid ul fitr & Moharram. Media Dalkhola press club is under on North Bengal Press club. Dalkhola News is social news portal for local news References External links news and many more by Akhtar ahmed other details of Dalkhola PHOTOS or IMAGES of DALKHOLA Cities and towns in Uttar Dinajpur district Cities in West Bengal
George Dance may refer to: George Dance the Elder, English architect George Dance the Younger, English architect, son of George Dance the Elder George Dance (politician), Canadian politician Sir George Dance (dramatist), English lyricist and librettist
```javascript // Navigation const applyScrollPadding = () => { const header = document.querySelector('.page-header'); let position = header.getBoundingClientRect(); document.documentElement.style.scrollPaddingTop = position.height.toString() + 'px'; const r = document.querySelector(':root'); r.style.setProperty('--navbar-height', position.height.toString() + 'px'); }; window.addEventListener("DOMContentLoaded", () => { const dropdownMenus = document.querySelectorAll( ".nav-dropdown > .nav-link", ); dropdownMenus.forEach((toggler) => { toggler?.addEventListener("click", (e) => { e.target.parentElement.classList.toggle("active"); }); }); applyScrollPadding() }); ```
```go // // // path_to_url // // Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. package jaeger import ( "testing" "github.com/stretchr/testify/require" "github.com/uber/jaeger-lib/metrics/metricstest" ) func TestNewMetrics(t *testing.T) { factory := metricstest.NewFactory(0) m := NewMetrics(factory, map[string]string{"lib": "jaeger"}) require.NotNil(t, m.SpansStartedSampled, "counter not initialized") require.NotNil(t, m.ReporterQueueLength, "gauge not initialized") m.SpansStartedSampled.Inc(1) m.ReporterQueueLength.Update(11) factory.AssertCounterMetrics(t, metricstest.ExpectedMetric{ Name: "jaeger.tracer.started_spans", Tags: map[string]string{"lib": "jaeger", "sampled": "y"}, Value: 1, }, ) factory.AssertGaugeMetrics(t, metricstest.ExpectedMetric{ Name: "jaeger.tracer.reporter_queue_length", Tags: map[string]string{"lib": "jaeger"}, Value: 11, }, ) } ```
```javascript /*! * froala_editor v4.0.0 (path_to_url */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FroalaEditor=t()}(this,function(){"use strict";function kt(e){return(kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return-1<n}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(null!=a)for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])}return n},writable:!0,configurable:!0}),function(){var i=/^\s*:scope/gi,s=/,\s*:scope/gi,l=document.createElement("div");function e(e,t){var o=e[t];e[t]=function(e){var t,n=!1,r=!1;if(!e||Array.isArray(e)||!e.match(i)&&!e.match(s))return o.call(this,e);this.parentNode||(l.appendChild(this),r=!0);var a=this.parentNode;return this.id||(this.id="rootedQuerySelector_id_".concat((new Date).getTime()),n=!0),t=o.call(a,e.replace(i,"#".concat(this.id)).replace(s,",#".concat(this.id))),n&&(this.id=""),r&&l.removeChild(this),t}}try{var t=l.querySelectorAll(":scope *");if(!t||Array.isArray(t))throw"error"}catch(n){e(Element.prototype,"querySelector"),e(Element.prototype,"querySelectorAll"),e(HTMLElement.prototype,"querySelector"),e(HTMLElement.prototype,"querySelectorAll")}}(),"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("path_to_url","g"))||function(e){if("Element"in e){var t="classList",n="prototype",r=e.Element[n],a=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},s=function s(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function l(e,t){if(""===t)throw new s("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","The token must not contain space characters.");return i.call(e,t)},c=function c(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,a=n.length;r<a;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},d=c[n]=[],f=function f(){return new c(this)};if(s[n]=Error[n],d.item=function(e){return this[e]||null},d.contains=function(e){return~l(this,e+"")},d.add=function(){for(var e,t=arguments,n=0,r=t.length,a=!1;e=t[n]+"",~l(this,e)||(this.push(e),a=!0),++n<r;);a&&this._updateClassName()},d.remove=function(){var e,t,n=arguments,r=0,a=n.length,o=!1;do{for(e=n[r]+"",t=l(this,e);~t;)this.splice(t,1),o=!0,t=l(this,e)}while(++r<a);o&&this._updateClassName()},d.toggle=function(e,t){var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},d.replace=function(e,t){var n=l(e+"");~n&&(this.splice(n,1,t),this._updateClassName())},d.toString=function(){return this.join(" ")},a.defineProperty){var p={get:f,enumerable:!0,configurable:!0};try{a.defineProperty(r,t,p)}catch(u){void 0!==u.number&&-2146823252!==u.number||(p.enumerable=!1,a.defineProperty(r,t,p))}}else a[n].__defineGetter__&&r.__defineGetter__(t,f)}}(self),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function Yc(e){var Yc=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var t,n=arguments.length;for(t=0;t<n;t++)e=arguments[t],Yc.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var n=this.toString().split(" "),r=n.indexOf(e+"");~r&&(n=n.slice(r),this.remove.apply(this,n),this.add(t),this.add.apply(this,n.slice(1)))}),e=null}());function xt(e,t,n){if("string"!=typeof e)return new xt.Bootstrap(e,t,n);var r=document.querySelectorAll(e);t&&t.iframe_document&&(r=t.iframe_document.querySelectorAll(e));for(var a=[],o=0;o<r.length;o++){var i=r[o]["data-froala.editor"];i?a.push(i):a.push(new xt.Bootstrap(r[o],t,n))}return 1==a.length?a[0]:a}xt.RegisterPlugins=function(e){for(var t=0;t<e.length;t++)e[t].call(xt)},Object.assign(xt,{DEFAULTS:{initOnClick:!1,pluginsEnabled:null},MODULES:{},PLUGINS:{},VERSION:"4.0.0",INSTANCES:[],OPTS_MAPPING:{},SHARED:{},ID:0}),xt.MODULES.node=function(i){var n=i.$;function s(e){return e&&"IFRAME"!==e.tagName?Array.prototype.slice.call(e.childNodes||[]):[]}function l(e){return!!e&&(e.nodeType===Node.ELEMENT_NODE&&0<=xt.BLOCK_TAGS.indexOf(e.tagName.toLowerCase()))}function c(e){var t={},n=e.attributes;if(n)for(var r=0;r<n.length;r++){var a=n[r];t[a.nodeName]=a.value}return t}function t(e){for(var t="",n=c(e),r=Object.keys(n).sort(),a=0;a<r.length;a++){var o=r[a],i=n[o];i.indexOf("'")<0&&0<=i.indexOf('"')?t+=" ".concat(o,"='").concat(i,"'"):(0<=i.indexOf('"')&&0<=i.indexOf("'")&&(i=i.replace(/"/g,"&quot;")),t+=" ".concat(o,'="').concat(i,'"'))}return t}function r(e){return e===i.el}return{isBlock:l,isEmpty:function d(e,t){if(!e)return!0;if(e.querySelector("table"))return!1;var n=s(e);1===n.length&&l(n[0])&&(n=s(n[0]));for(var r=!1,a=0;a<n.length;a++){var o=n[a];if(!(t&&i.node.hasClass(o,"fr-marker")||o.nodeType===Node.TEXT_NODE&&0===o.textContent.length)){if("BR"!==o.tagName&&0<(o.textContent||"").replace(/\u200B/gi,"").replace(/\n/g,"").length)return!1;if(r)return!1;"BR"===o.tagName&&(r=!0)}}return!(e.querySelectorAll(xt.VOID_ELEMENTS.join(",")).length-e.querySelectorAll("br").length||e.querySelector("".concat(i.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||1<e.querySelectorAll(xt.BLOCK_TAGS.join(",")).length||e.querySelector("".concat(i.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),":not(.fr-marker)")))},blockParent:function a(e){for(;e&&e.parentNode!==i.el&&(!e.parentNode||!i.node.hasClass(e.parentNode,"fr-inner"));)if(l(e=e.parentNode))return e;return null},deepestParent:function o(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=!0),t.push(i.el),0<=t.indexOf(e.parentNode)||e.parentNode&&i.node.hasClass(e.parentNode,"fr-inner")||e.parentNode&&0<=xt.SIMPLE_ENTER_TAGS.indexOf(e.parentNode.tagName)&&n)return null;for(;t.indexOf(e.parentNode)<0&&e.parentNode&&!i.node.hasClass(e.parentNode,"fr-inner")&&(xt.SIMPLE_ENTER_TAGS.indexOf(e.parentNode.tagName)<0||!n)&&(!l(e)||l(e.parentNode))&&(!l(e)||!l(e.parentNode)||!n);)e=e.parentNode;return e},rawAttributes:c,attributes:t,clearAttributes:function f(e){for(var t=e.attributes,n=t.length-1;0<=n;n--){var r=t[n];e.removeAttribute(r.nodeName)}},openTagString:function p(e){return"<".concat(e.tagName.toLowerCase()).concat(t(e),">")},closeTagString:function u(e){return"</".concat(e.tagName.toLowerCase(),">")},isFirstSibling:function h(e,t){void 0===t&&(t=!0);for(var n=e.previousSibling;n&&t&&i.node.hasClass(n,"fr-marker");)n=n.previousSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&h(n)},isLastSibling:function g(e,t){void 0===t&&(t=!0);for(var n=e.nextSibling;n&&t&&i.node.hasClass(n,"fr-marker");)n=n.nextSibling;return!n||n.nodeType===Node.TEXT_NODE&&""===n.textContent&&g(n)},isList:function m(e){return!!e&&0<=["UL","OL"].indexOf(e.tagName)},isLink:function v(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&"a"===e.tagName.toLowerCase()},isElement:r,contents:s,isVoid:function b(e){return e&&e.nodeType===Node.ELEMENT_NODE&&0<=xt.VOID_ELEMENTS.indexOf((e.tagName||"").toLowerCase())},hasFocus:function C(e){return e===i.doc.activeElement&&(!i.doc.hasFocus||i.doc.hasFocus())&&Boolean(r(e)||e.type||e.href||~e.tabIndex)},isEditable:function E(e){return(!e.getAttribute||"false"!==e.getAttribute("contenteditable"))&&["STYLE","SCRIPT"].indexOf(e.tagName)<0},isDeletable:function y(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=(e.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function L(e,t){return e instanceof n&&(e=e.get(0)),e&&e.classList&&e.classList.contains(t)},filter:function _(e){return i.browser.msie?e:{acceptNode:e}}}},Object.assign(xt.DEFAULTS,{DOMPurify:window.DOMPurify,htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","script","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video","wbr"],htmlRemoveTags:["script","style"],htmlAllowedAttrs:["accept","accept-charset","accesskey","action","align","allowfullscreen","allowtransparency","alt","async","autocomplete","autofocus","autoplay","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","frameborder","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","mozallowfullscreen","multiple","muted","name","novalidate","open","optimum","pattern","ping","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","webkitallowfullscreen","width","wrap"],htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),xt.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"},xt.MODULES.clean=function(f){var d,p,u,h,g=f.$;function a(e){if(e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=e.getAttribute("class").indexOf("fr-marker"))return!1;var t,n=f.node.contents(e),r=[];for(t=0;t<n.length;t++)n[t].nodeType!==Node.ELEMENT_NODE||f.node.isVoid(n[t])?n[t].nodeType===Node.TEXT_NODE&&(n[t].textContent=n[t].textContent.replace(/\u200b/g,"")):n[t].textContent.replace(/\u200b/g,"").length!==n[t].textContent.length&&a(n[t]);if(e.nodeType===Node.ELEMENT_NODE&&!f.node.isVoid(e)&&(e.normalize(),n=f.node.contents(e),r=e.querySelectorAll(".fr-marker"),n.length-r.length==0)){for(t=0;t<n.length;t++)if(n[t].nodeType===Node.ELEMENT_NODE&&(n[t].getAttribute("class")||"").indexOf("fr-marker")<0)return!1;for(t=0;t<r.length;t++)e.parentNode.insertBefore(r[t].cloneNode(!0),e);return e.parentNode.removeChild(e),!1}}function s(e,t){if(e.nodeType===Node.COMMENT_NODE)return"\x3c!--".concat(e.nodeValue,"--\x3e");if(e.nodeType===Node.TEXT_NODE)return t?e.textContent.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):e.textContent.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00A0/g,"&nbsp;").replace(/\u0009/g,"");if(e.nodeType!==Node.ELEMENT_NODE)return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(e.tagName))return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&"svg"===e.tagName){var n=document.createElement("div"),r=e.cloneNode(!0);return n.appendChild(r),n.innerHTML}if("IFRAME"===e.tagName)return e.outerHTML.replace(/&lt;/g,"<").replace(/&gt;/g,">");var a=e.childNodes;if(0===a.length)return e.outerHTML;for(var o="",i=0;i<a.length;i++)"PRE"===e.tagName&&(t=!0),o+=s(a[i],t);return f.node.openTagString(e)+o+f.node.closeTagString(e)}var l=[];function m(e){var t=e.replace(/;;/gi,";");return";"!==(t=t.replace(/^;/gi,"")).charAt(t.length)&&(t+=";"),t}function c(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=t.match(u),r=null;"style"===t&&f.opts.htmlAllowedStyleProps.length&&(r=e[t].match(h)),n&&r?e[t]=m(r.join(";")):n&&("style"!==t||r)||delete e[t]}for(var a="",o=Object.keys(e).sort(),i=0;i<o.length;i++)e[t=o[i]].indexOf('"')<0?a+=" ".concat(t,'="').concat(e[t],'"'):a+=" ".concat(t,"='").concat(e[t],"'");return a}function v(e,t){var n,r=document.implementation.createHTMLDocument("Froala DOC").createElement("DIV");g(r).append(e);var a="";if(r){var o=f.node.contents(r);for(n=0;n<o.length;n++)t(o[n]);for(o=f.node.contents(r),n=0;n<o.length;n++)a+=s(o[n])}return a}function b(e,t,n){var r=e=function o(e){return l=[],e=(e=(e=(e=e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,function(e){return l.push(e),"[FROALA.EDITOR.SCRIPT ".concat(l.length-1,"]")})).replace(/<noscript\b[^<]*(?:(?!<\/noscript>)<[^<]*)*<\/noscript>/gi,function(e){return l.push(e),"[FROALA.EDITOR.NOSCRIPT ".concat(l.length-1,"]")})).replace(/<meta((?:[\w\W]*?)) http-equiv="/g,'<meta$1 data-fr-http-equiv="')).replace(/<img((?:[\w\W]*?)) src="/g,'<img$1 data-fr-src="')}(e),a=null;return f.opts.fullPage&&(r=f.html.extractNode(e,"body")||(0<=e.indexOf("<body")?"":e),n&&(a=f.html.extractNode(e,"head")||"")),r=v(r,t),a&&(a=v(a,t)),function i(e){return e=(e=(e=e.replace(/\[FROALA\.EDITOR\.SCRIPT ([\d]*)\]/gi,function(e,t){return 0<=f.opts.htmlRemoveTags.indexOf("script")?"":l[parseInt(t,10)]})).replace(/\[FROALA\.EDITOR\.NOSCRIPT ([\d]*)\]/gi,function(e,t){if(0<=f.opts.htmlRemoveTags.indexOf("noscript"))return"";var n=l[parseInt(t,10)].replace(/&lt;/g,"<").replace(/&gt;/g,">"),r=g(n);if(r&&r.length){var a=v(r.html(),E);r.html(a),n=r.get(0).outerHTML}return n})).replace(/<img((?:[\w\W]*?)) data-fr-src="/g,'<img$1 src="')}(function s(e,t,n){if(f.opts.fullPage){var r=f.html.extractDoctype(n),a=c(f.html.extractNodeAttrs(n,"html"));t=null===t?f.html.extractNode(n,"head")||"<title></title>":t;var o=c(f.html.extractNodeAttrs(n,"head")),i=c(f.html.extractNodeAttrs(n,"body"));return"".concat(r,"<html").concat(a,"><head").concat(o,">").concat(t,"</head><body").concat(i,">").concat(e,"</body></html>")}return e}(r,a,e))}function C(e){var t=f.doc.createElement("DIV");return t.innerText=e,t.textContent}function E(e){for(var t=f.node.contents(e),n=0;n<t.length;n++)t[n].nodeType!==Node.TEXT_NODE&&E(t[n]);!function c(i){if("SPAN"===i.tagName&&0<=(i.getAttribute("class")||"").indexOf("fr-marker"))return!1;if("PRE"===i.tagName&&function l(e){var t=e.innerHTML;0<=t.indexOf("\n")&&(e.innerHTML=t.replace(/\n/g,"<br>"))}(i),i.nodeType===Node.ELEMENT_NODE&&(i.getAttribute("data-fr-src")&&0!==i.getAttribute("data-fr-src").indexOf("blob:")&&i.setAttribute("data-fr-src",f.helpers.sanitizeURL(C(i.getAttribute("data-fr-src")))),i.getAttribute("href")&&i.setAttribute("href",f.helpers.sanitizeURL(C(i.getAttribute("href")))),i.getAttribute("src")&&i.setAttribute("src",f.helpers.sanitizeURL(C(i.getAttribute("src")))),i.getAttribute("srcdoc")&&i.setAttribute("srcdoc",f.clean.html(i.getAttribute("srcdoc"))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(i.tagName)&&(i.innerHTML=i.innerHTML.trim())),!f.opts.pasteAllowLocalImages&&i.nodeType===Node.ELEMENT_NODE&&"IMG"===i.tagName&&i.getAttribute("data-fr-src")&&0===i.getAttribute("data-fr-src").indexOf("file://"))return i.parentNode.removeChild(i),!1;if(i.nodeType===Node.ELEMENT_NODE&&xt.HTML5Map[i.tagName]&&""===f.node.attributes(i)){var e=xt.HTML5Map[i.tagName],t="<".concat(e,">").concat(i.innerHTML,"</").concat(e,">");i.insertAdjacentHTML("beforebegin",t),(i=i.previousSibling).parentNode.removeChild(i.nextSibling)}if(f.opts.htmlAllowComments||i.nodeType!==Node.COMMENT_NODE)if(i.tagName&&i.tagName.match(p))"STYLE"==i.tagName&&f.helpers.isMac()&&function(){var e,n=i.innerHTML.trim(),r=[],t=/{([^}]+)}/g;for(n=n.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*|<!--[\s\S]*?-->$/,"");e=t.exec(n);)r.push(e[1]);for(var a=function a(t){var e=n.substring(0,n.indexOf("{")).trim();0==!/^[a-z_-][a-z\d_-]*$/i.test(e)&&i.parentNode.querySelectorAll(e).forEach(function(e){e.removeAttribute("class"),e.setAttribute("style",r[t])}),n=n.substring(n.indexOf("}")+1)},o=0;-1!=n.indexOf("{");o++)a(o)}(),i.parentNode.removeChild(i);else if(i.tagName&&!i.tagName.match(d))"svg"===i.tagName?i.parentNode.removeChild(i):f.browser.safari&&"path"===i.tagName&&i.parentNode&&"svg"===i.parentNode.tagName||(i.outerHTML=i.innerHTML);else{var n=i.attributes;if(n)for(var r=n.length-1;0<=r;r--){var a=n[r],o=a.nodeName.match(u),s=null;"style"===a.nodeName&&f.opts.htmlAllowedStyleProps.length&&(s=a.value.match(h)),o&&s?a.value=m(s.join(";")):o&&("style"!==a.nodeName||s)||i.removeAttribute(a.nodeName)}}else 0!==i.data.indexOf("[FROALA.EDITOR")&&i.parentNode.removeChild(i)}(e)}return{_init:function e(){f.opts.fullPage&&g.merge(f.opts.htmlAllowedTags,["head","title","style","link","base","body","html","meta"])},html:function y(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=!1);var a,o=g.merge([],f.opts.htmlAllowedTags);for(a=0;a<t.length;a++)0<=o.indexOf(t[a])&&o.splice(o.indexOf(t[a]),1);var i=g.merge([],f.opts.htmlAllowedAttrs);for(a=0;a<n.length;a++)0<=i.indexOf(n[a])&&i.splice(i.indexOf(n[a]),1);return i.push("data-fr-.*"),i.push("fr-.*"),d=new RegExp("^".concat(o.join("$|^"),"$"),"gi"),u=new RegExp("^".concat(i.join("$|^"),"$"),"gi"),p=new RegExp("^".concat(f.opts.htmlRemoveTags.join("$|^"),"$"),"gi"),h=f.opts.htmlAllowedStyleProps.length?new RegExp("((^|;|\\s)".concat(f.opts.htmlAllowedStyleProps.join(":.+?(?=;|$))|((^|;|\\s)"),":.+?(?=(;)|$))"),"gi"):null,e=b(e,E,!0),"undefined"!=typeof f.opts.DOMPurify&&(e=f.opts.DOMPurify.sanitize(e)),e},toHTML5:function r(){var e=f.el.querySelectorAll(Object.keys(xt.HTML5Map).join(","));if(e.length){var t=!1;f.el.querySelector(".fr-marker")||(f.selection.save(),t=!0);for(var n=0;n<e.length;n++)""===f.node.attributes(e[n])&&g(e[n]).replaceWith("<".concat(xt.HTML5Map[e[n].tagName],">").concat(e[n].innerHTML,"</").concat(xt.HTML5Map[e[n].tagName],">"));t&&f.selection.restore()}},tables:function t(){!function s(){for(var e=f.el.querySelectorAll("tr"),t=0;t<e.length;t++){for(var n=e[t].children,r=!0,a=0;a<n.length;a++)if("TH"!==n[a].tagName){r=!1;break}if(!1!==r&&0!==n.length){for(var o=e[t];o&&"TABLE"!==o.tagName&&"THEAD"!==o.tagName;)o=o.parentNode;var i=o;"THEAD"!==i.tagName&&(i=f.doc.createElement("THEAD"),o.insertBefore(i,o.firstChild)),i.appendChild(e[t])}}}()},lists:function L(){!function s(){var e,t=[];do{if(t.length){var n=t[0],r=f.doc.createElement("ul");n.parentNode.insertBefore(r,n);do{var a=n;n=n.nextSibling,r.appendChild(a)}while(n&&"LI"===n.tagName)}t=[];for(var o=f.el.querySelectorAll("li"),i=0;i<o.length;i++)e=o[i],f.node.isList(e.parentNode)||t.push(o[i])}while(0<t.length)}(),function o(){for(var e=f.el.querySelectorAll("ol + ol, ul + ul"),t=0;t<e.length;t++){var n=e[t];if(f.node.isList(n.previousSibling)&&f.node.openTagString(n)===f.node.openTagString(n.previousSibling)){for(var r=f.node.contents(n),a=0;a<r.length;a++)n.previousSibling.appendChild(r[a]);n.parentNode.removeChild(n)}}}(),function i(){for(var e=f.el.querySelectorAll("ul, ol"),t=0;t<e.length;t++)for(var n=f.node.contents(e[t]),r=null,a=n.length-1;0<=a;a--)!n[a].tagName&&f.opts.htmlUntouched||"LI"===n[a].tagName||"UL"==n[a].tagName||"OL"==n[a].tagName?r=null:(r||(r=g(f.doc.createElement("LI"))).insertBefore(n[a]),r.prepend(n[a]))}(),function l(){var e,t,n;do{t=!1;var r=f.el.querySelectorAll("li:empty");for(e=0;e<r.length;e++)r[e].parentNode.removeChild(r[e]);var a=f.el.querySelectorAll("ul, ol");for(e=0;e<a.length;e++)(n=a[e]).querySelector("LI")||(t=!0,n.parentNode.removeChild(n))}while(!0===t)}(),function a(){for(var e=f.el.querySelectorAll("ul > ul, ol > ol, ul > ol, ol > ul"),t=0;t<e.length;t++){var n=e[t],r=n.previousSibling;r&&("LI"===r.tagName?r.appendChild(n):g(n).wrap("<li></li>"))}}(),function c(){for(var e=f.el.querySelectorAll("li > ul, li > ol"),t=0;t<e.length;t++){var n=e[t];if(n.nextSibling)for(var r=n.nextSibling;0<r.childNodes.length;)n.append(r.childNodes[0])}}(),function d(){for(var e=f.el.querySelectorAll("li > ul, li > ol"),t=0;t<e.length;t++){var n=e[t];if(f.node.isFirstSibling(n)&&"none"!=n.parentNode.style.listStyleType)g(n).before("<br/>");else if(n.previousSibling&&"BR"===n.previousSibling.tagName){for(var r=n.previousSibling.previousSibling;r&&f.node.hasClass(r,"fr-marker");)r=r.previousSibling;r&&"BR"!==r.tagName&&g(n.previousSibling).remove()}}}(),function n(){for(var e=f.el.querySelectorAll("li:empty"),t=0;t<e.length;t++)g(e[t]).remove()}()},invisibleSpaces:function n(e){return e.replace(/\u200b/g,"").length===e.length?e:f.clean.exec(e,a)},exec:b}},xt.XS=0,xt.SM=1,xt.MD=2,xt.LG=3;xt.LinkRegExCommon="[".concat("a-z\\u0080-\\u009f\\u00a1-\\uffff0-9-_\\.","]{1,}"),xt.LinkRegExEnd="((:[0-9]{1,5})|)(((\\/|\\?|#)[a-z\\u00a1-\\uffff0-9@?\\|!^=%&amp;\\/~+#-\\'*-_{}]*)|())",xt.LinkRegExTLD="((".concat(xt.LinkRegExCommon,")(\\.(com|net|org|edu|mil|gov|co|biz|info|me|dev)))"),xt.LinkRegExHTTP="((ftp|http|https):\\/\\/".concat(xt.LinkRegExCommon,")"),xt.LinkRegExAuth="((ftp|http|https):\\/\\/[\\u0021-\\uffff]{1,}@".concat(xt.LinkRegExCommon,")"),xt.LinkRegExWWW="(www\\.".concat(xt.LinkRegExCommon,"\\.[a-z0-9-]{2,24})"),xt.LinkRegEx="(".concat(xt.LinkRegExTLD,"|").concat(xt.LinkRegExHTTP,"|").concat(xt.LinkRegExWWW,"|").concat(xt.LinkRegExAuth,")").concat(xt.LinkRegExEnd),xt.LinkProtocols=["mailto","tel","sms","notes","data"],xt.MAIL_REGEX=/.+@.+\..+/i,xt.MODULES.helpers=function(o){var i,s=o.$;function e(){var e={},t=function o(){var e,t=-1;return"Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,null!==new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,null!==new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))),t}();if(0<t)e.msie=!0;else{var n=navigator.userAgent.toLowerCase(),r=/(edge)[ /]([\w.]+)/.exec(n)||/(chrome)[ /]([\w.]+)/.exec(n)||/(webkit)[ /]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ /]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[],a=r[1]||"";r[2];r[1]&&(e[a]=!0),e.chrome?e.webkit=!0:e.webkit&&(e.safari=!0)}return e.msie&&(e.version=t),e}function t(){return/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&!a()}function n(){return/(Android)/g.test(navigator.userAgent)&&!a()}function r(){return/(Blackberry)/g.test(navigator.userAgent)}function a(){return/(Windows Phone)/gi.test(navigator.userAgent)}var l=null;return{_init:function c(){o.browser=e()},isIOS:t,isMac:function d(){return null===l&&(l=0<=navigator.platform.toUpperCase().indexOf("MAC")),l},isAndroid:n,isBlackberry:r,isWindowsPhone:a,isMobile:function f(){return n()||t()||r()},isEmail:function p(e){return!/^(https?:|ftps?:|)\/\//i.test(e)&&xt.MAIL_REGEX.test(e)},requestAnimationFrame:function u(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}},getPX:function h(e){return parseInt(e,10)||0},screenSize:function g(e){try{var t=0;if((t=e?o.$box.width():o.$sc.width())<768)return xt.XS;if(768<=t&&t<992)return xt.SM;if(992<=t&&t<1200)return xt.MD;if(1200<=t)return xt.LG}catch(n){return xt.LG}},isTouch:function m(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch},sanitizeURL:function v(e){return/^(https?:|ftps?:|)\/\//i.test(e)?e:/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)?e:new RegExp("^(".concat(xt.LinkProtocols.join("|"),"):"),"i").test(e)?e:e=encodeURIComponent(e).replace(/%23/g,"#").replace(/%2F/g,"/").replace(/%25/g,"%").replace(/mailto%3A/gi,"mailto:").replace(/file%3A/gi,"file:").replace(/sms%3A/gi,"sms:").replace(/tel%3A/gi,"tel:").replace(/notes%3A/gi,"notes:").replace(/data%3Aimage/gi,"data:image").replace(/blob%3A/gi,"blob:").replace(/%3A(\d)/gi,":$1").replace(/webkit-fake-url%3A/gi,"webkit-fake-url:").replace(/%3F/g,"?").replace(/%3D/g,"=").replace(/%26/g,"&").replace(/&amp;/g,"&").replace(/%2C/g,",").replace(/%3B/g,";").replace(/%2B/g,"+").replace(/%40/g,"@").replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%7B/g,"{").replace(/%7D/g,"}")},isArray:function b(e){return e&&!Object.prototype.propertyIsEnumerable.call(e,"length")&&"object"===kt(e)&&"number"==typeof e.length},RGBToHex:function C(e){function t(e){return"0".concat(parseInt(e,10).toString(16)).slice(-2)}try{return e&&"transparent"!==e?/^#[0-9A-F]{6}$/i.test(e)?e:(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/),"#".concat(t(e[1])).concat(t(e[2])).concat(t(e[3])).toUpperCase()):""}catch(n){return null}},HEXtoRGB:function E(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,r){return t+t+n+n+r+r});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?"rgb(".concat(parseInt(t[1],16),", ").concat(parseInt(t[2],16),", ").concat(parseInt(t[3],16),")"):""},isURL:function y(e){return!!/^(https?:|ftps?:|)\/\//i.test(e)&&(e=String(e).replace(/</g,"%3C").replace(/>/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20"),new RegExp("^".concat(xt.LinkRegExHTTP).concat(xt.LinkRegExEnd,"$"),"gi").test(e))},getAlignment:function L(e){e.css||(e=s(e));var t=(e.css("text-align")||"").replace(/-(.*)-/g,"");if(["left","right","justify","center"].indexOf(t)<0){if(!i){var n=s('<div dir="'.concat("rtl"===o.opts.direction?"rtl":"auto",'" style="text-align: ').concat(o.$el.css("text-align"),'; position: fixed; left: -3000px;"><span id="s1">.</span><span id="s2">.</span></div>'));s("body").first().append(n);var r=n.find("#s1").get(0).getBoundingClientRect().left,a=n.find("#s2").get(0).getBoundingClientRect().left;n.remove(),i=r<a?"left":"right"}t=i}return t},scrollTop:function _(){return o.o_win.pageYOffset?o.o_win.pageYOffset:o.o_doc.documentElement&&o.o_doc.documentElement.scrollTop?o.o_doc.documentElement.scrollTop:o.o_doc.body.scrollTop?o.o_doc.body.scrollTop:0},scrollLeft:function w(){return o.o_win.pageXOffset?o.o_win.pageXOffset:o.o_doc.documentElement&&o.o_doc.documentElement.scrollLeft?o.o_doc.documentElement.scrollLeft:o.o_doc.body.scrollLeft?o.o_doc.body.scrollLeft:0},isInViewPort:function A(e){var t=e.getBoundingClientRect();return 0<=(t={top:Math.round(t.top),bottom:Math.round(t.bottom)}).top&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)||t.top<=0&&t.bottom>=(window.innerHeight||document.documentElement.clientHeight)}}},xt.MODULES.events=function(l){var e,o=l.$,i={};function s(e,t,n){m(e,t,n)}function c(e){if(void 0===e&&(e=!0),!l.$wp)return!1;if(l.helpers.isIOS()&&l.$win.get(0).focus(),l.core.hasFocus())return!1;if(l.selection.isCollapsed()&&!l.selection.get().anchorNode){var t=l.$el.find(l.html.blockTagsQuery()).get(0);t&&(o(t).prepend(xt.MARKERS),l.selection.restore())}if(!l.core.hasFocus()&&e){var n=l.$win.scrollTop();if(l.browser.msie&&l.$box&&l.$box.css("position","fixed"),l.browser.msie&&l.$wp&&l.$wp.css("overflow","visible"),l.browser.msie&&l.$sc&&l.$sc.css("position","fixed"),l.browser.msie||(p(),l.el.focus(),l.events.trigger("focus"),f()),l.browser.msie&&l.$sc&&l.$sc.css("position",""),l.browser.msie&&l.$box&&l.$box.css("position",""),l.browser.msie&&l.$wp&&l.$wp.css("overflow","auto"),n!==l.$win.scrollTop()&&l.$win.scrollTop(n),!l.selection.info(l.el).atStart)return!1}if(!l.core.hasFocus()||0<l.$el.find(".fr-marker").length)return!1;if(l.selection.info(l.el).atStart&&l.selection.isCollapsed()&&null!==l.html.defaultTag()){var r=l.markers.insert();if(r&&!l.node.blockParent(r)){o(r).remove();var a=l.$el.find(l.html.blockTagsQuery()).get(0);a&&(o(a).prepend(xt.MARKERS),l.selection.restore())}else r&&o(r).remove()}}var d=!1;function f(){e=!0}function p(){e=!1}function u(){return e}function h(e,t,n){var r,a=e.split(" ");if(1<a.length){for(var o=0;o<a.length;o++)h(a[o],t,n);return!0}void 0===n&&(n=!1),r=0!==e.indexOf("shared.")?(i[e]=i[e]||[],i[e]):(l.shared._events[e]=l.shared._events[e]||[],l.shared._events[e]),n?r.unshift(t):r.push(t)}var g=[];function m(e,t,n,r,a){"function"==typeof n&&(a=r,r=n,n=!1);var o=a?l.shared.$_events:g,i=a?l.sid:l.id,s="".concat(t.trim().split(" ").join(".ed".concat(i," ")),".ed").concat(i);n?e.on(s,n,r):e.on(s,r),o.push([e,s])}function t(e){for(var t=0;t<e.length;t++)e[t][0].off(e[t][1])}function v(e,t,n){if(!l.edit.isDisabled()||n){var r,a;if(0!==e.indexOf("shared."))r=i[e];else{if(0<l.shared.count)return!1;r=l.shared._events[e]}if(r)for(var o=0;o<r.length;o++)if(!1===(a=r[o].apply(l,t)))return!1;return(!l.opts.events||!l.opts.events[e]||!1!==(a=l.opts.events[e].apply(l,t)))&&a}}function b(){for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&delete i[e]}function C(){for(var e in l.shared._events)Object.prototype.hasOwnProperty.call(l.shared._events,e)&&delete l.shared._events[e]}return{_init:function E(){l.shared.$_events=l.shared.$_events||[],l.shared._events={},function e(){l.helpers.isMobile()?(l._mousedown="touchstart",l._mouseup="touchend",l._move="touchmove",l._mousemove="touchmove"):(l._mousedown="mousedown",l._mouseup="mouseup",l._move="",l._mousemove="mousemove")}(),function t(){s(l.$el,"click mouseup mousemove mousedown touchstart touchend dragenter dragover dragleave dragend drop dragstart",function(e){v(e.type,[e])}),h("mousedown",function(){for(var e=0;e<xt.INSTANCES.length;e++)xt.INSTANCES[e]!==l&&xt.INSTANCES[e].popups&&xt.INSTANCES[e].popups.areVisible()&&xt.INSTANCES[e].$el.find(".fr-marker").remove()})}(),function n(){s(l.$win,l._mousedown,function(e){v("window.mousedown",[e]),f()}),s(l.$win,l._mouseup,function(e){v("window.mouseup",[e])}),s(l.$win,"beforeinput cut copy keydown keyup touchmove touchend",function(e){v("window.".concat(e.type),[e])})}(),function r(){s(l.$doc,"dragend drop",function(e){v("document.".concat(e.type),[e])})}(),function a(){s(l.$el,"beforeinput keydown keypress keyup input",function(e){v(e.type,[e])})}(),function o(){s(l.$el,"focus",function(e){u()&&(c(!1),!1===d&&(v(e.type,[e]),l.helpers.isMobile()&&p()))}),s(l.$el,"blur",function(e){u()&&!0===d&&(v(e.type,[e]),l.helpers.isMobile()&&l.opts.toolbarContainer&&(l.shared.selected_editor=l.id),f())}),m(l.$el,"mousedown",'[contenteditable="true"]',function(){p(),l.$el.blur()}),h("focus",function(){d=!0}),h("blur",function(){d=!1})}(),f(),function i(){s(l.$el,"cut copy paste beforepaste",function(e){v(e.type,[e])})}(),h("destroy",b),h("shared.destroy",C)},on:h,trigger:v,bindClick:function r(e,t,n){m(e,l._mousedown,t,function(e){l.edit.isDisabled()||function n(e){var t=o(e.currentTarget);return l.edit.isDisabled()||l.node.hasClass(t.get(0),"fr-disabled")?(e.preventDefault(),!1):"mousedown"===e.type&&1!==e.which||(l.helpers.isMobile()||e.preventDefault(),(l.helpers.isAndroid()||l.helpers.isWindowsPhone())&&0===t.parents(".fr-dropdown-menu").length&&(e.preventDefault(),e.stopPropagation()),t.addClass("fr-selected"),void l.events.trigger("commands.mousedown",[t]))}(e)},!0),m(e,"".concat(l._mouseup," ").concat(l._move),t,function(e){l.edit.isDisabled()||function a(e,t){var n=o(e.currentTarget);if(l.edit.isDisabled()||l.node.hasClass(n.get(0),"fr-disabled"))return e.preventDefault(),!1;if("mouseup"===e.type&&1!==e.which)return!0;if(l.button.getButtons(".fr-selected",!0).get(0)==n.get(0)&&!l.node.hasClass(n.get(0),"fr-selected"))return!0;if("touchmove"!==e.type){if(e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),!l.node.hasClass(n.get(0),"fr-selected"))return l.button.getButtons(".fr-selected",!0).removeClass("fr-selected"),!1;if(l.button.getButtons(".fr-selected",!0).removeClass("fr-selected"),n.data("dragging")||n.attr("disabled"))return n.removeData("dragging"),!1;var r=n.data("timeout");r&&(clearTimeout(r),n.removeData("timeout")),t.apply(l,[e])}else n.data("timeout")||n.data("timeout",setTimeout(function(){n.data("dragging",!0)},100))}(e,n)},!0),m(e,"mousedown click mouseup",t,function(e){l.edit.isDisabled()||e.stopPropagation()},!0),h("window.mouseup",function(){l.edit.isDisabled()||(e.find(t).removeClass("fr-selected"),f())}),m(e,"mouseover",t,function(){o(this).hasClass("fr-options")&&o(this).prev(".fr-btn").addClass("fr-btn-hover"),o(this).next(".fr-btn").hasClass("fr-options")&&o(this).next(".fr-btn").addClass("fr-btn-hover")}),m(e,"mouseout",t,function(){o(this).hasClass("fr-options")&&o(this).prev(".fr-btn").removeClass("fr-btn-hover"),o(this).next(".fr-btn").hasClass("fr-options")&&o(this).next(".fr-btn").removeClass("fr-btn-hover")})},disableBlur:p,enableBlur:f,blurActive:u,focus:c,chainTrigger:function y(e,t,n){if(!l.edit.isDisabled()||n){var r,a;if(0!==e.indexOf("shared."))r=i[e];else{if(0<l.shared.count)return!1;r=l.shared._events[e]}if(r)for(var o=0;o<r.length;o++)void 0!==(a=r[o].apply(l,[t]))&&(t=a);return l.opts.events&&l.opts.events[e]&&void 0!==(a=l.opts.events[e].apply(l,[t]))&&(t=a),t}},$on:m,$off:function n(){t(g),g=[],0===l.shared.count&&(t(l.shared.$_events),l.shared.$_events=[])}}},Object.assign(xt.DEFAULTS,{indentMargin:20}),xt.COMMANDS={bold:{title:"Bold",toggle:!0,refresh:function(e){var t=this.format.is("strong");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},italic:{title:"Italic",toggle:!0,refresh:function(e){var t=this.format.is("em");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},underline:{title:"Underline",toggle:!0,refresh:function(e){var t=this.format.is("u");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},strikeThrough:{title:"Strikethrough",toggle:!0,refresh:function(e){var t=this.format.is("s");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},subscript:{title:"Subscript",toggle:!0,refresh:function(e){var t=this.format.is("sub");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},superscript:{title:"Superscript",toggle:!0,refresh:function(e){var t=this.format.is("sup");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},outdent:{title:"Decrease Indent"},indent:{title:"Increase Indent"},undo:{title:"Undo",undo:!1,forcedRefresh:!0,disabled:!0},redo:{title:"Redo",undo:!1,forcedRefresh:!0,disabled:!0},insertHR:{title:"Insert Horizontal Line"},clearFormatting:{title:"Clear Formatting"},selectAll:{title:"Select All",undo:!1},moreText:{title:"More Text",undo:!1},moreParagraph:{title:"More Paragraph",undo:!1},moreRich:{title:"More Rich",undo:!1},moreMisc:{title:"More Misc",undo:!1}},xt.RegisterCommand=function(e,t){xt.COMMANDS[e]=t},xt.MODULES.commands=function(i){var s=i.$;function l(e){return i.html.defaultTag()&&(e="<".concat(i.html.defaultTag(),">").concat(e,"</").concat(i.html.defaultTag(),">")),e}var o={bold:function(){e("bold","strong")},subscript:function(){i.format.is("sup")&&i.format.remove("sup"),e("subscript","sub")},superscript:function(){i.format.is("sub")&&i.format.remove("sub"),e("superscript","sup")},italic:function(){e("italic","em")},strikeThrough:function(){e("strikeThrough","s")},underline:function(){e("underline","u")},undo:function(){i.undo.run()},redo:function(){i.undo.redo()},indent:function(){r(1)},outdent:function(){r(-1)},show:function(){i.opts.toolbarInline&&i.toolbar.showInline(null,!0)},insertHR:function(){i.selection.remove();var e="";i.core.isEmpty()&&(e=l(e="<br>"));var t='<hr id="fr-just" class="fr-just">'.concat(e);i.opts.trackChangesEnabled&&(t=i.track_changes.wrapInTracking(s(t),"hrWrapper").get(0).outerHTML);i.html.insert(t);var n,r=i.$el.find("hr#fr-just").length?i.$el.find("hr#fr-just"):i.$el.find(".fr-just");r.removeAttr("id"),r.removeAttr("class");var a=i.opts.trackChangesEnabled&&"SPAN"===r[0].parentNode.tagName&&"P"===r[0].parentNode.parentNode.tagName;if(0===r.next().length){var o=i.html.defaultTag();o&&!a?r.after(s(i.doc.createElement(o)).append("<br>").get(0)):a?r[0].parentNode.after(s(i.doc.createElement(o)).append("<br>").get(0)):r.after("<br>")}r.prev().is("hr")?n=i.selection.setAfter(r.get(0),!1):r.next().is("hr")?n=i.selection.setBefore(r.get(0),!1):a||i.selection.setAfter(r.get(0),!1)?i.selection.setAfter(r[0].parentNode,!1):i.selection.setBefore(r.get(0),!1),n||void 0===n||(e=l(e="".concat(xt.MARKERS,"<br>")),r.after(e)),i.selection.restore()},clearFormatting:function(){i.format.remove()},selectAll:function(){i.doc.execCommand("selectAll",!1,!1)},moreText:function(e){t(e)},moreParagraph:function(e){t(e)},moreRich:function(e){t(e)},moreMisc:function(e){t(e)},moreTrackChanges:function(){t("trackChanges")}};function t(e){var t=i.$tb.find("[data-cmd=".concat(e,"]")),n=i.$tb.find("[data-cmd=html]");i.opts.trackChangesEnabled?n&&n.addClass("fr-disabled"):n&&n.removeClass("fr-disabled"),function r(n){i.helpers.isMobile()&&i.opts.toolbarInline&&i.events.disableBlur();var e=i.$tb.find('.fr-more-toolbar[data-name="'.concat(n.attr("data-group-name"),'"]'));"trackChanges"===n.data("cmd")&&(e=i.$tb.find('.fr-more-toolbar[data-name="trackChanges-'.concat(i.id,'"]')));if(i.$tb.find(".fr-open").not(n).not('[data-cmd="trackChanges"]').removeClass("fr-open"),n.toggleClass("fr-open"),i.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible"),i.$tb.find(".fr-expanded").not(e).length){var t=i.$tb.find(".fr-expanded").not(e);t.each(function(e,t){0!=s(t).data("name").indexOf("trackChanges-")&&0!=s(t).data("name").indexOf("moreRich-")?s(t).toggleClass("fr-expanded"):n.parents('[data-name^="moreRich-"]').length||0==s(t).data("name").indexOf("trackChanges-")||s(t).find('[id^="trackChanges-"]').length&&i.opts.trackChangesEnabled||s(t).toggleClass("fr-expanded")}),e.toggleClass("fr-expanded")}else e.toggleClass("fr-expanded"),i.$box.toggleClass("fr-toolbar-open"),i.$tb.toggleClass("fr-toolbar-open")}(t),i.toolbar.setMoreToolbarsHeight()}function n(e,t){if(!(i.markdown&&i.markdown.isEnabled()&&("bold"===e||"italic"===e||"underline"===e)||i.opts.trackChangesEnabled&&"markdown"===e)&&!1!==i.events.trigger("commands.before",s.merge([e],t||[]))){var n=xt.COMMANDS[e]&&xt.COMMANDS[e].callback||o[e],r=!0,a=!1;xt.COMMANDS[e]&&("undefined"!=typeof xt.COMMANDS[e].focus&&(r=xt.COMMANDS[e].focus),"undefined"!=typeof xt.COMMANDS[e].accessibilityFocus&&(a=xt.COMMANDS[e].accessibilityFocus)),(!i.core.hasFocus()&&r&&!i.popups.areVisible()||!i.core.hasFocus()&&a&&i.accessibility.hasFocus())&&i.events.focus(!0),xt.COMMANDS[e]&&!1!==xt.COMMANDS[e].undo&&(i.$el.find(".fr-marker").length&&(i.events.disableBlur(),i.selection.restore()),i.undo.saveStep()),n&&n.apply(i,s.merge([e],t||[])),i.events.trigger("commands.after",s.merge([e],t||[])),xt.COMMANDS[e]&&!1!==xt.COMMANDS[e].undo&&i.undo.saveStep()}}function e(e,t){i.format.toggle(t)}function r(e){i.selection.save(),i.html.wrap(!0,!0,!0,!0),i.selection.restore();for(var t=i.selection.blocks(),n=0;n<t.length;n++)if("LI"!==t[n].tagName||"LI"!==t[n].parentNode.tagName){var r=s(t[n]);"LI"!=t[n].tagName&&"LI"==t[n].parentNode.tagName&&(r=s(t[n].parentNode));var a="rtl"===i.opts.direction||"rtl"===r.css("direction")?"margin-right":"margin-left",o=i.helpers.getPX(r.css(a));if(r.width()<2*i.opts.indentMargin&&0<e)continue;"UL"!=t[n].parentNode.tagName&&"OL"!=t[n].parentNode.tagName&&"LI"!=t[n].parentNode.tagName&&r.css(a,Math.max(o+e*i.opts.indentMargin,0)||""),r.removeClass("fr-temp-div")}i.selection.save(),i.html.unwrap(),i.selection.restore()}function a(e){return function(){n(e)}}var c={};for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(c[d]=a(d));return Object.assign(c,{exec:n,_init:function f(){i.events.on("keydown",function(e){var t=i.selection.element();if(t&&"HR"===t.tagName&&!i.keys.isArrow(e.which))return e.preventDefault(),!1}),i.events.on("keyup",function(e){var t=i.selection.element();if(t&&"HR"===t.tagName)if(e.which===xt.KEYCODE.ARROW_LEFT||e.which===xt.KEYCODE.ARROW_UP){if(t.previousSibling)return i.node.isBlock(t.previousSibling)?i.selection.setAtEnd(t.previousSibling):s(t).before(xt.MARKERS),i.selection.restore(),!1}else if((e.which===xt.KEYCODE.ARROW_RIGHT||e.which===xt.KEYCODE.ARROW_DOWN)&&t.nextSibling)return i.node.isBlock(t.nextSibling)?i.selection.setAtStart(t.nextSibling):s(t).after(xt.MARKERS),i.selection.restore(),!1}),i.events.on("mousedown",function(e){if(e.target&&"HR"===e.target.tagName)return e.preventDefault(),e.stopPropagation(),!1}),i.events.on("mouseup",function(){var e=i.selection.element();e===i.selection.endElement()&&e&&"HR"===e.tagName&&(e.nextSibling&&(i.node.isBlock(e.nextSibling)?i.selection.setAtStart(e.nextSibling):s(e).after(xt.MARKERS)),i.selection.restore())})}})},xt.MODULES.cursorLists=function(g){var m=g.$;function v(e){for(var t=e;"LI"!==t.tagName;)t=t.parentNode;return t}function b(e){for(var t=e;!g.node.isList(t);)t=t.parentNode;return t}return{_startEnter:function C(e){var t,n=v(e),r=n.nextSibling,a=n.previousSibling,o=g.html.defaultTag();if(g.node.isEmpty(n,!0)&&r){for(var i="",s="",l=e.parentNode;!g.node.isList(l)&&l.parentNode&&("LI"!==l.parentNode.tagName||l.parentNode===n);)i=g.node.openTagString(l)+i,s+=g.node.closeTagString(l),l=l.parentNode;i=g.node.openTagString(l)+i,s+=g.node.closeTagString(l);var c="";for(c=l.parentNode&&"LI"===l.parentNode.tagName?"".concat(s,"<li>").concat(xt.MARKERS,"<br>").concat(i):o?"".concat(s,"<").concat(o,">").concat(xt.MARKERS,"<br></").concat(o,">").concat(i):"".concat(s+xt.MARKERS,"<br>").concat(i);["UL","OL"].indexOf(l.tagName)<0||l.parentNode&&"LI"===l.parentNode.tagName;)l=l.parentNode;m(n).replaceWith('<span id="fr-break"></span>');var d=g.node.openTagString(l)+m(l).html()+g.node.closeTagString(l);d=d.replace(/<span id="fr-break"><\/span>/g,c),m(l).replaceWith(d),g.$el.find("li:empty").remove()}else if(a&&r||!g.node.isEmpty(n,!0)){for(var f="<br>",p=e.parentNode;p&&"LI"!==p.tagName;)f=g.node.openTagString(p)+f+g.node.closeTagString(p),p=p.parentNode;m(n).before("<li>".concat(f,"</li>")),m(e).remove()}else if(a){t=b(n);for(var u="".concat(xt.MARKERS,"<br>"),h=e.parentNode;h&&"LI"!==h.tagName;)u=g.node.openTagString(h)+u+g.node.closeTagString(h),h=h.parentNode;t.parentNode&&"LI"===t.parentNode.tagName?m(t.parentNode).after("<li>".concat(u,"</li>")):o?m(t).after("<".concat(o,">").concat(u,"</").concat(o,">")):m(t).after(u),m(n).remove()}else(t=b(n)).parentNode&&"LI"===t.parentNode.tagName?r?m(t.parentNode).before("".concat(g.node.openTagString(n)+xt.MARKERS,"<br></li>")):m(t.parentNode).after("".concat(g.node.openTagString(n)+xt.MARKERS,"<br></li>")):o?m(t).before("<".concat(o,">").concat(xt.MARKERS,"<br></").concat(o,">")):m(t).before("".concat(xt.MARKERS,"<br>")),m(n).remove()},_middleEnter:function c(e){for(var t=v(e),n="",r=e,a="",o="",i=!1;r!==t;){var s="A"===(r=r.parentNode).tagName&&g.cursor.isAtEnd(e,r)?"fr-to-remove":"";i||r==t||g.node.isBlock(r)||(i=!0,a+=xt.INVISIBLE_SPACE),a=g.node.openTagString(m(r).clone().addClass(s).get(0))+a,g.opts.trackChangesEnabled?o+=g.node.closeTagString(r):o=g.node.closeTagString(r)+o}n=o+n+a+xt.MARKERS+(g.opts.keepFormatOnDelete?xt.INVISIBLE_SPACE:""),m(e).replaceWith('<span id="fr-break"></span>');var l=g.node.openTagString(t)+m(t).html()+g.node.closeTagString(t);l=l.replace(/<span id="fr-break"><\/span>/g,n),m(t).replaceWith(l)},_endEnter:function l(e){for(var t=v(e),n=xt.MARKERS,r="",a=e,o=!1;a!==t;)if(!(a=a.parentNode).classList.contains("fr-img-space-wrap")&&!a.classList.contains("fr-img-space-wrap2")){var i="A"===a.tagName&&g.cursor.isAtEnd(e,a)?"fr-to-remove":"";o||a===t||g.node.isBlock(a)||(o=!0,r+=xt.INVISIBLE_SPACE),r=g.node.openTagString(m(a).clone().addClass(i).get(0))+r,n+=g.node.closeTagString(a)}var s=r+n;m(e).remove(),m(t).after(s)},_backspace:function d(e){var t=v(e),n=t.previousSibling;if(n){n=m(n).find(g.html.blockTagsQuery()).get(-1)||n,m(e).replaceWith(xt.MARKERS);var r=g.node.contents(n);r.length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"<br>"))});for(var a,o=g.node.contents(t)[0];o&&!g.node.isList(o);)a=o.nextSibling,m(n).append(o),o=a;for(n=t.previousSibling;o;)a=o.nextSibling,m(n).append(o),o=a;1<(r=g.node.contents(n)).length&&"BR"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).remove()}else{var i=b(t);if(m(e).replaceWith(xt.MARKERS),i.parentNode&&"LI"===i.parentNode.tagName){var s=i.previousSibling;g.node.isBlock(s)?(m(t).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"<br>"))}),m(s).append(m(t).html())):m(i).before(m(t).html())}else{var l=g.html.defaultTag();l&&0===m(t).find(g.html.blockTagsQuery()).length?m(i).before("<".concat(l,">").concat(m(t).html(),"</").concat(l,">")):m(i).before(m(t).html())}m(t).remove(),g.html.wrap(),0===m(i).find("li").length&&m(i).remove()}},_del:function f(e){var t,n=v(e),r=n.nextSibling;if(r){(t=g.node.contents(r)).length&&"BR"===t[0].tagName&&m(t[0]).remove(),m(r).find(g.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===r&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?"":"<br>"))});for(var a,o=e,i=g.node.contents(r)[0];i&&!g.node.isList(i);)a=i.nextSibling,m(o).after(i),o=i,i=a;for(;i;)a=i.nextSibling,m(n).append(i),i=a;m(e).replaceWith(xt.MARKERS),m(r).remove()}else{for(var s=n;!s.nextSibling&&s!==g.el;)s=s.parentNode;if(s===g.el)return!1;if(s=s.nextSibling,g.node.isBlock(s))xt.NO_DELETE_TAGS.indexOf(s.tagName)<0&&(m(e).replaceWith(xt.MARKERS),(t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(n).append(m(s).html()),m(s).remove());else{for((t=g.node.contents(n)).length&&"BR"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(e).replaceWith(xt.MARKERS);s&&!g.node.isBlock(s)&&"BR"!==s.tagName;)m(n).append(m(s)),s=s.nextSibling;m(s).remove()}}}}},xt.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"],xt.SIMPLE_ENTER_TAGS=["TH","TD","LI","DL","DT","FORM"],xt.MODULES.cursor=function(h){var g=h.$;function d(e){return!!e&&(!!h.node.isBlock(e)||(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?d(e.nextSibling):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&d(e.parentNode)))}function f(e){return!!e&&(!!h.node.isBlock(e)||(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?f(e.previousSibling):!e.previousSibling&&(!(e.previousSibling||!h.node.hasClass(e.parentNode,"fr-inner"))||f(e.parentNode))))}function u(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\u200b/g,"").length?u(e.previousSibling,t):!e.previousSibling&&(e.parentNode===t||u(e.parentNode,t))))}function m(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\u200b/g,"").length?m(e.nextSibling,t):!(e.nextSibling&&(!e.previousSibling||"BR"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&(e.parentNode===t||m(e.parentNode,t))))}function p(e){return 0<g(e).parentsUntil(h.$el,"LI").length&&0===g(e).parentsUntil("LI","TABLE").length}function v(e,t){var n=new RegExp("".concat(t?"^":"","(([\\uD83C-\\uDBFF\\uDC00-\\uDFFF]+\\u200D)*[\\uD83C-\\uDBFF\\uDC00-\\uDFFF]{2})").concat(t?"":"$"),"i"),r=e.match(n);return r?r[0].length:1}function b(e){for(var t,n=e;!n.previousSibling;)if(n=n.parentNode,h.node.isElement(n))return!1;n=n.previousSibling;var r=h.opts.htmlAllowedEmptyTags,a=n.tagName&&n.tagName.toLowerCase();if((!h.node.isBlock(n)||n.lastChild&&a&&0<=r.indexOf(a))&&h.node.isEditable(n)){for(t=h.node.contents(n);n.nodeType!==Node.TEXT_NODE&&!h.node.isDeletable(n)&&t.length&&h.node.isEditable(n);)n=t[t.length-1],t=h.node.contents(n);if(n.nodeType===Node.TEXT_NODE){var o=n.textContent,i=o.length;if(o.length&&"\n"===o[o.length-1])return n.textContent=o.substring(0,i-2),0===n.textContent.length&&n.parentNode.removeChild(n),b(e);if(h.opts.tabSpaces&&o.length>=h.opts.tabSpaces)0===o.substr(o.length-h.opts.tabSpaces,o.length-1).replace(/ /g,"").replace(new RegExp(xt.UNICODE_NBSP,"g"),"").length&&(i=o.length-h.opts.tabSpaces+1);n.textContent=o.substring(0,i-v(o)),h.opts.trackChangesEnabled&&0===n.textContent.length&&g(n.parentElement).data("tracking")&&0===g(n.parentElement).find("[data-tracking-deleted=true]").length&&(g(e).insertBefore(n.parentElement),g(n.parentElement).remove(),n=g(e)[0].previousSibling),h.opts.htmlUntouched&&!e.nextSibling&&n.textContent.length&&" "===n.textContent[n.textContent.length-1]&&(n.textContent=n.textContent.substring(0,n.textContent.length-1)+xt.UNICODE_NBSP);var s=o.length!==n.textContent.length;if(0===n.textContent.length&&n.previousSibling&&"BR"===n.previousSibling.tagName&&n.previousSibling.remove(),0===n.textContent.length)if(s&&h.opts.keepFormatOnDelete)g(n).after(xt.INVISIBLE_SPACE+xt.MARKERS);else if(0!==o.length&&h.node.isBlock(n.parentNode))g(n).after(xt.MARKERS);else if((2!=n.parentNode.childNodes.length||n.parentNode!=e.parentNode)&&1!=n.parentNode.childNodes.length||h.node.isBlock(n.parentNode)||h.node.isElement(n.parentNode)||!h.node.isDeletable(n.parentNode)){for(var l,c=n;!h.node.isElement(n.parentNode)&&h.node.isEmpty(n.parentNode)&&xt.NO_DELETE_TAGS.indexOf(n.parentNode.tagName)<0;)if("A"===(n=n.parentNode).tagName){var d=n.childNodes[0];for(g(n).before(d),l=!0;0<d.childNodes.length;)d=d.childNodes[0];n.parentNode.removeChild(n),n=d;break}l||(n=c),g(n).after(xt.MARKERS),h.node.isElement(n.parentNode)&&!e.nextSibling&&n.previousSibling&&"BR"===n.previousSibling.tagName&&g(e).after("<br>");var f=n.parentNode;n.parentNode.removeChild(n),h.node.isEmpty(f)&&g(f).html(xt.INVISIBLE_SPACE+xt.MARKERS)}else g(n.parentNode).after(xt.MARKERS),g(n.parentNode).remove();else g(n).after(xt.MARKERS)}else h.node.isDeletable(n)?(g(n).after(xt.MARKERS),g(n).remove()):e.nextSibling&&"BR"===e.nextSibling.tagName&&h.node.isVoid(n)&&"BR"!==n.tagName?(g(e.nextSibling).remove(),g(e).replaceWith(xt.MARKERS)):!1!==h.events.trigger("node.remove",[g(n)])&&(g(n).after(xt.MARKERS),g(n).remove())}else if(xt.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(xt.MARKERS),g(n).remove();else if(h.node.isEmpty(n)&&!h.node.isList(n))g(n).remove(),g(e).replaceWith(xt.MARKERS);else{for(h.node.isList(n)&&(n=g(n).find("li").last().get(0)),(t=h.node.contents(n))&&"BR"===t[t.length-1].tagName&&g(t[t.length-1]).remove(),t=h.node.contents(n);t&&h.node.isBlock(t[t.length-1]);)n=t[t.length-1],t=h.node.contents(n);g(n).append(xt.MARKERS);for(var p=e;!p.previousSibling;)p=p.parentNode;for(;p&&"BR"!==p.tagName&&!h.node.isBlock(p);){var u=p;p=p.nextSibling,g(n).append(u)}p&&"BR"===p.tagName&&g(p).remove(),g(e).remove()}else e.nextSibling&&"BR"===e.nextSibling.tagName&&g(e.nextSibling).remove();return!0}function o(e){var t=0<g(e).parentsUntil(h.$el,"BLOCKQUOTE").length,n=h.node.deepestParent(e,[],!t);if(n&&"BLOCKQUOTE"===n.tagName){var r=h.node.deepestParent(e,[g(e).parentsUntil(h.$el,"BLOCKQUOTE").get(0)]);r&&r.nextSibling&&(n=r)}if(null!==n){var a,o=n.nextSibling;if(h.node.isBlock(n)&&(h.node.isEditable(n)||h.node.isDeletable(n))&&o&&xt.NO_DELETE_TAGS.indexOf(o.tagName)<0)if(h.node.isDeletable(o))g(o).remove(),g(e).replaceWith(xt.MARKERS);else if(h.node.isBlock(o)&&h.node.isEditable(o))if(h.node.isList(o))if(h.node.isEmpty(n,!0))g(n).remove(),g(o).find("li").first().prepend(xt.MARKERS);else{var i=g(o).find("li").first();"BLOCKQUOTE"===n.tagName&&(a=h.node.contents(n)).length&&h.node.isBlock(a[a.length-1])&&(n=a[a.length-1]),0===i.find("ul, ol").length&&(g(e).replaceWith(xt.MARKERS),i.find(h.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===i.get(0)&&g(this).replaceWith(g(this).html()+(h.node.isEmpty(this)?"":"<br>"))}),g(n).append(h.node.contents(i.get(0))),i.remove(),0===g(o).find("li").length&&g(o).remove())}else{if((a=h.node.contents(o)).length&&"BR"===a[0].tagName&&g(a[0]).remove(),"BLOCKQUOTE"!==o.tagName&&"BLOCKQUOTE"===n.tagName)for(a=h.node.contents(n);a.length&&h.node.isBlock(a[a.length-1]);)n=a[a.length-1],a=h.node.contents(n);else if("BLOCKQUOTE"===o.tagName&&"BLOCKQUOTE"!==n.tagName)for(a=h.node.contents(o);a.length&&h.node.isBlock(a[0]);)o=a[0],a=h.node.contents(o);g(e).replaceWith(xt.MARKERS),g(n).append(o.innerHTML),g(o).remove()}else{for(g(e).replaceWith(xt.MARKERS);o&&"BR"!==o.tagName&&!h.node.isBlock(o)&&h.node.isEditable(o);){var s=o;o=o.nextSibling,g(n).append(s)}o&&"BR"===o.tagName&&h.node.isEditable(o)&&g(o).remove()}}}function n(e){for(var t,n=e;!n.nextSibling;)if(n=n.parentNode,h.node.isElement(n))return!1;if("BR"===(n=n.nextSibling).tagName&&h.node.isEditable(n))if(n.nextSibling){if(h.node.isBlock(n.nextSibling)&&h.node.isEditable(n.nextSibling)){if(!(xt.NO_DELETE_TAGS.indexOf(n.nextSibling.tagName)<0))return void g(n).remove();n=n.nextSibling,g(n.previousSibling).remove()}}else if(d(n)){if(p(e))h.cursorLists._del(e);else h.node.deepestParent(n)&&((!h.node.isEmpty(h.node.blockParent(n))||(h.node.blockParent(n).nextSibling&&xt.NO_DELETE_TAGS.indexOf(h.node.blockParent(n).nextSibling.tagName))<0)&&g(n).remove(),o(e));return}if(!h.node.isBlock(n)&&h.node.isEditable(n)){for(t=h.node.contents(n);n.nodeType!==Node.TEXT_NODE&&t.length&&!h.node.isDeletable(n)&&h.node.isEditable(n);)n=t[0],t=h.node.contents(n);n.nodeType===Node.TEXT_NODE?(g(n).before(xt.MARKERS),n.textContent.length&&(n.textContent=n.textContent.substring(v(n.textContent,!0),n.textContent.length))):h.node.isDeletable(n)?(g(n).before(xt.MARKERS),g(n).remove()):!1!==h.events.trigger("node.remove",[g(n)])&&(g(n).before(xt.MARKERS),g(n).remove()),g(e).remove()}else if(xt.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(xt.MARKERS),g(n).remove();else if(h.node.isList(n))e.previousSibling?(g(n).find("li").first().prepend(e),h.cursorLists._backspace(e)):(g(n).find("li").first().prepend(xt.MARKERS),g(e).remove());else if((t=h.node.contents(n))&&"BR"===t[0].tagName&&g(t[0]).remove(),t&&"BLOCKQUOTE"===n.tagName){var r=t[0];for(g(e).before(xt.MARKERS);r&&"BR"!==r.tagName;){var a=r;r=r.nextSibling,g(e).before(a)}r&&"BR"===r.tagName&&g(r).remove()}else g(e).after(g(n).html()).after(xt.MARKERS),g(n).remove()}function i(){for(var e=h.el.querySelectorAll("blockquote:empty"),t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}function C(e,t,n){var r,a=h.node.deepestParent(e,[],!n);if(a&&"BLOCKQUOTE"===a.tagName)return m(e,a)?(r=h.html.defaultTag(),t?g(e).replaceWith("<br>"+xt.MARKERS):r?g(a).after("<".concat(r,">").concat(xt.MARKERS,"<br></").concat(r,">")):g(a).after("".concat(xt.MARKERS,"<br>")),g(e).remove()):E(e,t,n),!1;if(null===a)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith("<".concat(r,">").concat(xt.MARKERS,"<br></").concat(r,">")):!e.previousSibling||g(e.previousSibling).is("br")||e.nextSibling?g(e).replaceWith("<br>".concat(xt.MARKERS)):g(e).replaceWith("<br>".concat(xt.MARKERS,"<br>"));else{var o=e,i="";"PRE"!=a.tagName||e.nextSibling||(t=!0),h.node.isBlock(a)&&!t||(i="<br/>");var s,l="",c="",d="",f="";(r=h.html.defaultTag())&&h.node.isBlock(a)&&(d="<".concat(r,">"),f="</".concat(r,">"),a.tagName===r.toUpperCase()&&(d=h.node.openTagString(g(a).clone().removeAttr("id").get(0))));do{if(o=o.parentNode,!t||o!==a||t&&!h.node.isBlock(a))if(l+=h.node.closeTagString(o),o===a&&h.node.isBlock(a))c=d+c;else{var p=("A"===o.tagName||h.node.hasClass(o,"fa"))&&m(e,o)?"fr-to-remove":"";c="isPasted"===o.getAttribute("id")?h.node.openTagString(g(o).clone().attr("style","").addClass(p).get(0))+c:h.node.openTagString(g(o).clone().addClass(p).get(0))+c}}while(o!==a);i=l+i+c+(e.parentNode===a&&h.node.isBlock(a)?"":xt.INVISIBLE_SPACE)+xt.MARKERS,h.node.isBlock(a)&&!g(a).find("*").last().is("br")&&g(a).append("<br/>"),g(e).after('<span id="fr-break"></span>'),g(e).remove(),a.nextSibling&&!h.node.isBlock(a.nextSibling)||h.node.isBlock(a)||g(a).after("<br>"),s=(s=!t&&h.node.isBlock(a)?h.node.openTagString(a)+g(a).html()+f:h.node.openTagString(a)+g(a).html()+h.node.closeTagString(a)).replace(/<span id="fr-break"><\/span>/g,i),g(a).replaceWith(s)}}function E(e,t,n){var r=h.node.deepestParent(e,[],!n);if(null===r)h.html.defaultTag()&&e.parentNode===h.el?g(e).replaceWith("<".concat(h.html.defaultTag(),">").concat(xt.MARKERS,"<br></").concat(h.html.defaultTag(),">")):(e.nextSibling&&!h.node.isBlock(e.nextSibling)||g(e).after("<br>"),g(e).replaceWith("<br>".concat(xt.MARKERS)));else if(e.previousSibling&&"IMG"==e.previousSibling.tagName||e.nextSibling&&"IMG"==e.nextSibling.tagName)g(e).replaceWith("<"+h.html.defaultTag()+">"+xt.MARKERS+"<br></"+h.html.defaultTag()+">");else{var a=e,o="";"PRE"===r.tagName&&(t=!0),h.node.isBlock(r)&&!t||(o="<br>");var i="",s="";do{var l=a;if(a=a.parentNode,"BLOCKQUOTE"===r.tagName&&h.node.isEmpty(l)&&!h.node.hasClass(l,"fr-marker")&&g(l).contains(e)&&g(l).after(e),"BLOCKQUOTE"!==r.tagName||!m(e,a)&&!u(e,a))if(!t||a!==r||t&&!h.node.isBlock(r)){i+=h.node.closeTagString(a);var c="A"==a.tagName&&m(e,a)||h.node.hasClass(a,"fa")?"fr-to-remove":"";s=h.node.openTagString(g(a).clone().addClass(c).removeAttr("id").get(0))+s,a===r&&"DIV"===r.tagName&&(i="<br>",s="")}else"BLOCKQUOTE"==r.tagName&&t&&(s=i="")}while(a!==r);var d=r===e.parentNode&&h.node.isBlock(r)||e.nextSibling;if("BLOCKQUOTE"===r.tagName)if(e.previousSibling&&h.node.isBlock(e.previousSibling)&&e.nextSibling&&"BR"===e.nextSibling.tagName&&(g(e.nextSibling).after(e),e.nextSibling&&"BR"===e.nextSibling.tagName&&g(e.nextSibling).remove()),t)o=i+o+xt.MARKERS+s;else{var f=h.html.defaultTag();o="".concat(i+o+(f?"<".concat(f,">"):"")+xt.MARKERS,"<br>").concat(f?"</".concat(f,">"):"").concat(s)}else o=i+o+s+(d?"":xt.INVISIBLE_SPACE)+xt.MARKERS;g(e).replaceWith('<span id="fr-break"></span>');var p=h.node.openTagString(r)+g(r).html()+h.node.closeTagString(r);p=p.replace(/<span id="fr-break"><\/span>/g,o),g(r).replaceWith(p)}}return{enter:function y(e){var t=h.markers.insert();if(!t)return!0;for(var n=t.parentNode;n&&!h.node.isElement(n);){if("false"===n.getAttribute("contenteditable"))return g(t).replaceWith(xt.MARKERS),h.selection.restore(),!1;if("true"===n.getAttribute("contenteditable"))break;n=n.parentNode}h.el.normalize();var r=!1;0<g(t).parentsUntil(h.$el,"BLOCKQUOTE").length&&(r=!0),g(t).parentsUntil(h.$el,"TD, TH").length&&(r=!1),d(t)?!p(t)||e||r?C(t,e,r):h.cursorLists._endEnter(t):f(t)?!p(t)||e||r?function l(e,t,n){var r,a=h.node.deepestParent(e,[],!n);if(a&&"TABLE"===a.tagName)return g(a).find("td, th").first().prepend(e),l(e,t,n);if(a&&"BLOCKQUOTE"===a.tagName)if(u(e,a)){if(!t)return(r=h.html.defaultTag())?g(a).before("<".concat(r,">").concat(xt.MARKERS,"<br></").concat(r,">")):g(a).before("".concat(xt.MARKERS,"<br>")),g(e).remove(),!1}else m(e,a)?C(e,t,!0):E(e,t,!0);if(null===a)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith("<".concat(r,">").concat(xt.MARKERS,"<br></").concat(r,">")):g(e).replaceWith("<br>".concat(xt.MARKERS));else{if(r=h.html.defaultTag(),h.node.isBlock(a))if("PRE"===a.tagName&&(t=!0),t)g(e).remove(),g(a).prepend("<br>".concat(xt.MARKERS));else if(e.nextSibling&&"IMG"==e.nextSibling.tagName||e.nextSibling&&e.nextSibling.nextElementSibling&&"IMG"==e.nextSibling.nextElementSibling)g(e).replaceWith("<"+h.html.defaultTag()+">"+xt.MARKERS+"<br></"+h.html.defaultTag()+">");else{if(h.node.isEmpty(a,!0))return C(e,t,n);if(h.opts.keepFormatOnDelete||"DIV"===a.tagName||"div"===h.html.defaultTag())if(!h.opts.keepFormatOnDelete&&"DIV"===a.tagName||"div"===h.html.defaultTag())g(a).before("<"+h.html.defaultTag()+"><br></"+h.html.defaultTag()+">");else{for(var o=e,i=xt.INVISIBLE_SPACE;o!==a&&!h.node.isElement(o);)o=o.parentNode,i=h.node.openTagString(o)+i+h.node.closeTagString(o);g(a).before(i)}else g(a).before("".concat(h.node.openTagString(g(a).clone().removeAttr("id").get(0)),"<br>").concat(h.node.closeTagString(a)))}else g(a).before("<br>");g(e).remove()}}(t,e,r):h.cursorLists._startEnter(t):!p(t)||e||r?E(t,e,r):h.cursorLists._middleEnter(t),function c(){h.$el.find(".fr-to-remove").each(function(){for(var e=h.node.contents(this),t=0;t<e.length;t++)e[t].nodeType===Node.TEXT_NODE&&(e[t].textContent=e[t].textContent.replace(/\u200B/g,""));g(this).replaceWith(this.innerHTML)})}(),h.html.fillEmptyBlocks(!0),h.opts.htmlUntouched||(h.html.cleanEmptyTags(),h.clean.lists(),h.spaces.normalizeAroundCursor()),h.selection.restore();var a=h.o_win.innerHeight;if(h.$oel[0].offsetHeight>a){var o=h.helpers.scrollTop(),i=h.selection.blocks();if(i&&0<i.length&&i[0].offsetTop){var s=i[0].offsetTop;a-100<s-o?h.o_win.scroll(0,s-a+120):s-o<0&&h.o_win.scroll(0,s-20)}}},backspace:function s(){var e=!1,t=h.markers.insert();if(!t)return!0;for(var n=t.parentNode;n&&!h.node.isElement(n);){if("false"===n.getAttribute("contenteditable"))return g(t).replaceWith(xt.MARKERS),h.selection.restore(),!1;if(n.innerText.length&&"true"===n.getAttribute("contenteditable"))break;n=n.parentNode}h.el.normalize();var r=t.previousSibling;if(r){var a=r.textContent;a&&a.length&&8203===a.charCodeAt(a.length-1)&&1!==a.length&&(r.textContent=r.textContent.substr(0,a.length-v(a)))}return d(t)?p(t)&&u(t,g(t).parents("li").first().get(0))?h.cursorLists._backspace(t):e=b(t):f(t)?p(t)&&u(t,g(t).parents("li").first().get(0))?h.cursorLists._backspace(t):function c(e){for(var t=0<g(e).parentsUntil(h.$el,"BLOCKQUOTE").length,n=h.node.deepestParent(e,[],!t),r=n;n&&!n.previousSibling&&"BLOCKQUOTE"!==n.tagName&&n.parentElement!==h.el&&!h.node.hasClass(n.parentElement,"fr-inner")&&xt.SIMPLE_ENTER_TAGS.indexOf(n.parentElement.tagName)<0;)n=n.parentElement;if(n&&"BLOCKQUOTE"===n.tagName){var a=h.node.deepestParent(e,[g(e).parentsUntil(h.$el,"BLOCKQUOTE").get(0)]);a&&a.previousSibling&&(r=n=a)}if(null!==n){var o,i=n.previousSibling;if(h.node.isBlock(n)&&h.node.isEditable(n))if(i&&xt.NO_DELETE_TAGS.indexOf(i.tagName)<0){if(h.node.isDeletable(i))g(i).remove(),g(e).replaceWith(xt.MARKERS);else if(h.node.isEditable(i))if(h.node.isBlock(i))if(h.node.isEmpty(i)&&!h.node.isList(i))g(i).remove(),g(e).after(h.opts.keepFormatOnDelete?xt.INVISIBLE_SPACE:"");else{if(h.node.isList(i)&&(i=g(i).find("li").last().get(0)),(o=h.node.contents(i)).length&&"BR"===o[o.length-1].tagName&&g(o[o.length-1]).remove(),"BLOCKQUOTE"===i.tagName&&"BLOCKQUOTE"!==n.tagName)for(o=h.node.contents(i);o.length&&h.node.isBlock(o[o.length-1]);)i=o[o.length-1],o=h.node.contents(i);else if("BLOCKQUOTE"!==i.tagName&&"BLOCKQUOTE"===r.tagName)for(o=h.node.contents(r);o.length&&h.node.isBlock(o[0]);)r=o[0],o=h.node.contents(r);if(h.node.isEmpty(n))g(e).remove(),h.selection.setAtEnd(i,!0);else{g(e).replaceWith(xt.MARKERS);var s=i.childNodes;h.node.isBlock(s[s.length-1])?g(s[s.length-1]).append(r.innerHTML):g(i).append(r.innerHTML)}g(r).remove(),h.node.isEmpty(n)&&g(n).remove()}else g(e).replaceWith(xt.MARKERS),"BLOCKQUOTE"===n.tagName&&i.nodeType===Node.ELEMENT_NODE?g(i).remove():(g(i).after(h.node.isEmpty(n)?"":g(n).html()),g(n).remove(),"BR"===i.tagName&&g(i).remove())}else if(!i)if(n&&"BLOCKQUOTE"===n.tagName&&0===g(n).text().replace(/\u200B/g,"").length)g(n).remove();else{var l=n.nextSibling;h.node.isEmpty(n)&&n.parentNode&&h.node.isEditable(n.parentNode)&&!l&&n.parentNode!=h.el&&g(n.parentNode).remove()}}}(t):e=b(t),g(t).remove(),i(),h.html.fillEmptyBlocks(!0),h.opts.htmlUntouched||(h.html.cleanEmptyTags(),h.clean.lists(),h.spaces.normalizeAroundCursor()),h.selection.restore(),e},del:function r(){var e=h.markers.insert();if(!e)return!1;if(h.el.normalize(),d(e))if(p(e))if(0===g(e).parents("li").first().find("ul, ol").length)h.cursorLists._del(e);else{var t=g(e).parents("li").first().find("ul, ol").first().find("li").first();(t=t.find(h.html.blockTagsQuery()).get(-1)||t).prepend(e),h.cursorLists._backspace(e)}else o(e);else f(e),n(e);g(e).remove(),i(),h.html.fillEmptyBlocks(!0),h.opts.htmlUntouched||(h.html.cleanEmptyTags(),h.clean.lists()),h.spaces.normalizeAroundCursor(),h.selection.restore()},isAtEnd:m,isAtStart:u}},xt.MODULES.data=function(f){function p(e){return e}function c(e){for(var t=e.toString(),n=0,r=0;r<t.length;r++)n+=parseInt(t.charAt(r),10);return 10<n?n%9+1:n}function d(e,t,n){for(var r=Math.abs(n);0<r--;)e-=t;return n<0&&(e+=123),e}function u(e){return e&&"block"!==e.css("display")?(e.remove(),!0):e&&0===f.helpers.getPX(e.css("height"))?(e.remove(),!0):!(!e||"absolute"!==e.css("position")&&"fixed"!==e.css("position")||(e.remove(),0))}function h(e){return e&&0===f.$box.find(e).length}function g(){if(10<e&&(f[p(T("0ppecjvc=="))](),setTimeout(function(){E.FE=null},10)),!f.$box)return!1;f.$wp.prepend(T(p(T(w)))),b=f.$wp.find("> div").first(),C=b.find("> a"),"rtl"===f.opts.direction&&b.css("left","auto").css("right",0).attr("direction","rtl"),e++}function m(e){for(var t=[T("9qqG-7amjlwq=="),T("KA3B3C2A6D1D5H5H1A3=="),T("3B9B3B5F3C4G3E3=="),T("QzbzvxyB2yA-9m=="),T("ji1kacwmgG5bc=="),T("nmA-13aogi1A3c1jd=="),T("BA9ggq=="),T("emznbjbH3fij=="),T("tkC-22d1qC-13sD1wzF-7=="),T("tA3jjf=="),T("1D1brkm==")],n=0;n<t.length;n++)if(String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e.endsWith(t[n]))return!0;return!1}function v(){var e=T(p(n)),t=T(p("tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==")).split(".");try{return window.parent.document.querySelector(e)&&window[t[1]][t[2]]}catch(e){return!1}}var b,C,E=f.$,y=your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash21A2B2==",L=your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashhqND2A2B2==",n="MekC-11nB-8tIzpD7pewxvzC6mD-16xerg1==",_="lC4B3A3B2B5A1C2E4G1A2==",w=your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash1A12==",A=function(){for(var e=0,t=document.domain,n=t.split("."),r="_gd".concat((new Date).getTime());e<n.length-1&&-1===document.cookie.indexOf("".concat(r,"=").concat(r));)t=n.slice(-1-++e).join("."),document.cookie="".concat(r,"=").concat(r,";domain=").concat(t,";");return document.cookie="".concat(r,"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=").concat(t,";"),(t||"").replace(/(^\.*)|(\.*$)/g,"")}(),T=p(function S(e){if(!e)return e;for(var t="",n=p("charCodeAt"),r=p("fromCharCode"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".indexOf(e[0]),o=1;o<e.length-2;o++){for(var i=c(++a),s=e[n](o),l="";/[0-9-]/.test(e[o+1]);)l+=e[++o];s=d(s,i,l=parseInt(l,10)||0),s^=a-1&31,t+=String[r](s)}return t}),e=0;return{_init:function k(){var e=f.opts.key||[""],t=T(p(your_sha256_hash4YE3E3A9=="));"string"==typeof e&&(e=[e]);for(var n,r,a,o=!(f.ul=!0),i=0,s=0;s<e.length;s++){var l=(r=e[s],4===(a=(T(r)||"").split("|")).length&&"V3"===a[0]?[a[1],a[3],a[2]]:[null,null,""]),c=l[2];if(c===T(p(T("LGnD1KNZf1CPBYCAZB-8F3UDSLLSG1VFf1A3C2==")))||0<=c.indexOf(A,c.length-A.length)||m(A)||v()){if(null!==(n=l[1])&&!(0==n.indexOf("TRIAL")?(n=new Date(n.replace(/TRIAL/,"")),new Date(n)<new Date&&(y=L,1)):new Date(n)<new Date(T(_)))||!(0<(A||"").length)||m(A)||v()){f.ul=!1;break}o=!0,w=y,i=l[0]||-1}}var d=new Image;!0===f.ul&&(g(),d.src=o?"".concat(p(T(t)),"e=").concat(i):"".concat(p(T(t)),"u")),!0===f.ul&&(f.events.on("contentChanged",function(){(function e(){return u(b)||u(C)||h(b)||h(C)})()&&g()}),f.events.on("html.get",function(e){return e+T(your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashA2WwA-21ayeA1C4d1isC-22rD-13D6DfjpjtC2E6hB2G2G4A-7D2==")})),f.events.on("html.set",function(){var e=f.el.querySelector('[data-f-id="pbf"]');e&&E(e).remove()}),f.events.on("destroy",function(){b&&b.length&&b.remove()},!0)}}},xt.MODULES.edit=function(t){function e(){if(t.browser.mozilla)try{t.doc.execCommand("enableObjectResizing",!1,"false"),t.doc.execCommand("enableInlineTableEditing",!1,"false")}catch(e){}if(t.browser.msie)try{t.doc.body.addEventListener("mscontrolselect",function(e){return e.srcElement.focus(),!1})}catch(e){}}var n=!1;function r(){return n}return{_init:function a(){t.events.on("focus",function(){r()?t.edit.off():t.edit.on()})},on:function o(){t.$wp?(t.$el.attr("contenteditable",!0),t.$el.removeClass("fr-disabled").attr("aria-disabled",!1),e()):t.$el.is("a")&&t.$el.attr("contenteditable",!0),t.events.trigger("edit.on",[],!0),n=!1},off:function i(){t.events.disableBlur(),t.$wp?(t.$el.attr("contenteditable",!1),t.$el.addClass("fr-disabled").attr("aria-disabled",!0)):t.$el.is("a")&&t.$el.attr("contenteditable",!1),t.events.trigger("edit.off"),t.events.enableBlur(),n=!0},disableDesign:e,isDisabled:r}},xt.MODULES.format=function(T){var S=T.$;function m(e,t){var n="<".concat(e);for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n+=" ".concat(r,'="').concat(t[r],'"'));return n+=">"}function k(e,t){var n=e;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n+="id"===r?"#".concat(t[r]):"class"===r?".".concat(t[r]):"[".concat(r,'="').concat(t[r],'"]'));return n}function x(e,t){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function v(e,t,n){var r,a,o,i={strong:{prop:"font-weight",val:"bold"},em:{prop:"font-style",val:"italic"}};if(e){if(T.node.isBlock(e)&&e.hasAttribute("contenteditable")&&"false"===e.getAttribute("contenteditable")||e.parentNode&&e.parentNode.hasAttribute("contenteditable")&&"false"===e.parentNode.getAttribute("contenteditable")){if(e.nextSibling&&S(e.nextSibling).hasClass("fr-marker"))return;if(e.nextSibling)return void v(e.nextSibling,t,n);if(e.parentNode)return void v(e.parentNode,t,n)}for(;e.nodeType===Node.COMMENT_NODE;)e=e.nextSibling;if(e){if(T.node.isBlock(e)&&"HR"!==e.tagName)return T.node.hasClass(e.firstChild,"fr-marker")?v(e.firstChild.nextSibling,t,n):v(e.firstChild,t,n),!1;var s=S(T.doc.createElement(t));s.attr(n),s.insertBefore(e),(r=b(e))&&(0<=["strong","em"].indexOf(t)||"span"===t&&n.hasOwnProperty("style"))&&(o="span"===t?(a=(i=n.style.replace(/;$/,"").split(":"))[0].trim(),i[1].trim()):(a=i[t].prop,i[t].val),"background-color"!==a&&(S(r).css(a,o),function g(e,t){var n,r=e.childNodes;for(n=0;n<r.length;n++)0<=["UL","OL","LI"].indexOf(r[n].tagName)&&""===r[n].style[t]&&S(r[n]).css(t,"initial")}(r,a)));for(var l=e;l&&!S(l).hasClass("fr-marker")&&0===S(l).find(".fr-marker").length&&"UL"!==l.tagName&&"OL"!==l.tagName;){var c=l;if("SPAN"===l.tagName&&S(l).hasClass("fr-tracking-deleted"))l=l.nextSibling;else{if(T.node.isBlock(l)&&"HR"!==e.tagName)return v(l.firstChild,t,n),!1;if("SPAN"===l.tagName)return v(l.firstChild,t,n),!1;if(l.tagName&&l.hasAttribute("contenteditable")&&"false"===l.getAttribute("contenteditable"))return void v(l.nextSibling,t,n);l=l.nextSibling,s.append(c)}}if(l){if(S(l).find(".fr-marker").length||"UL"===l.tagName||"OL"===l.tagName)v(l.firstChild,t,n);else if(T.browser.mozilla&&T.node.hasClass(l,"fr-marker")){var d,f=T.selection.blocks(),p=f.length;for(d=0;d<p;d++)f[d]!=l.parentNode&&f[d].childNodes.length&&f[d].childNodes[0]!=l.parentNode&&(l=f[d].childNodes[1]||f[d].childNodes[0],(s=S(m(t,n)).insertBefore(l)).append(l))}}else{for(var u=s.get(0).parentNode;u&&!u.nextSibling&&!T.node.isElement(u);)u=u.parentNode;if(u){var h=u.nextSibling;h&&(T.node.isBlock(h)?"HR"===h.tagName?v(h.nextSibling,t,n):v(h.firstChild,t,n):v(h,t,n))}}s.is(":empty")&&s.remove()}}}function n(e,t){var n;if(void 0===t&&(t={}),t.style&&delete t.style,T.selection.isCollapsed()){T.markers.insert(),T.$el.find(".fr-marker").replaceWith(m(e,t)+xt.INVISIBLE_SPACE+xt.MARKERS+function i(e){return"</".concat(e,">")}(e)),T.selection.restore()}else{var r;T.selection.save(),v(T.$el.find('.fr-marker[data-type="true"]').length&&T.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling,e,t);do{for(r=T.$el.find("".concat(k(e,t)," > ").concat(k(e,t))),n=0;n<r.length;n++)r[n].outerHTML=r[n].innerHTML}while(r.length);T.el.normalize();var a=T.el.querySelectorAll(".fr-marker");for(n=0;n<a.length;n++){var o=S(a[n]);!0===o.data("type")?x(o.get(0).nextSibling,k(e,t))&&o.next().prepend(o):x(o.get(0).previousSibling,k(e,t))&&o.prev().append(o)}T.selection.restore()}}function R(e,t,n,r){if(!r){var a=!1;if(!0===e.data("type"))for(;T.node.isFirstSibling(e.get(0))&&!e.parent().is(T.$el)&&!e.parent().is("ol")&&!e.parent().is("ul");)e.parent().before(e),a=!0;else if(!1===e.data("type"))for(;T.node.isLastSibling(e.get(0))&&!e.parent().is(T.$el)&&!e.parent().is("ol")&&!e.parent().is("ul");)e.parent().after(e),a=!0;if(a)return!0}if(e.parents(t).length||void 0===t){var o,i="",s="",l=e.parent();if(l.is(T.$el)||T.node.isBlock(l.get(0)))return!1;for(;!(T.node.isBlock(l.parent().get(0))||void 0!==t&&x(l.get(0),k(t,n)));)i+=T.node.closeTagString(l.get(0)),s=T.node.openTagString(l.get(0))+s,l=l.parent();var c=e.get(0).outerHTML;return e.replaceWith('<span id="mark"></span>'),o=l.html().replace(/<span id="mark"><\/span>/,i+T.node.closeTagString(l.get(0))+s+c+i+T.node.openTagString(l.get(0))+s),l.replaceWith(T.node.openTagString(l.get(0))+o+T.node.closeTagString(l.get(0))),!0}return!1}function r(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=T.selection.isCollapsed();T.selection.save();for(var r=!0;r;){r=!1;for(var a=T.$el.find(".fr-marker"),o=0;o<a.length;o++){var i=S(a[o]),s=null;if(i.attr("data-cloned")||n||(s=i.clone().removeClass("fr-marker").addClass("fr-clone"),i.data("type")&&"true"===i.data("type").toString()?i.attr("data-cloned",!0).after(s):i.attr("data-cloned",!0).before(s)),R(i,e,t,n)){r=!0;break}}}!function w(e,t,n,r){for(var a,o={strong:{prop:"font-weight",val:"bold"},em:{prop:"font-style",val:"italic"}},i=T.node.contents(e.get(0)),s=0;s<i.length;s++){var l=i[s];if(l.innerHTML&&8203==l.innerHTML.charCodeAt()&&l.tagName.toLocaleLowerCase()==n&&l.childNodes.length<2&&(l.outerHTML=l.innerHTML),T.node.hasClass(l,"fr-marker"))t=(t+1)%2;else if(t)if(0<S(l).find(".fr-marker").length)t=w(S(l),t,n,r);else{(a="LI"===l.tagName?l:S(l).parentsUntil(T.$el,"li").get(0))&&(void 0===n||0<=["strong","em"].indexOf(n))&&(n?S(a).css(o[n].prop,""):a.style="");for(var c=S(l).find(n||"*:not(br)"),d=c.length-1;0<=d;d--){var f=c[d];(a="LI"===f.tagName?f:S(f).parentsUntil(T.$el,"li").get(0))&&(!n||0<=["strong","em"].indexOf(n))&&(n?S(a).css(o[n].prop,""):a.style=""),T.node.isBlock(f)||T.node.isVoid(f)||void 0!==n&&!x(f,k(n,r))?T.node.isBlock(f)&&void 0===n&&"TABLE"!==l.tagName&&T.node.clearAttributes(f):T.node.hasClass(f,"fr-clone")||T.node.hasClass(f,"fr-tracking-deleted")||S(f).data("tracking")||(f.outerHTML=f.innerHTML)}void 0===n&&l.nodeType===Node.ELEMENT_NODE&&!T.node.isVoid(l)||x(l,k(n,r))?T.node.isBlock(l)||(T.node.hasClass(l,"fr-clone")||T.opts.trackChangesEnabled?!T.node.hasClass(l,"fr-clone")&&T.opts.trackChangesEnabled&&l.parentNode&&(l.outerHTML=l.innerHTML):l.outerHTML=l.innerHTML):void 0===n&&l.nodeType===Node.ELEMENT_NODE&&T.node.isBlock(l)&&"TABLE"!==l.tagName&&T.node.clearAttributes(l)}else 0<S(l).find(".fr-marker").length&&(t=w(S(l),t,n,r))}return t}(T.$el,0,e,t),n||(T.$el.find(".fr-marker").remove(),T.$el.find(".fr-clone").removeClass("fr-clone").addClass("fr-marker")),n&&T.$el.find(".fr-marker").before(xt.INVISIBLE_SPACE).after(xt.INVISIBLE_SPACE),T.html.cleanEmptyTags(),T.el.normalize();var l=T.$el.find(".fr-marker")[0],c=T.$el.find(".fr-marker")[1];!l.parentNode||"P"!==l.parentNode.tagName&&"DIV"!==l.parentNode.tagName||l.parentNode.firstChild!==l||l.parentNode.lastChild!==c||l.parentNode.removeAttribute("style"),T.selection.restore();var d=T.win.getSelection()&&T.win.getSelection().anchorNode;if(d){var f=T.node.blockParent(d),p=!!d.textContent.replace(/\u200B/g,"").length,u=T.win.getSelection().getRangeAt(0),h=u.startOffset,g=u.endOffset;T.selection.text().replace(/\u200B/g,"").length||function A(e,t){if(e&&t){if(e.isSameNode(t)?e.textContent=e.textContent.replace(/\u200B(?=.*\u200B)/g,""):e.nodeType===Node.TEXT_NODE&&(e.textContent=e.textContent.replace(/\u200B/g,"")),!e.childNodes.length)return!1;Array.isArray(e.childNodes)&&e.childNodes.forEach(function(e){A(e,t)})}}(f,d);var m=T.win.getSelection().getRangeAt(0);if(d.nodeType===Node.TEXT_NODE){if(!p||!T.selection.text().length&&h===g){var v=d.textContent.search(/\u200B/g)+1;if(T.browser.msie){var b=T.doc.createRange();T.selection.get().removeAllRanges(),b.setStart(d,v),b.setEnd(d,v),T.selection.get().addRange(b)}else m.setStart(d,v),m.setEnd(d,v)}}else{var C,E,y=0,L=S(d).contents();if(T.browser.msie){for(;E=L[y];)E.nodeType===Node.TEXT_NODE&&0<=E.textContent.search(/\u200B/g)&&(C=E),y++;C=S(C)}else C=L.filter(function(e){return e.nodeType===Node.TEXT_NODE&&0<=e.textContent.search(/\u200B/g)});if(C.length&&!T.opts.trackChangesEnabled){var _=C.text().search(/\u200B/g)+1;m.setStart(C.get(0),_),m.setEnd(C.get(0),_)}}}}function t(e,t){var n,r,a,o,i,s,l,c=null;if(T.selection.isCollapsed()){T.markers.insert();var d=(r=T.$el.find(".fr-marker")).parent();if(T.node.openTagString(d.get(0))==='<span style="'.concat(e,": ").concat(d.css(e),';">')){if(T.node.isEmpty(d.get(0)))c=S(T.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat(xt.INVISIBLE_SPACE).concat(xt.MARKERS)),d.replaceWith(c);else{var f={};f["style*"]="".concat(e,":"),R(r,"span",f,!0),r=T.$el.find(".fr-marker"),t?(c=S(T.doc.createElement("span")).attr("style","".concat(e,": ").concat(t,";")).html("".concat(xt.INVISIBLE_SPACE).concat(xt.MARKERS)),r.replaceWith(c)):r.replaceWith(xt.INVISIBLE_SPACE+xt.MARKERS)}T.html.cleanEmptyTags()}else T.node.isEmpty(d.get(0))&&d.is("span")?(r.replaceWith(xt.MARKERS),d.css(e,t)):(c=S('<span style="'.concat(e,": ").concat(t,';">').concat(xt.INVISIBLE_SPACE).concat(xt.MARKERS,"</span>")),r.replaceWith(c));c&&C(c,e,t)}else{if(T.selection.save(),null===t||"color"===e&&0<T.$el.find(".fr-marker").parents("u, a").length){var p=T.$el.find(".fr-marker");for(n=0;n<p.length;n++)if(!0===(r=S(p[n])).data("type")||"true"===r.data("type"))for(;T.node.isFirstSibling(r.get(0))&&!r.parent().is(T.$el)&&!T.node.isElement(r.parent().get(0))&&!T.node.isBlock(r.parent().get(0));)r.parent().before(r);else for(;T.node.isLastSibling(r.get(0))&&!r.parent().is(T.$el)&&!T.node.isElement(r.parent().get(0))&&!T.node.isBlock(r.parent().get(0));)r.parent().after(r)}for(var u=T.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling;u.firstChild;)u=u.firstChild;var h={"class":"fr-unprocessed"};for(t&&(h.style="".concat(e,": ").concat(t,";")),v(u,"span",h),T.$el.find(".fr-marker + .fr-unprocessed").each(function(){S(this).prepend(S(this).prev())}),T.$el.find(".fr-unprocessed + .fr-marker").each(function(){S(this).prev().append(S(this))}),(t||"").match(/\dem$/)&&T.$el.find("span.fr-unprocessed").removeClass("fr-unprocessed");0<T.$el.find("span.fr-unprocessed").length;){if(a=b(c=T.$el.find("span.fr-unprocessed").first().removeClass("fr-unprocessed")),c.parent().get(0).normalize(),c.parent().is("span")&&1===c.parent().get(0).childNodes.length){c.parent().css(e,t);var g=c;c=c.parent(),g.replaceWith(g.html())}for(o=c.find("span"),a&&"background-color"!==e&&(a.normalize(),o=S(a).find("span:not(.fr-unprocessed)")),n=o.length-1;0<=n;n--)i=o[n],s=e,l=void 0,(l=S(i)).css(s,""),""===l.attr("style")&&l.replaceWith(l.html());C(c,e,t)}}!function m(){var e;for(;0<T.$el.find(".fr-split:empty").length;)T.$el.find(".fr-split:empty").remove();T.$el.find(".fr-split").removeClass("fr-split"),T.$el.find('[style=""]').removeAttr("style"),T.$el.find('[class=""]').removeAttr("class"),T.html.cleanEmptyTags();for(var t=T.$el.find("span"),n=t.length-1;0<=n;n--){var r=t[n];r.attributes&&0!==r.attributes.length||S(r).replaceWith(r.innerHTML)}T.el.normalize();var a=T.$el.find("span[style] + span[style]");for(e=0;e<a.length;e++){var o=S(a[e]),i=S(a[e]).prev();o.get(0).previousSibling===i.get(0)&&T.node.openTagString(o.get(0))===T.node.openTagString(i.get(0))&&(o.prepend(i.html()),i.remove())}T.$el.find("span[style] span[style]").each(function(){if(0<=S(this).attr("style").indexOf("font-size")){var e=S(this).parents("span[style]");e.attr("style")&&0<=e.attr("style").indexOf("background-color")&&(S(this).attr("style","".concat(S(this).attr("style"),";").concat(e.attr("style"))),R(S(this),"span[style]",{},!1))}}),T.el.normalize(),T.selection.restore()}()}function b(e){var t,n,r,a,o,i;if(t="LI"===e.tagName?e:S(e).parentsUntil(T.$el,"li").get(0)){if((i=T.selection.info(t)).atStart&&i.atEnd)return t;if(i.atStart&&!i.atEnd&&(n=S(t).find(".fr-marker[data-type=false]").get(0),r=S(n).parentsUntil(T.$el,"li").get(0),a=S(n).parent().get(0),(o=n.nextSibling)&&0<=["UL","OL"].indexOf(o.tagName)||!r.isSameNode(t)||!o&&("LI"===a.tagName||!a.nextSibling||0<=["UL","OL"].indexOf(a.nextSibling.tagName)||T.node.isVoid(a.nextSibling))))return t}}function C(e,t,n){var r,a,o,i=e.parentsUntil(T.$el,"span[style]"),s=[];for(r=i.length-1;0<=r;r--)a=i[r],o=t,0===S(a).attr("style").indexOf("".concat(o,":"))||0<=S(a).attr("style").indexOf(";".concat(o,":"))||0<=S(a).attr("style").indexOf("; ".concat(o,":"))||s.push(i[r]);if((i=i.not(s)).length){for(var l="",c="",d="",f="",p=e.get(0);p=p.parentNode,S(p).addClass("fr-split"),l+=T.node.closeTagString(p),c=T.node.openTagString(S(p).clone().addClass("fr-split").get(0))+c,i.get(0)!==p&&(d+=T.node.closeTagString(p),f=T.node.openTagString(S(p).clone().addClass("fr-split").get(0))+f),i.get(0)!==p;);var u="".concat(l+T.node.openTagString(S(i.get(0)).clone().css(t,n||"").get(0))+f+e.css(t,"").get(0).outerHTML+d,"</span>").concat(c);e.replaceWith('<span id="fr-break"></span>');var h=i.get(0).outerHTML;S(i.get(0)).replaceWith(h.replace(/<span id="fr-break"><\/span>/g,function(){return u}))}}function a(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=T.selection.ranges(0),r=n.startContainer;if(r.nodeType===Node.ELEMENT_NODE&&0<r.childNodes.length&&r.childNodes[n.startOffset]&&(r=r.childNodes[n.startOffset]),!n.collapsed&&r.nodeType===Node.TEXT_NODE&&n.startOffset===(r.textContent||"").length){for(;!T.node.isBlock(r.parentNode)&&!r.nextSibling;)r=r.parentNode;r.nextSibling&&(r=r.nextSibling)}for(var a=r;a&&a.nodeType===Node.ELEMENT_NODE&&!x(a,k(e,t));)a=a.firstChild;if(a&&a.nodeType===Node.ELEMENT_NODE&&x(a,k(e,t)))return!0;var o=r;for(o&&o.nodeType!==Node.ELEMENT_NODE&&(o=o.parentNode);o&&o.nodeType===Node.ELEMENT_NODE&&o!==T.el&&!x(o,k(e,t));)o=o.parentNode;return!(!o||o.nodeType!==Node.ELEMENT_NODE||o===T.el||!x(o,k(e,t)))}return{is:a,toggle:function o(e,t){a(e,t)?r(e,t):n(e,t)},apply:n,remove:r,applyStyle:t,removeStyle:function i(e){t(e,null)}}},xt.MODULES.spaces=function(c){function r(e,t){var n=e.previousSibling,r=e.nextSibling,a=e.textContent,o=e.parentNode,i=[xt.ENTER_P,xt.ENTER_DIV,xt.ENTER_BR];if(!c.html.isPreformatted(o)){t&&(a=a.replace(/[\f\n\r\t\v ]{2,}/g," "),r&&"BR"!==r.tagName&&!c.node.isBlock(r)||!(c.node.isBlock(o)||c.node.isLink(o)&&!o.nextSibling||c.node.isElement(o))||(a=a.replace(/[\f\n\r\t\v ]{1,}$/g,"")),n&&"BR"!==n.tagName&&!c.node.isBlock(n)||!(c.node.isBlock(o)||c.node.isLink(o)&&!o.previousSibling||c.node.isElement(o))||(a=a.replace(/^[\f\n\r\t\v ]{1,}/g,"")),(c.node.isBlock(r)||c.node.isBlock(n))&&(!n||n&&"A"!==n.tagName)&&(a=a.replace(/^[\f\n\r\t\v ]{1,}/g,""))," "===a&&(n&&c.node.isVoid(n)||r&&c.node.isVoid(r))&&!(n&&r&&c.node.isVoid(n)||r&&n&&c.node.isVoid(r))&&(a="")),(!n&&c.node.isBlock(r)||!r&&c.node.isBlock(n))&&c.node.isBlock(o)&&o!==c.el&&(a=a.replace(/^[\f\n\r\t\v ]{1,}/g,"")),t||(a=a.replace(new RegExp(xt.UNICODE_NBSP,"g")," "));for(var s="",l=0;l<a.length;l++)32!=a.charCodeAt(l)||0!==l&&32!=s.charCodeAt(l-1)||!((c.opts.enter===xt.ENTER_BR||c.opts.enter===xt.ENTER_DIV)&&(n&&"BR"===n.tagName||r&&"BR"===r.tagName)||n&&r&&n.tagName===r.tagName)&&(n&&r&&c.node.isVoid(n)||n&&r&&c.node.isVoid(r))?s+=a[l]:s+=xt.UNICODE_NBSP;(!r||r&&c.node.isBlock(r)||r&&r.nodeType===Node.ELEMENT_NODE&&c.win.getComputedStyle(r)&&"block"===c.win.getComputedStyle(r).display)&&(!c.node.isVoid(n)||n&&-1!==["P","DIV","BR"].indexOf(n.tagName)&&-1!==i.indexOf(c.opts.enter))&&(s=s.replace(/ $/,xt.UNICODE_NBSP)),!n||c.node.isVoid(n)||c.node.isBlock(n)||1!==(s=s.replace(/^\u00A0([^ $])/," $1")).length||160!==s.charCodeAt(0)||!r||c.node.isVoid(r)||c.node.isBlock(r)||c.node.hasClass(n,"fr-marker")&&c.node.hasClass(r,"fr-marker")||(s=" "),t||(s=s.replace(/([^ \u00A0])\u00A0([^ \u00A0])/g,"$1 $2")),e.textContent!==s&&(e.textContent=s)}}function l(e,t){if(void 0!==e&&e||(e=c.el),void 0===t&&(t=!1),!e.getAttribute||"false"!==e.getAttribute("contenteditable"))if(e.nodeType===Node.TEXT_NODE)r(e,t);else if(e.nodeType===Node.ELEMENT_NODE)for(var n=c.doc.createTreeWalker(e,NodeFilter.SHOW_TEXT,c.node.filter(function(e){for(var t=e.parentNode;t&&t!==c.el;){if("STYLE"===t.tagName||"IFRAME"===t.tagName)return!1;if("PRE"===t.tagName)return!1;t=t.parentNode}return null!==e.textContent.match(/([ \u00A0\f\n\r\t\v]{2,})|(^[ \u00A0\f\n\r\t\v]{1,})|([ \u00A0\f\n\r\t\v]{1,}$)/g)&&!c.node.hasClass(e.parentNode,"fr-marker")}),!1);n.nextNode();)r(n.currentNode,t)}return{normalize:l,normalizeAroundCursor:function d(){for(var e=[],t=c.el.querySelectorAll(".fr-marker"),n=0;n<t.length;n++){for(var r=null,a=c.node.blockParent(t[n]),o=(r=a||t[n]).nextSibling,i=r.previousSibling;o&&"BR"===o.tagName;)o=o.nextSibling;for(;i&&"BR"===i.tagName;)i=i.previousSibling;r&&e.indexOf(r)<0&&e.push(r),i&&e.indexOf(i)<0&&e.push(i),o&&e.indexOf(o)<0&&e.push(o)}for(var s=0;s<e.length;s++)l(e[s])}}},xt.START_MARKER='<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;">'.concat(xt.INVISIBLE_SPACE="&#8203;","</span>"),xt.END_MARKER='<span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;">'.concat(xt.INVISIBLE_SPACE,"</span>"),xt.MARKERS=xt.START_MARKER+xt.END_MARKER,xt.MODULES.markers=function(d){var f=d.$;function l(){if(!d.$wp)return null;try{var e=d.selection.ranges(0),t=e.commonAncestorContainer;if(t!==d.el&&!d.$el.contains(t))return null;var n=e.cloneRange(),r=e.cloneRange();n.collapse(!0);var a=f(d.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html(xt.INVISIBLE_SPACE).get(0);if(n.insertNode(a),a=d.$el.find("span.fr-marker").get(0)){for(var o=a.nextSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)f(o).remove(),o=d.$el.find("span.fr-marker").get(0).nextSibling;return d.selection.clear(),d.selection.get().addRange(r),a}return null}catch(i){}}function c(){d.$el.find(".fr-marker").remove()}return{place:function p(e,t,n){var r,a,o;try{var i=e.cloneRange();if(i.collapse(t),i.insertNode(function l(e,t){var n=f(d.doc.createElement("SPAN"));return n.addClass("fr-marker").attr("data-id",t).attr("data-type",e).attr("style","display: ".concat(d.browser.safari?"none":"inline-block","; line-height: 0;")).html(xt.INVISIBLE_SPACE),n.get(0)}(t,n)),!0===t)for(o=(r=d.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(n,'"]')).get(0)).nextSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)f(o).remove(),o=r.nextSibling;if(!0===t&&!e.collapsed){for(;!d.node.isElement(r.parentNode)&&!o;)-1</\bfa\b/g.test(r.parentNode.className)&&"I"===r.parentNode.tagName?f(r.parentNode).before(r):f(r.parentNode).after(r),o=r.nextSibling;if(o&&o.nodeType===Node.ELEMENT_NODE&&d.node.isBlock(o)&&"HR"!==o.tagName){for(a=[o];o=a[0],(a=d.node.contents(o))[0]&&d.node.isBlock(a[0]););f(o).prepend(f(r))}}if(!1===t&&!e.collapsed){if((o=(r=d.$el.find('span.fr-marker[data-type="false"][data-id="'.concat(n,'"]')).get(0)).previousSibling)&&o.nodeType===Node.ELEMENT_NODE&&d.node.isBlock(o)&&"HR"!==o.tagName){for(a=[o];o=a[a.length-1],(a=d.node.contents(o))[a.length-1]&&d.node.isBlock(a[a.length-1]););f(o).append(f(r))}(r.parentNode&&0<=["TD","TH"].indexOf(r.parentNode.tagName)||!r.previousSibling&&d.node.isBlock(r.parentElement))&&(r.parentNode.previousSibling&&!r.previousSibling?f(r.parentNode.previousSibling).append(r):0<=["TD","TH"].indexOf(r.parentNode.tagName)&&r.parentNode.firstChild===r&&(r.parentNode.previousSibling?f(r.parentNode.previousSibling).append(r):r.parentNode.parentNode&&r.parentNode.parentNode.previousSibling&&f(r.parentNode.parentNode.previousSibling).append(r)))}var s=d.$el.find('span.fr-marker[data-type="'.concat(t,'"][data-id="').concat(n,'"]')).get(0);return s&&(s.style.display="none"),s}catch(c){return null}},insert:l,split:function i(){d.selection.isCollapsed()||d.selection.remove();var e=d.$el.find(".fr-marker").get(0);if(e||(e=l()),!e)return null;var t=d.node.deepestParent(e);if(t||(t=d.node.blockParent(e))&&"LI"!==t.tagName&&(t=null),t)if(d.node.isBlock(t)&&d.node.isEmpty(t))"LI"!==t.tagName||t.parentNode.firstElementChild!==t||d.node.isEmpty(t.parentNode)?f(t).replaceWith('<span class="fr-marker"></span>'):f(t).append('<span class="fr-marker"></span>');else if(d.cursor.isAtStart(e,t))f(t).before('<span class="fr-marker"></span>'),f(e).remove();else if(d.cursor.isAtEnd(e,t))f(t).after('<span class="fr-marker"></span>'),f(e).remove();else{for(var n=e,r="",a="";n=n.parentNode,r+=d.node.closeTagString(n),a=d.node.openTagString(n)+a,n!==t;);f(e).replaceWith('<span id="fr-break"></span>');var o=d.node.openTagString(t)+f(t).html()+d.node.closeTagString(t);o=o.replace(/<span id="fr-break"><\/span>/g,"".concat(r,'<span class="fr-marker"></span>').concat(a)),f(t).replaceWith(o)}return d.$el.find(".fr-marker").get(0)},insertAtPoint:function u(e){var t,n=e.clientX,r=e.clientY;c();var a=null;if("undefined"!=typeof d.doc.caretPositionFromPoint?(t=d.doc.caretPositionFromPoint(n,r),(a=d.doc.createRange()).setStart(t.offsetNode,t.offset),a.setEnd(t.offsetNode,t.offset)):"undefined"!=typeof d.doc.caretRangeFromPoint&&(t=d.doc.caretRangeFromPoint(n,r),(a=d.doc.createRange()).setStart(t.startContainer,t.startOffset),a.setEnd(t.startContainer,t.startOffset)),null!==a&&"undefined"!=typeof d.win.getSelection){var o=d.win.getSelection();o.removeAllRanges(),o.addRange(a)}else if("undefined"!=typeof d.doc.body.createTextRange)try{(a=d.doc.body.createTextRange()).moveToPoint(n,r);var i=a.duplicate();i.moveToPoint(n,r),a.setEndPoint("EndToEnd",i),a.select()}catch(s){return!1}l()},remove:c}},xt.MODULES.selection=function(y){var L=y.$;function s(){var e="";return y.win.getSelection?e=y.win.getSelection():y.doc.getSelection?e=y.doc.getSelection():y.doc.selection&&(e=y.doc.selection.createRange().text),e.toString()}function E(){return y.win.getSelection?y.win.getSelection():y.doc.getSelection?y.doc.getSelection():y.doc.selection.createRange()}function f(e){var t=E(),n=[];if(t&&t.getRangeAt&&t.rangeCount){n=[];for(var r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r))}else n=y.doc.createRange?[y.doc.createRange()]:[];return void 0!==e?n[e]:n}function _(){var e=E();try{e.removeAllRanges?e.removeAllRanges():e.empty?e.empty():e.clear&&e.clear()}catch(t){}}function p(e,t){var n=e;return n.nodeType===Node.ELEMENT_NODE&&0<n.childNodes.length&&n.childNodes[t]&&(n=n.childNodes[t]),n.nodeType===Node.TEXT_NODE&&(n=n.parentNode),n}function w(){if(y.$wp){y.markers.remove();var e,t,n=f(),r=[];for(t=0;t<n.length;t++)if(n[t].startContainer!==y.doc||y.browser.msie){var a=(e=n[t]).collapsed,o=y.markers.place(e,!0,t),i=y.markers.place(e,!1,t);if(void 0!==o&&o||!a||(L(".fr-marker").remove(),y.selection.setAtEnd(y.el)),y.el.normalize(),y.browser.safari&&!a)try{(e=y.doc.createRange()).setStartAfter(o),e.setEndBefore(i),r.push(e)}catch(s){}}if(y.browser.safari&&r.length)for(y.selection.clear(),t=0;t<r.length;t++)y.selection.get().addRange(r[t])}}function A(){var e,t=y.el.querySelectorAll('.fr-marker[data-type="true"]');if(!y.$wp)return y.markers.remove(),!1;if(0===t.length)return!1;if(y.browser.msie||y.browser.edge)for(e=0;e<t.length;e++)t[e].style.display="inline-block";y.core.hasFocus()||y.browser.msie||y.browser.webkit||y.$el.focus(),_();var n=E();for(e=0;e<t.length;e++){var r=L(t[e]).data("id"),a=t[e],o=y.doc.createRange(),i=y.$el.find('.fr-marker[data-type="false"][data-id="'.concat(r,'"]'));(y.browser.msie||y.browser.edge)&&i.css("display","inline-block");var s=null;if(0<i.length){i=i[0];try{for(var l=!1,c=a.nextSibling,d=null;c&&c.nodeType===Node.TEXT_NODE&&0===c.textContent.length;)c=(d=c).nextSibling,L(d).remove();for(var f=i.nextSibling;f&&f.nodeType===Node.TEXT_NODE&&0===f.textContent.length;)f=(d=f).nextSibling,L(d).remove();if(a.nextSibling===i||i.nextSibling===a){for(var p=a.nextSibling===i?a:i,u=p===a?i:a,h=p.previousSibling;h&&h.nodeType===Node.TEXT_NODE&&0===h.length;)h=(d=h).previousSibling,L(d).remove();if(h&&h.nodeType===Node.TEXT_NODE)for(;h&&h.previousSibling&&h.previousSibling.nodeType===Node.TEXT_NODE;)h.previousSibling.textContent+=h.textContent,h=h.previousSibling,L(h.nextSibling).remove();for(var g=u.nextSibling;g&&g.nodeType===Node.TEXT_NODE&&0===g.length;)g=(d=g).nextSibling,L(d).remove();if(g&&g.nodeType===Node.TEXT_NODE)for(;g&&g.nextSibling&&g.nextSibling.nodeType===Node.TEXT_NODE;)g.nextSibling.textContent=g.textContent+g.nextSibling.textContent,g=g.nextSibling,L(g.previousSibling).remove();if(h&&(y.node.isVoid(h)||y.node.isBlock(h))&&(h=null),g&&(y.node.isVoid(g)||y.node.isBlock(g))&&(g=null),h&&g&&h.nodeType===Node.TEXT_NODE&&g.nodeType===Node.TEXT_NODE){L(a).remove(),L(i).remove();var m=h.textContent.length;h.textContent+=g.textContent,L(g).remove(),y.spaces.normalize(h),o.setStart(h,m),o.setEnd(h,m),l=!0}else!h&&g&&g.nodeType===Node.TEXT_NODE?(L(a).remove(),L(i).remove(),y.opts.htmlUntouched||y.spaces.normalize(g),s=L(y.doc.createTextNode("\u200b")).get(0),L(g).before(s),o.setStart(g,0),o.setEnd(g,0),l=!0):!g&&h&&h.nodeType===Node.TEXT_NODE&&(L(a).remove(),L(i).remove(),y.opts.htmlUntouched||y.spaces.normalize(h),s=L(y.doc.createTextNode("\u200b")).get(0),L(h).after(s),o.setStart(h,h.textContent.length),o.setEnd(h,h.textContent.length),l=!0)}if(!l){var v=void 0,b=void 0;b=(y.browser.chrome||y.browser.edge)&&a.nextSibling===i?(v=T(i,o,!0)||o.setStartAfter(i),T(a,o,!1)||o.setEndBefore(a)):(a.previousSibling===i&&(i=(a=i).nextSibling),i.nextSibling&&"BR"===i.nextSibling.tagName||!i.nextSibling&&y.node.isBlock(a.previousSibling)||a.previousSibling&&"BR"===a.previousSibling.tagName||(a.style.display="inline",i.style.display="inline",s=L(y.doc.createTextNode("\u200b")).get(0)),v=T(a,o,!0)||L(a).before(s)&&o.setStartBefore(a),T(i,o,!1)||L(i).after(s)&&o.setEndAfter(i)),"function"==typeof v&&v(),"function"==typeof b&&b()}}catch(C){}}s&&L(s).remove();try{n.addRange(o)}catch(C){}}y.markers.remove()}function T(e,t,n){var r,a=e.previousSibling,o=e.nextSibling;return a&&o&&a.nodeType===Node.TEXT_NODE&&o.nodeType===Node.TEXT_NODE?(r=a.textContent.length,n?(o.textContent=a.textContent+o.textContent,L(a).remove(),L(e).remove(),y.opts.htmlUntouched||y.spaces.normalize(o),function(){t.setStart(o,r)}):(a.textContent+=o.textContent,L(o).remove(),L(e).remove(),y.opts.htmlUntouched||y.spaces.normalize(a),function(){t.setEnd(a,r)})):a&&!o&&a.nodeType===Node.TEXT_NODE?(r=a.textContent.length,n?(y.opts.htmlUntouched||y.spaces.normalize(a),function(){t.setStart(a,r)}):(y.opts.htmlUntouched||y.spaces.normalize(a),function(){t.setEnd(a,r)})):!(!o||a||o.nodeType!==Node.TEXT_NODE)&&(n?(y.opts.htmlUntouched||y.spaces.normalize(o),function(){t.setStart(o,0)}):(y.opts.htmlUntouched||y.spaces.normalize(o),function(){t.setEnd(o,0)}))}function S(){for(var e=f(),t=0;t<e.length;t++)if(!e[t].collapsed)return!1;return!0}function a(e){var t,n,r=!1,a=!1;if(y.win.getSelection){var o=y.win.getSelection();o.rangeCount&&((n=(t=o.getRangeAt(0)).cloneRange()).selectNodeContents(e),n.setEnd(t.startContainer,t.startOffset),r=i(n),n.selectNodeContents(e),n.setStart(t.endContainer,t.endOffset),a=i(n))}else y.doc.selection&&"Control"!==y.doc.selection.type&&((n=(t=y.doc.selection.createRange()).duplicate()).moveToElementText(e),n.setEndPoint("EndToStart",t),r=i(n),n.moveToElementText(e),n.setEndPoint("StartToEnd",t),a=i(n));return{atStart:r,atEnd:a}}function i(e){return""===e.toString().replace(/[\u200B-\u200D\uFEFF]/g,"")}function k(e,t){void 0===t&&(t=!0);var n=L(e).html();n&&n.replace(/\u200b/g,"").length!==n.length&&L(e).html(n.replace(/\u200b/g,""));for(var r=y.node.contents(e),a=0;a<r.length;a++)r[a].nodeType!==Node.ELEMENT_NODE?L(r[a]).remove():(k(r[a],0===a),0===a&&(t=!1));if(e.nodeType===Node.TEXT_NODE){var o=L(document.createElement("span")).attr("data-first","true").attr("data-text","true");L(e)[0].replaceWith(o[0])}else t&&L(e).attr("data-first",!0)}function x(){return 0===L(this).find("fr-inner").length}function u(){try{if(!y.$wp)return!1;for(var e=f(0).commonAncestorContainer;e&&!y.node.isElement(e);)e=e.parentNode;return!!y.node.isElement(e)}catch(t){return!1}}function r(e,t){if(!e||0<e.getElementsByClassName("fr-marker").length)return!1;for(var n=e.firstChild;n&&(y.node.isBlock(n)||t&&!y.node.isVoid(n)&&n.nodeType===Node.ELEMENT_NODE);)n=(e=n).firstChild;e.innerHTML=xt.MARKERS+e.innerHTML}function o(e,t){if(!e||0<e.getElementsByClassName("fr-marker").length)return!1;for(var n=e.lastChild;n&&(y.node.isBlock(n)||t&&!y.node.isVoid(n)&&n.nodeType===Node.ELEMENT_NODE);)n=(e=n).lastChild;var r=y.doc.createElement("SPAN");for(r.setAttribute("id","fr-sel-markers"),r.innerHTML=xt.MARKERS;e.parentNode&&y.opts.htmlAllowedEmptyTags&&0<=y.opts.htmlAllowedEmptyTags.indexOf(e.tagName.toLowerCase());)e=e.parentNode;e.appendChild(r);var a=e.querySelector("#fr-sel-markers");a.outerHTML=a.innerHTML}return{text:s,get:E,ranges:f,clear:_,element:function l(){var e=E();try{if(e.rangeCount){var t,n=f(0),r=n.startContainer;if(y.node.isElement(r)&&0===n.startOffset&&r.childNodes.length)for(;r.childNodes.length&&r.childNodes[0].nodeType===Node.ELEMENT_NODE;)r=r.childNodes[0];if(r.nodeType===Node.TEXT_NODE&&n.startOffset===(r.textContent||"").length&&r.nextSibling&&(r=r.nextSibling),r.nodeType===Node.ELEMENT_NODE){var a=!1;if(0<r.childNodes.length&&r.childNodes[n.startOffset]){for(t=r.childNodes[n.startOffset];t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;)t=t.nextSibling;if(t&&t.textContent.replace(/\u200B/g,"")===s().replace(/\u200B/g,"")&&(r=t,a=!0),!a&&1<r.childNodes.length&&0<n.startOffset&&r.childNodes[n.startOffset-1]){for(t=r.childNodes[n.startOffset-1];t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;)t=t.nextSibling;t&&t.textContent.replace(/\u200B/g,"")===s().replace(/\u200B/g,"")&&(r=t,a=!0)}}else!n.collapsed&&r.nextSibling&&r.nextSibling.nodeType===Node.ELEMENT_NODE&&(t=r.nextSibling)&&t.textContent.replace(/\u200B/g,"")===s().replace(/\u200B/g,"")&&(r=t,a=!0);!a&&0<r.childNodes.length&&L(r.childNodes[0]).text().replace(/\u200B/g,"")===s().replace(/\u200B/g,"")&&["BR","IMG","HR"].indexOf(r.childNodes[0].tagName)<0&&(r=r.childNodes[0])}for(;r.nodeType!==Node.ELEMENT_NODE&&r.parentNode;)r=r.parentNode;for(var o=r;o&&"HTML"!==o.tagName;){if(o===y.el)return r;o=L(o).parent()[0]}}}catch(i){}return y.el},endElement:function c(){var e=E();try{if(e.rangeCount){var t,n=f(0),r=n.endContainer;if(r.nodeType===Node.ELEMENT_NODE){var a=!1;0<r.childNodes.length&&r.childNodes[n.endOffset]&&L(r.childNodes[n.endOffset]).text()===s()?(r=r.childNodes[n.endOffset],a=!0):!n.collapsed&&r.previousSibling&&r.previousSibling.nodeType===Node.ELEMENT_NODE?(t=r.previousSibling)&&t.textContent.replace(/\u200B/g,"")===s().replace(/\u200B/g,"")&&(r=t,a=!0):!n.collapsed&&0<r.childNodes.length&&r.childNodes[n.endOffset]&&(t=r.childNodes[n.endOffset].previousSibling).nodeType===Node.ELEMENT_NODE&&t&&t.textContent.replace(/\u200B/g,"")===s().replace(/\u200B/g,"")&&(r=t,a=!0),!a&&0<r.childNodes.length&&L(r.childNodes[r.childNodes.length-1]).text()===s()&&["BR","IMG","HR"].indexOf(r.childNodes[r.childNodes.length-1].tagName)<0&&(r=r.childNodes[r.childNodes.length-1])}for(r.nodeType===Node.TEXT_NODE&&0===n.endOffset&&r.previousSibling&&r.previousSibling.nodeType===Node.ELEMENT_NODE&&(r=r.previousSibling);r.nodeType!==Node.ELEMENT_NODE&&r.parentNode;)r=r.parentNode;for(var o=r;o&&"HTML"!==o.tagName;){if(o===y.el)return r;o=L(o).parent()[0]}}}catch(i){}return y.el},save:w,restore:A,isCollapsed:S,isFull:function d(){if(S())return!1;y.selection.save();var e,t=y.el.querySelectorAll("td, th, img, br");for(e=0;e<t.length;e++)(t[e].nextSibling||"IMG"===t[e].tagName)&&(t[e].innerHTML='<span class="fr-mk" style="display: none;">&nbsp;</span>'.concat(t[e].innerHTML));var n=!1,r=a(y.el);for(r.atStart&&r.atEnd&&(n=!0),t=y.el.querySelectorAll(".fr-mk"),e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e]);return y.selection.restore(),n},inEditor:u,remove:function R(){if(S())return!0;var e;function t(e){for(var t=e.previousSibling;t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;){var n=t;t=t.previousSibling,L(n).remove()}return t}function n(e){for(var t=e.nextSibling;t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;){var n=t;t=t.nextSibling,L(n).remove()}return t}w();var r=y.$el.find('.fr-marker[data-type="true"]');for(e=0;e<r.length;e++)for(var a=r[e];!(t(a)||y.node.isBlock(a.parentNode)||y.$el.is(a.parentNode)||y.node.hasClass(a.parentNode,"fr-inner"));)L(a.parentNode).before(a);var o=y.$el.find('.fr-marker[data-type="false"]');for(e=0;e<o.length;e++){for(var i=o[e];!(n(i)||y.node.isBlock(i.parentNode)||y.$el.is(i.parentNode)||y.node.hasClass(i.parentNode,"fr-inner"));)L(i.parentNode).after(i);i.parentNode&&y.node.isBlock(i.parentNode)&&y.node.isEmpty(i.parentNode)&&!y.$el.is(i.parentNode)&&!y.node.hasClass(i.parentNode,"fr-inner")&&y.opts.keepFormatOnDelete&&L(i.parentNode).after(i)}if(function C(){for(var e=y.$el.find(".fr-marker"),t=0;t<e.length;t++)if(L(e[t]).parentsUntil('.fr-element, [contenteditable="true"]','[contenteditable="false"]').length)return!1;return!0}()){!function E(e,t){var n=y.node.contents(e.get(0));0<=["TD","TH"].indexOf(e.get(0).tagName)&&1===e.find(".fr-marker").length&&(y.node.hasClass(n[0],"fr-marker")||"BR"==n[0].tagName&&y.node.hasClass(n[0].nextElementSibling,"fr-marker"))&&e.attr("data-del-cell",!0);for(var r=0;r<n.length;r++){var a=n[r];y.node.hasClass(a,"fr-marker")?t=(t+1)%2:t?0<L(a).find(".fr-marker").length?t=E(L(a),t):["TD","TH"].indexOf(a.tagName)<0&&!y.node.hasClass(a,"fr-inner")?!y.opts.keepFormatOnDelete||0<y.$el.find("[data-first]").length||y.node.isVoid(a)?L(a).remove():k(a):y.node.hasClass(a,"fr-inner")?0===L(a).find(".fr-inner").length?L(a).html("<br>"):L(a).find(".fr-inner").filter(x).html("<br>"):(L(a).empty(),L(a).attr("data-del-cell",!0)):0<L(a).find(".fr-marker").length&&(t=E(L(a),t))}return t}(y.$el,0);var s=y.$el.find('[data-first="true"]');if(s.length)y.$el.find(".fr-marker").remove(),s.append(xt.INVISIBLE_SPACE+xt.MARKERS).removeAttr("data-first"),s.attr("data-text")&&s.replaceWith(s.html());else for(y.$el.find("table").filter(function(){return 0<L(this).find("[data-del-cell]").length&&L(this).find("[data-del-cell]").length===L(this).find("td, th").length}).remove(),y.$el.find("[data-del-cell]").removeAttr("data-del-cell"),r=y.$el.find('.fr-marker[data-type="true"]'),e=0;e<r.length;e++){var l=r[e],c=l.nextSibling,d=y.$el.find('.fr-marker[data-type="false"][data-id="'.concat(L(l).data("id"),'"]')).get(0);if(d){if(l&&(!c||c!==d)){var f=y.node.blockParent(l),p=y.node.blockParent(d),u=!1,h=!1;if(f&&0<=["UL","OL"].indexOf(f.tagName)&&(u=!(f=null)),p&&0<=["UL","OL"].indexOf(p.tagName)&&(h=!(p=null)),L(l).after(d),f!==p)if(null!==f||u)if(null!==p||h||0!==L(f).parentsUntil(y.$el,"table").length)f&&p&&0===L(f).parentsUntil(y.$el,"table").length&&0===L(p).parentsUntil(y.$el,"table").length&&!L(f).contains(p)&&!L(p).contains(f)&&(L(f).append(L(p).html()),L(p).remove());else{for(c=f;!c.nextSibling&&c.parentNode!==y.el;)c=c.parentNode;for(c=c.nextSibling;c&&"BR"!==c.tagName;){var g=c.nextSibling;L(f).append(c),c=g}c&&"BR"===c.tagName&&L(c).remove()}else{var m=y.node.deepestParent(l);m?(L(m).after(L(p).html()),L(p).remove()):0===L(p).parentsUntil(y.$el,"table").length&&(L(l).next().after(L(p).html()),L(p).remove())}}}else d=L(l).clone().attr("data-type",!1),L(l).after(d)}}y.$el.find("li:empty").remove(),y.opts.keepFormatOnDelete||y.html.fillEmptyBlocks(),y.html.cleanEmptyTags(!0),y.opts.htmlUntouched||(y.clean.lists(),y.$el.find("li:empty").append("<br>"),y.spaces.normalize());var v=y.$el.find(".fr-marker").last().get(0),b=y.$el.find(".fr-marker").first().get(0);void 0!==v&&void 0!==b&&!v.nextSibling&&b.previousSibling&&"BR"===b.previousSibling.tagName&&y.node.isElement(v.parentNode)&&y.node.isElement(b.parentNode)&&y.$el.append("<br>"),A()},blocks:function h(e){var t,n,r=[],a=E();if(u()&&a.rangeCount){var o=f();for(t=0;t<o.length;t++){var i=o[t],s=p(i.startContainer,i.startOffset),l=p(i.endContainer,i.endOffset);(y.node.isBlock(s)||y.node.hasClass(s,"fr-inner"))&&r.indexOf(s)<0&&r.push(s),(n=y.node.blockParent(s))&&r.indexOf(n)<0&&r.push(n);for(var c=[],d=s;d!==l&&d!==y.el;)c.indexOf(d)<0&&d.children&&d.children.length?(c.push(d),d=d.children[0]):d.nextSibling?d=d.nextSibling:d.parentNode&&(d=d.parentNode,c.push(d)),y.node.isBlock(d)&&c.indexOf(d)<0&&r.indexOf(d)<0&&(d!==l||0<i.endOffset)&&r.push(d);y.node.isBlock(l)&&r.indexOf(l)<0&&0<i.endOffset&&r.push(l),(n=y.node.blockParent(l))&&r.indexOf(n)<0&&r.push(n)}}for(t=r.length-1;0<t;t--)if(L(r[t]).find(r).length){if(e&&L(r[t]).find("ul, ol").length)continue;r.splice(t,1)}return r},info:a,setAtEnd:o,setAtStart:r,setBefore:function g(e,t){void 0===t&&(t=!0);for(var n=e.previousSibling;n&&n.nodeType===Node.TEXT_NODE&&0===n.textContent.length;)n=n.previousSibling;return n?(y.node.isBlock(n)?o(n):"BR"===n.tagName?L(n).before(xt.MARKERS):L(n).after(xt.MARKERS),!0):!!t&&(y.node.isBlock(e)?r(e):L(e).before(xt.MARKERS),!0)},setAfter:function m(e,t){void 0===t&&(t=!0);for(var n=e.nextSibling;n&&n.nodeType===Node.TEXT_NODE&&0===n.textContent.length;)n=n.nextSibling;return n?(y.node.isBlock(n)?r(n):L(n).before(xt.MARKERS),!0):!!t&&(y.node.isBlock(e)?o(e):L(e).after(xt.MARKERS),!0)},rangeElement:p}},Object.assign(xt.DEFAULTS,{language:null}),xt.LANGUAGE={},xt.MODULES.language=function(e){var t;return{_init:function n(){xt.LANGUAGE&&(t=xt.LANGUAGE[e.opts.language]),t&&t.direction&&(e.opts.direction=t.direction)},translate:function r(e){return t&&t.translation[e]&&t.translation[e].length?t.translation[e]:e}}},Object.assign(xt.DEFAULTS,{placeholderText:"Type something"}),xt.MODULES.placeholder=function(f){var p=f.$;function e(){f.$placeholder||function d(){f.$placeholder=p(f.doc.createElement("SPAN")).addClass("fr-placeholder"),f.$wp.append(f.$placeholder)}();var e=f.opts.iframe?f.$iframe.prev().outerHeight(!0):f.$el.prev().outerHeight(!0),t=0,n=0,r=0,a=0,o=0,i=0,s=f.node.contents(f.el),l=p(f.selection.element()).css("text-align");if(s.length&&s[0].nodeType===Node.ELEMENT_NODE){var c=p(s[0]);(0<f.$wp.prev().length||0<f.$el.prev().length)&&f.ready&&(t=f.helpers.getPX(c.css("margin-top")),a=f.helpers.getPX(c.css("padding-top")),n=f.helpers.getPX(c.css("margin-left")),r=f.helpers.getPX(c.css("margin-right")),o=f.helpers.getPX(c.css("padding-left")),i=f.helpers.getPX(c.css("padding-right"))),f.$placeholder.css("font-size",c.css("font-size")),f.$placeholder.css("line-height",c.css("line-height"))}else f.$placeholder.css("font-size",f.$el.css("font-size")),f.$placeholder.css("line-height",f.$el.css("line-height"));f.$wp.addClass("show-placeholder"),f.$placeholder.css({marginTop:Math.max(f.helpers.getPX(f.$el.css("margin-top")),t)+(e||0),paddingTop:Math.max(f.helpers.getPX(f.$el.css("padding-top")),a),paddingLeft:Math.max(f.helpers.getPX(f.$el.css("padding-left")),o),marginLeft:Math.max(f.helpers.getPX(f.$el.css("margin-left")),n),paddingRight:Math.max(f.helpers.getPX(f.$el.css("padding-right")),i),marginRight:Math.max(f.helpers.getPX(f.$el.css("margin-right")),r),textAlign:l}).text(f.language.translate(f.opts.placeholderText||f.$oel.attr("placeholder")||"")),f.$placeholder.html(f.$placeholder.text().replace(/\n/g,"<br>"))}function t(){f.$wp.removeClass("show-placeholder")}function n(){if(!f.$wp)return!1;f.core.isEmpty()?e():t()}return{_init:function r(){if(!f.$wp)return!1;f.events.on("init input keydown keyup contentChanged initialized",n)},show:e,hide:t,refresh:n,isVisible:function a(){return!f.$wp||f.node.hasClass(f.$wp.get(0),"show-placeholder")}}},xt.UNICODE_NBSP=String.fromCharCode(160),xt.VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],xt.BLOCK_TAGS=["address","article","aside","audio","blockquote","canvas","details","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul","video"],Object.assign(xt.DEFAULTS,{htmlAllowedEmptyTags:["textarea","a","iframe","object","video","style","script",".fa",".fr-emoticon",".fr-inner","path","line","hr"],htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),xt.MODULES.html=function(x){var h=x.$;function d(){return x.opts.enter===xt.ENTER_P?"p":x.opts.enter===xt.ENTER_DIV?"div":x.opts.enter===xt.ENTER_BR?"p":void 0}function s(e,t){return!(!e||e===x.el)&&(t?-1!=["PRE","SCRIPT","STYLE"].indexOf(e.tagName)||s(e.parentNode,t):-1!==["PRE","SCRIPT","STYLE"].indexOf(e.tagName))}function o(e){var t,n=[],r=[];if(e){var a=x.el.querySelectorAll(".fr-marker");for(t=0;t<a.length;t++){var o=x.node.blockParent(a[t])||a[t];if(o){var i=o.nextSibling,s=o.previousSibling;o&&r.indexOf(o)<0&&x.node.isBlock(o)&&r.push(o),s&&x.node.isBlock(s)&&r.indexOf(s)<0&&r.push(s),i&&x.node.isBlock(i)&&r.indexOf(i)<0&&r.push(i)}}}else r=x.el.querySelectorAll(p());var l=p();for(l+=",".concat(xt.VOID_ELEMENTS.join(",")),l+=", .fr-inner",l+=",".concat(x.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"),t=r.length-1;0<=t;t--)if(!(r[t].textContent&&0<r[t].textContent.replace(/\u200B|\n/g,"").length||0<r[t].querySelectorAll(l).length)){for(var c=x.node.contents(r[t]),d=!1,f=0;f<c.length;f++)if(c[f].nodeType!==Node.COMMENT_NODE&&c[f].textContent&&0<c[f].textContent.replace(/\u200B|\n/g,"").length){d=!0;break}d||n.push(r[t])}return n}function p(){return xt.BLOCK_TAGS.join(", ")}function e(e){var t,n,r=h.merge([],xt.VOID_ELEMENTS);r=h.merge(r,x.opts.htmlAllowedEmptyTags),r=void 0===e?h.merge(r,xt.BLOCK_TAGS):h.merge(r,xt.NO_DELETE_TAGS),t=x.el.querySelectorAll("*:empty:not(".concat(r.join("):not("),"):not(.fr-marker):not(template)"));do{n=!1;for(var a=0;a<t.length;a++)0!==t[a].attributes.length&&void 0===t[a].getAttribute("href")||(t[a].parentNode.removeChild(t[a]),n=!0);t=x.el.querySelectorAll("*:empty:not(".concat(r.join("):not("),"):not(.fr-marker):not(template)"))}while(t.length&&n)}function i(e,t){var n=d();if(t&&(n="div"),n){for(var r=x.doc.createDocumentFragment(),a=null,o=!1,i=e.firstChild,s=!1;i;){var l=i.nextSibling;if(i.nodeType===Node.ELEMENT_NODE&&(x.node.isBlock(i)||0<=x.opts.htmlDoNotWrapTags.indexOf(i.tagName.toLowerCase())&&!x.node.hasClass(i,"fr-marker")))a=null,r.appendChild(i.cloneNode(!0));else if(i.nodeType!==Node.ELEMENT_NODE&&i.nodeType!==Node.TEXT_NODE)a=null,r.appendChild(i.cloneNode(!0));else if("BR"===i.tagName)null===a?(a=x.doc.createElement(n),s=!0,t&&(a.setAttribute("class","fr-temp-div"),a.setAttribute("data-empty",!0)),a.appendChild(i.cloneNode(!0)),r.appendChild(a)):!1===o&&(a.appendChild(x.doc.createElement("br")),t&&(a.setAttribute("class","fr-temp-div"),a.setAttribute("data-empty",!0))),a=null;else{var c=i.textContent;i.nodeType!==Node.TEXT_NODE||0<c.replace(/\n/g,"").replace(/(^ *)|( *$)/g,"").length||c.replace(/(^ *)|( *$)/g,"").length&&c.indexOf("\n")<0?(null===a&&(a=x.doc.createElement(n),s=!0,t&&a.setAttribute("class","fr-temp-div"),r.appendChild(a),o=!1),a.appendChild(i.cloneNode(!0)),o||x.node.hasClass(i,"fr-marker")||i.nodeType===Node.TEXT_NODE&&0===c.replace(/ /g,"").length||(o=!0)):s=!0}i=l}s&&(e.innerHTML="",e.appendChild(r))}}function l(e,t){for(var n=e.length-1;0<=n;n--)i(e[n],t)}function t(e,t,n,r,a){if(!x.$wp)return!1;void 0===e&&(e=!1),void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===a&&(a=!1);var o=x.$wp.scrollTop();i(x.el,e),r&&l(x.el.querySelectorAll(".fr-inner"),e),t&&l(x.el.querySelectorAll("td, th"),e),n&&l(x.el.querySelectorAll("blockquote"),e),a&&l(x.el.querySelectorAll("li"),e),o!==x.$wp.scrollTop()&&x.$wp.scrollTop(o)}function n(e){if(void 0===e&&(e=x.el),e&&0<=["SCRIPT","STYLE","PRE"].indexOf(e.tagName))return!1;for(var t=x.doc.createTreeWalker(e,NodeFilter.SHOW_TEXT,x.node.filter(function(e){return null!==e.textContent.match(/([ \n]{2,})|(^[ \n]{1,})|([ \n]{1,}$)/g)}),!1);t.nextNode();){var n=t.currentNode;if(!s(n.parentNode,!0)){var r=x.node.isBlock(n.parentNode)||x.node.isElement(n.parentNode),a=n.textContent.replace(/(?!^)( ){2,}(?!$)/g," ").replace(/\n/g," ").replace(/^[ ]{2,}/g," ").replace(/[ ]{2,}$/g," ");if(r){var o=n.previousSibling,i=n.nextSibling;o&&i&&" "===a?a=x.node.isBlock(o)&&x.node.isBlock(i)?"":" ":(o||(a=a.replace(/^ */,"")),i||(a=a.replace(/ *$/,"")))}n.textContent=a}}}function r(e,t,n){var r=new RegExp(t,"gi").exec(e);return r?r[n]:null}function R(e){var t=e.doctype,n="<!DOCTYPE html>";return t&&(n="<!DOCTYPE ".concat(t.name).concat(t.publicId?' PUBLIC "'.concat(t.publicId,'"'):"").concat(!t.publicId&&t.systemId?" SYSTEM":"").concat(t.systemId?' "'.concat(t.systemId,'"'):"",">")),n}function c(e){var t=e.parentNode;if(t&&(x.node.isBlock(t)||x.node.isElement(t))&&["TD","TH"].indexOf(t.tagName)<0){for(var n=e.previousSibling,r=e.nextSibling;n&&(n.nodeType===Node.TEXT_NODE&&0===n.textContent.replace(/\n|\r/g,"").length||x.node.hasClass(n,"fr-tmp"));)n=n.previousSibling;if(r)return!1;n&&t&&"BR"!==n.tagName&&!x.node.isBlock(n)&&!r&&0<t.textContent.replace(/\u200B/g,"").length&&0<n.textContent.length&&!x.node.hasClass(n,"fr-marker")&&(x.el===t&&!r&&x.opts.enter===xt.ENTER_BR&&x.browser.msie||e.parentNode.removeChild(e))}else!t||x.node.isBlock(t)||x.node.isElement(t)||e.previousSibling||e.nextSibling||!x.node.isDeletable(e.parentNode)||c(e.parentNode)}function g(){x.opts.htmlUntouched||(e(),t(),n(),x.spaces.normalize(null,!0),x.html.fillEmptyBlocks(),x.clean.lists(),x.clean.tables(),x.clean.toHTML5(),x.html.cleanBRs()),x.selection.restore(),a(),x.placeholder.refresh()}function a(){x.node.isEmpty(x.el)&&(null!==d()?x.el.querySelector(p())||x.el.querySelector("".concat(x.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||(x.core.hasFocus()?(x.$el.html("<".concat(d(),">").concat(xt.MARKERS,"<br/></").concat(d(),">")),x.selection.restore()):x.$el.html("<".concat(d(),"><br/></").concat(d(),">"))):x.el.querySelector("*:not(.fr-marker):not(br)")||(x.core.hasFocus()?(x.$el.html("".concat(xt.MARKERS,"<br/>")),x.selection.restore()):x.$el.html("<br/>")))}function m(e,t){return r(e,"<".concat(t,"[^>]*?>([\\w\\W]*)</").concat(t,">"),1)}function v(e,t){var n=h("<div ".concat(r(e,"<".concat(t,"([^>]*?)>"),1)||"",">"));return x.node.rawAttributes(n.get(0))}function b(e){return(r(e,"<!DOCTYPE([^>]*?)>",0)||"<!DOCTYPE html>").replace(/\n/g," ").replace(/ {2,}/g," ")}function C(e,t){x.opts.htmlExecuteScripts?e.html(t):e.get(0).innerHTML=t}function M(e){var t;(t=/:not\(([^)]*)\)/g).test(e)&&(e=e.replace(t," $1 "));var n=100*(e.match(/(#[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(\[[^]]+\])/g)||[]).length+10*(e.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(e.match(/(:[^\s+>~.[:]+)/g)||[]).length+(e.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length;return n+=((e=(e=e.replace(/[*\s+>~]/g," ")).replace(/[#.]/g," ")).match(/([^\s+>~.[:]+)/g)||[]).length}function O(e){if(x.events.trigger("html.processGet",[e]),e&&e.getAttribute&&""===e.getAttribute("class")&&e.removeAttribute("class"),e&&e.getAttribute&&""===e.getAttribute("style")&&e.removeAttribute("style"),e&&e.nodeType===Node.ELEMENT_NODE){var t,n=e.querySelectorAll('[class=""],[style=""]');for(t=0;t<n.length;t++){var r=n[t];""===r.getAttribute("class")&&r.removeAttribute("class"),""===r.getAttribute("style")&&r.removeAttribute("style")}if("BR"===e.tagName)c(e);else{var a=e.querySelectorAll("br");for(t=0;t<a.length;t++)c(a[t])}}}function N(e,t){return e[3]-t[3]}function I(){for(var e=x.el.querySelectorAll("input, textarea"),t=0;t<e.length;t++)"checkbox"!==e[t].type&&"radio"!==e[t].type||(e[t].checked?e[t].setAttribute("checked",e[t].checked):x.$(e[t]).removeAttr("checked")),e[t].getAttribute("value")&&e[t].setAttribute("value",e[t].value)}function f(e){var t=x.doc.createElement("div");return t.innerHTML=e,null!==t.querySelector(p())}function u(e){var t=null;if(void 0===e&&(t=x.selection.element()),x.opts.keepFormatOnDelete)return!1;var n,r,a=t?(t.textContent.match(/\u200B/g)||[]).length-t.querySelectorAll(".fr-marker").length:0;if((x.el.textContent.match(/\u200B/g)||[]).length-x.el.querySelectorAll(".fr-marker").length===a)return!1;do{r=!1,n=x.el.querySelectorAll("*:not(.fr-marker)");for(var o=0;o<n.length;o++){var i=n[o];if(t!==i){var s=i.textContent;0===i.children.length&&1===s.length&&8203===s.charCodeAt(0)&&"TD"!==i.tagName&&(h(i).remove(),r=!0)}}}while(r)}function E(){u(),x.placeholder&&setTimeout(x.placeholder.refresh,0)}return{defaultTag:d,isPreformatted:s,emptyBlocks:o,emptyBlockTagsQuery:function y(){return"".concat(xt.BLOCK_TAGS.join(":empty, "),":empty")},blockTagsQuery:p,fillEmptyBlocks:function L(e){var t=o(e);x.node.isEmpty(x.el)&&x.opts.enter===xt.ENTER_BR&&t.push(x.el);for(var n=0;n<t.length;n++){var r=t[n];"false"===r.getAttribute("contenteditable")||r.querySelector("".concat(x.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||x.node.isVoid(r)||"TABLE"!==r.tagName&&"TBODY"!==r.tagName&&"TR"!==r.tagName&&"UL"!==r.tagName&&"OL"!==r.tagName&&r.appendChild(x.doc.createElement("br"))}if(x.browser.msie&&x.opts.enter===xt.ENTER_BR){var a=x.node.contents(x.el);a.length&&a[a.length-1].nodeType===Node.TEXT_NODE&&x.$el.append("<br>")}},cleanEmptyTags:e,cleanWhiteTags:u,cleanBlankSpaces:n,blocks:function _(){return x.$el.get(0).querySelectorAll(p())},getDoctype:R,set:function w(e){var t=x.clean.html((e||"").trim(),[],[],x.opts.fullPage),n=new RegExp("%3A//","g"),r=t.replace(n,"://");if(x.opts.fullPage){var a=m(r,"body")||(0<=r.indexOf("<body")?"":r),o=v(r,"body"),i=m(r,"head")||"<title></title>",s=v(r,"head"),l=h("<div>");l.append(i).contents().each(function(){(this.nodeType===Node.COMMENT_NODE||0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName))&&this.parentNode.removeChild(this)});var c=l.html().trim();i=h("<div>").append(i).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?"\x3c!--".concat(this.nodeValue,"--\x3e"):0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName)?this.outerHTML:""}).toArray().join("");var d=b(r),f=v(r,"html");C(x.$el,"".concat(c,"\n").concat(a)),x.node.clearAttributes(x.el),x.$el.attr(o),x.$el.addClass("fr-view"),x.$el.attr("spellcheck",x.opts.spellcheck),x.$el.attr("dir",x.opts.direction),C(x.$head,i),x.node.clearAttributes(x.$head.get(0)),x.$head.attr(s),x.node.clearAttributes(x.$html.get(0)),x.$html.attr(f),x.iframe_document.doctype.parentNode.replaceChild(function u(e,t){var n=e.match(/<!DOCTYPE ?([^ ]*) ?([^ ]*) ?"?([^"]*)"? ?"?([^"]*)"?>/i);return n?t.implementation.createDocumentType(n[1],n[3],n[4]):t.implementation.createDocumentType("html")}(d,x.iframe_document),x.iframe_document.doctype)}else C(x.$el,r);var p=x.edit.isDisabled();x.edit.on(),x.core.injectStyle(x.opts.iframeDefaultStyle+x.opts.iframeStyle),g(),x.opts.useClasses||(x.$el.find("[fr-original-class]").each(function(){this.setAttribute("class",this.getAttribute("fr-original-class")),this.removeAttribute("fr-original-class")}),x.$el.find("[fr-original-style]").each(function(){this.setAttribute("style",this.getAttribute("fr-original-style")),this.removeAttribute("fr-original-style")})),p&&x.edit.off(),x.events.trigger("html.set"),x.events.trigger("charCounter.update")},syncInputs:I,get:function D(e,t){if(!x.$wp)return x.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var n="";x.events.trigger("html.beforeGet");var r,a,o=[],i={},s=[];if(I(),!x.opts.useClasses&&!t){var l=new RegExp("^".concat(x.opts.htmlIgnoreCSSProperties.join("$|^"),"$"),"gi");for(r=0;r<x.doc.styleSheets.length;r++){var c=void 0,d=0;try{c=x.doc.styleSheets[r].cssRules,x.doc.styleSheets[r].ownerNode&&"STYLE"===x.doc.styleSheets[r].ownerNode.nodeType&&(d=1)}catch(k){}if(c)for(var f=0,p=c.length;f<p;f++)if(c[f].selectorText&&0<c[f].style.cssText.length){var u=c[f].selectorText.replace(/body |\.fr-view /g,"").replace(/::/g,":"),h=void 0;try{h=x.el.querySelectorAll(u)}catch(k){h=[]}for(a=0;a<h.length;a++){!h[a].getAttribute("fr-original-style")&&h[a].getAttribute("style")?(h[a].setAttribute("fr-original-style",h[a].getAttribute("style")),o.push(h[a])):h[a].getAttribute("fr-original-style")||(h[a].setAttribute("fr-original-style",""),o.push(h[a])),i[h[a]]||(i[h[a]]={});for(var g=1e3*d+M(c[f].selectorText),m=c[f].style.cssText.split(";"),v=0;v<m.length;v++){var b=m[v].trim().split(":")[0];if(b&&!b.match(l)&&(i[h[a]][b]||(i[h[a]][b]=0)<=(h[a].getAttribute("fr-original-style")||"").indexOf("".concat(b,":"))&&(i[h[a]][b]=1e4),g>=i[h[a]][b]&&(i[h[a]][b]=g,m[v].trim().length))){var C=m[v].trim().split(":");C.splice(0,1),s.push([h[a],b.trim(),C.join(":").trim(),g])}}}}}for(s.sort(N),r=0;r<s.length;r++){var E=s[r];E[0].style[E[1]]=E[2]}for(r=0;r<o.length;r++)if(o[r].getAttribute("class")&&(o[r].setAttribute("fr-original-class",o[r].getAttribute("class")),o[r].removeAttribute("class")),0<(o[r].getAttribute("fr-original-style")||"").trim().length){var y=o[r].getAttribute("fr-original-style").split(";");for(a=0;a<y.length;a++)if(0<y[a].indexOf(":")){var L=y[a].split(":"),_=L[0];L.splice(0,1),o[r].style[_.trim()]=L.join(":").trim()}}}if(x.node.isEmpty(x.el))x.opts.fullPage&&(n=R(x.iframe_document),n+="<html".concat(x.node.attributes(x.$html.get(0)),">").concat(x.$html.find("head").get(0).outerHTML,"<body></body></html>"));else if(void 0===e&&(e=!1),x.opts.fullPage){n=R(x.iframe_document),x.$el.removeClass("fr-view");var w=x.opts.heightMin,A=x.opts.height,T=x.opts.heightMax;x.opts.heightMin=null,x.opts.height=null,x.opts.heightMax=null,x.size.refresh(),n+="<html".concat(x.node.attributes(x.$html.get(0)),">").concat(x.$html.html(),"</html>"),x.opts.heightMin=w,x.opts.height=A,x.opts.heightMax=T,x.size.refresh(),x.$el.addClass("fr-view")}else n=x.$el.html();if(!x.opts.useClasses&&!t)for(r=0;r<o.length;r++)o[r].getAttribute("fr-original-class")&&(o[r].setAttribute("class",o[r].getAttribute("fr-original-class")),o[r].removeAttribute("fr-original-class")),null!==o[r].getAttribute("fr-original-style")&&void 0!==o[r].getAttribute("fr-original-style")?(0!==o[r].getAttribute("fr-original-style").length?o[r].setAttribute("style",o[r].getAttribute("fr-original-style")):o[r].removeAttribute("style"),o[r].removeAttribute("fr-original-style")):o[r].removeAttribute("style");x.opts.fullPage&&(n=(n=(n=(n=(n=(n=(n=(n=n.replace(/<style data-fr-style="true">(?:[\w\W]*?)<\/style>/g,"")).replace(/<link([^>]*)data-fr-style="true"([^>]*)>/g,"")).replace(/<style(?:[\w\W]*?)class="firebugResetStyles"(?:[\w\W]*?)>(?:[\w\W]*?)<\/style>/g,"")).replace(/<body((?:[\w\W]*?)) spellcheck="true"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>")).replace(/<body((?:[\w\W]*?)) contenteditable="(true|false)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>")).replace(/<body((?:[\w\W]*?)) dir="([\w]*)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>")).replace(/<body((?:[\w\W]*?))class="([\w\W]*?)(fr-rtl|fr-ltr)([\w\W]*?)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,'<body$1class="$2$4"$5>$6</body>')).replace(/<body((?:[\w\W]*?)) class=""((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>")),x.opts.htmlSimpleAmpersand&&(n=n.replace(/&amp;/gi,"&")),x.events.trigger("html.afterGet"),e||(n=n.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,"")),n=x.clean.invisibleSpaces(n),n=x.clean.exec(n,O);var S=x.events.chainTrigger("html.get",n);return"string"==typeof S&&(n=S),n=(n=n.replace(/<pre(?:[\w\W]*?)>(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/<br>/g,"\n")})).replace(/<meta((?:[\w\W]*?)) data-fr-http-equiv="/g,'<meta$1 http-equiv="')},getSelected:function A(){function e(e,t){for(;t&&(t.nodeType===Node.TEXT_NODE||!x.node.isBlock(t))&&!x.node.isElement(t)&&!x.node.hasClass(t,"fr-inner");)t&&t.nodeType!==Node.TEXT_NODE&&h(e).wrapInner(x.node.openTagString(t)+x.node.closeTagString(t)),t=t.parentNode;t&&e.innerHTML===t.innerHTML?e.innerHTML=t.outerHTML:-1!=t.innerText.indexOf(e.innerHTML)&&(e.innerHTML=x.node.openTagString(t)+t.innerHTML+x.node.closeTagString(t))}var t,n,r="";if("undefined"!=typeof x.win.getSelection){x.browser.mozilla&&(x.selection.save(),1<x.$el.find('.fr-marker[data-type="false"]').length&&(x.$el.find('.fr-marker[data-type="false"][data-id="0"]').remove(),x.$el.find('.fr-marker[data-type="false"]:last').attr("data-id","0"),x.$el.find(".fr-marker").not('[data-id="0"]').remove()),x.selection.restore());for(var a=x.selection.ranges(),o=0;o<a.length;o++){var i=document.createElement("div");i.appendChild(a[o].cloneContents()),e(i,(n=t=void 0,n=null,x.win.getSelection?(t=x.win.getSelection())&&t.rangeCount&&(n=t.getRangeAt(0).commonAncestorContainer).nodeType!==Node.ELEMENT_NODE&&(n=n.parentNode):(t=x.doc.selection)&&"Control"!==t.type&&(n=t.createRange().parentElement()),null!==n&&(0<=h(n).parents().toArray().indexOf(x.el)||n===x.el)?n:null)),0<h(i).find(".fr-element").length&&(i=x.el),r+=i.innerHTML}}else"undefined"!=typeof x.doc.selection&&"Text"===x.doc.selection.type&&(r=x.doc.selection.createRange().htmlText);return r},insert:function T(e,t,n){var r;if(x.selection.isCollapsed()||x.selection.remove(),r=t?e:x.clean.html(e),0===e.indexOf('<i class="fa ')&&(r="<span>&nbsp;".concat(r,"</span>")),e.indexOf('class="fr-marker"')<0&&(r=function i(e){var t=x.doc.createElement("div");return t.innerHTML=e,x.selection.setAtEnd(t,!0),t.innerHTML}(r)),x.node.isEmpty(x.el)&&!x.opts.keepFormatOnDelete&&f(r))x.opts.trackChangesEnabled?x.track_changes.pasteInEmptyEdior(r):x.el.innerHTML=r;else{var a=x.markers.insert();if(a)if(x.opts.trackChangesEnabled)x.track_changes.pasteInEdior(r);else{x.node.isLastSibling(a)&&h(a).parent().hasClass("fr-deletable")&&h(a).insertAfter(h(a).parent());var o=x.node.blockParent(a);if((f(r)||n)&&(x.node.deepestParent(a)||o&&"LI"===o.tagName)){if(o&&"LI"===o.tagName&&(r=function s(e){if(!x.html.defaultTag())return e;var t=x.doc.createElement("div");t.innerHTML=e;for(var n=t.querySelectorAll(":scope > ".concat(x.html.defaultTag())),r=n.length-1;0<=r;r--){var a=n[r];x.node.isBlock(a.previousSibling)||(a.previousSibling&&!x.node.isEmpty(a)&&h("<br>").insertAfter(a.previousSibling),a.outerHTML=a.innerHTML)}return t.innerHTML}(r)),!(a=x.markers.split()))return!1;a.outerHTML=r}else a.outerHTML=r}else x.el.innerHTML+=r}g(),x.keys.positionCaret(),x.events.trigger("html.inserted")},wrap:t,unwrap:function S(){x.$el.find("div.fr-temp-div").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&h(this).before("<br>"),h(this).attr("data-empty")||!this.nextSibling||x.node.isBlock(this.nextSibling)&&!h(this.nextSibling).hasClass("fr-temp-div")?h(this).replaceWith(h(this).html()):h(this).replaceWith("".concat(h(this).html(),"<br>"))}),x.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter(function(){return""===h(this).attr("class")}).removeAttr("class")},escapeEntities:function k(e){return e.replace(/</gi,"&lt;").replace(/>/gi,"&gt;").replace(/"/gi,"&quot;").replace(/'/gi,"&#39;")},checkIfEmpty:a,extractNode:m,extractNodeAttrs:v,extractDoctype:b,cleanBRs:function B(){for(var e=x.el.getElementsByTagName("br"),t=0;t<e.length;t++)c(e[t])},_init:function H(){x.events.$on(x.$el,"mousemove","span.fr-word-select",function(e){var t=window.getSelection();t=window.getSelection();var n=document.createRange();n.selectNodeContents(e.target),t.removeAllRanges(),t.addRange(n)}),x.$wp&&(x.events.on("mouseup",E),x.events.on("keydown",E),x.events.on("contentChanged",a))},_setHtml:C}},xt.ENTER_P=0,xt.ENTER_DIV=1,xt.ENTER_BR=2,xt.KEYCODE={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,FF_SEMICOLON:59,FF_EQUALS:61,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,FF_HYPHEN:173,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,HYPHEN:189,PERIOD:190,SLASH:191,APOSTROPHE:192,TILDE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,IME:229},Object.assign(xt.DEFAULTS,{enter:xt.ENTER_P,multiLine:!0,tabSpaces:0}),xt.MODULES.keys=function(d){var f,n,r,a=d.$,p=!1;function u(e){if(d.selection.isCollapsed())if(["INPUT","BUTTON","TEXTAREA"].indexOf(e.target&&e.target.tagName)<0&&d.cursor.backspace(),d.helpers.isIOS()){var t=d.selection.ranges(0);t.deleteContents(),t.insertNode(document.createTextNode("\u200b")),d.selection.get().modify("move","forward","character")}else["INPUT","BUTTON","TEXTAREA"].indexOf(e.target&&e.target.tagName)<0&&e.preventDefault(),e.stopPropagation();else e.preventDefault(),e.stopPropagation(),d.selection.remove();d.placeholder.refresh()}function h(e){["INPUT","BUTTON","TEXTAREA"].indexOf(e.target&&e.target.tagName)<0&&e.preventDefault(),e.stopPropagation(),""!==d.selection.text()||d.selection.element().hasAttribute("contenteditable")&&"false"===d.selection.element().getAttribute("contenteditable")||!d.selection.isCollapsed()&&"IMG"==d.selection.element().tagName?d.selection.remove():d.cursor.del(),d.placeholder.refresh()}function e(){if(d.browser.mozilla&&d.selection.isCollapsed()&&!p){var e=d.selection.ranges(0),t=e.startContainer,n=e.startOffset;t&&t.nodeType===Node.TEXT_NODE&&n<=t.textContent.length&&0<n&&32===t.textContent.charCodeAt(n-1)&&(d.selection.save(),d.spaces.normalize(),d.selection.restore())}}function t(){d.selection.isFull()&&setTimeout(function(){var e=d.html.defaultTag();e?d.$el.html("<".concat(e,">").concat(xt.MARKERS,"<br/></").concat(e,">")):d.$el.html("".concat(xt.MARKERS,"<br/>")),d.selection.restore(),d.placeholder.refresh(),d.button.bulkRefresh(),d.undo.saveStep()},0)}function o(){p=!1}function i(){p=!1}function g(){var e=d.html.defaultTag();e?d.$el.html("<".concat(e,">").concat(xt.MARKERS,"<br/></").concat(e,">")):d.$el.html("".concat(xt.MARKERS,"<br/>")),d.selection.restore()}function m(e,t){if(e.parentElement&&(-1<e.innerHTML.indexOf("<span")||-1<e.parentElement.innerHTML.indexOf("<span")||-1<e.parentElement.parentElement.innerHTML.indexOf("<span"))&&(e.classList.contains("fr-img-space-wrap")||e.parentElement.classList.contains("fr-img-space-wrap")||e.parentElement.parentElement.classList.contains("fr-img-space-wrap"))){if(a(e.parentElement).is("p")){var n=e.parentElement.innerHTML;return(n=n.replace(/<br>/g,"")).length<1?e.parentElement.insertAdjacentHTML("afterbegin","&nbsp;"):"&nbsp;"!=n&&" "!=n&&"Backspace"==t.key?u(t):"&nbsp;"!=n&&" "!=n&&"Delete"==t.key&&h(t),!0}if(a(e).is("p")){var r=e.innerHTML.replace(/<br>/g,"");return r.length<1?e.insertAdjacentHTML("afterbegin","&nbsp;"):"&nbsp;"!=r&&" "!=r&&"Backspace"==t.key?u(t):"&nbsp;"!=r&&" "!=r&&"Delete"==t.key&&h(t),!0}}return!1}function s(e){var t=d.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&b(e.which))return!0;d.events.disableBlur();var n=e.which;if(16===n)return!0;if((f=n)===xt.KEYCODE.IME)return p=!0;if(p=!1,v(e))return!0;var r=C(n)&&!v(e)&&!e.altKey,a=n===xt.KEYCODE.BACKSPACE||n===xt.KEYCODE.DELETE;if((d.selection.isFull()&&!d.opts.keepFormatOnDelete&&!d.placeholder.isVisible()||a&&d.placeholder.isVisible()&&d.opts.keepFormatOnDelete)&&(r||a)&&(g(),!C(n)))return e.preventDefault(),!0;if(n===xt.KEYCODE.ENTER)!d.helpers.isIOS()&&e.shiftKey||t.classList.contains("fr-inner")||t.parentElement.classList.contains("fr-inner")?function o(e){e.preventDefault(),e.stopPropagation(),d.opts.multiLine&&(d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter(!0))}(e):function i(e){d.opts.multiLine?(d.helpers.isIOS()||(e.preventDefault(),e.stopPropagation()),d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter()):(e.preventDefault(),e.stopPropagation())}(e);else if(n===xt.KEYCODE.BACKSPACE&&(e.metaKey||e.ctrlKey))!function s(){setTimeout(function(){d.events.disableBlur(),d.events.focus()},0)}();else if(n!==xt.KEYCODE.BACKSPACE||v(e)||e.altKey)if(n!==xt.KEYCODE.DELETE||v(e)||e.altKey||e.shiftKey)n===xt.KEYCODE.SPACE?function l(e){var t=d.selection.element();if(!d.helpers.isMobile()&&t&&"A"===t.tagName){e.preventDefault(),e.stopPropagation(),d.selection.isCollapsed()||d.selection.remove();var n=d.markers.insert();if(n){var r=n.previousSibling;!n.nextSibling&&n.parentNode&&"A"===n.parentNode.tagName?(n.parentNode.insertAdjacentHTML("afterend","&nbsp;".concat(xt.MARKERS)),n.parentNode.removeChild(n)):(r&&r.nodeType===Node.TEXT_NODE&&1===r.textContent.length&&160===r.textContent.charCodeAt(0)?r.textContent+=" ":n.insertAdjacentHTML("beforebegin","&nbsp;"),n.outerHTML=xt.MARKERS),d.selection.restore()}}}(e):n===xt.KEYCODE.TAB?function c(e){if(0<d.opts.tabSpaces)if(d.selection.isCollapsed()){d.undo.saveStep(),e.preventDefault(),e.stopPropagation();for(var t="",n=0;n<d.opts.tabSpaces;n++)t+="&nbsp;";d.html.insert(t),d.placeholder.refresh(),d.undo.saveStep()}else e.preventDefault(),e.stopPropagation(),e.shiftKey?d.commands.outdent():d.commands.indent()}(e):v(e)||!C(e.which)||d.selection.isCollapsed()||e.ctrlKey||e.altKey||d.selection.remove();else{if(m(t,e))return e.preventDefault(),void e.stopPropagation();d.placeholder.isVisible()?(d.opts.keepFormatOnDelete||g(),e.preventDefault(),e.stopPropagation()):h(e)}else{if(m(t,e))return e.preventDefault(),void e.stopPropagation();d.placeholder.isVisible()?(d.opts.keepFormatOnDelete||g(),e.preventDefault(),e.stopPropagation()):u(e)}d.events.enableBlur()}function l(){if(!d.$wp)return!0;var e;d.opts.height||d.opts.heightMax?(e=d.position.getBoundingRect().top,(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top),e>d.$wp.offset().top-d.helpers.scrollTop()+d.$wp.height()-20&&d.$wp.scrollTop(e+d.$wp.scrollTop()-(d.$wp.height()+d.$wp.offset().top)+d.helpers.scrollTop()+20)):(e=d.position.getBoundingRect().top,d.opts.toolbarBottom&&(e+=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),(e+=d.opts.toolbarStickyOffset)>d.o_win.innerHeight-20&&a(d.o_win).scrollTop(e+d.helpers.scrollTop()-d.o_win.innerHeight+20),e=d.position.getBoundingRect().top,d.opts.toolbarBottom||(e-=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),e<100&&a(d.o_win).scrollTop(e+d.helpers.scrollTop()-100))}function c(e){var t=d.selection.element();if(t&&0<=["INPUT","TEXTAREA"].indexOf(t.tagName))return!0;if(e&&0===e.which&&f&&(e.which=f),d.helpers.isAndroid()&&d.browser.mozilla)return!0;if(p)return!1;if(e&&d.helpers.isIOS()&&e.which===xt.KEYCODE.ENTER&&d.doc.execCommand("undo"),!d.selection.isCollapsed())return!0;if(e&&(e.which===xt.KEYCODE.META||e.which===xt.KEYCODE.CTRL))return!0;if(e&&b(e.which))return!0;if(e&&!d.helpers.isIOS()&&(e.which===xt.KEYCODE.ENTER||e.which===xt.KEYCODE.BACKSPACE||37<=e.which&&e.which<=40&&!d.browser.msie))try{l()}catch(r){}var n=d.selection.element();(function a(e){if(!e)return!1;var t=e.innerHTML;return!!((t=t.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(t)&&0<t.replace(/\u200B/gi,"").length)})(n)&&!d.node.hasClass(n,"fr-marker")&&"IFRAME"!==n.tagName&&function o(e){return!d.helpers.isIOS()||0===((e.textContent||"").match(/[\u3041-\u3096\u30A0-\u30FF\u4E00-\u9FFF\u3130-\u318F\uAC00-\uD7AF]/gi)||[]).length}(n)&&(d.selection.save(),function i(e){for(var t=d.doc.createTreeWalker(e,NodeFilter.SHOW_TEXT,d.node.filter(function(e){return/\u200B/gi.test(e.textContent)}),!1);t.nextNode();){var n=t.currentNode;n.textContent=n.textContent.replace(/\u200B/gi,"")}}(n),d.selection.restore())}function v(e){if(-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}function b(e){if(e>=xt.KEYCODE.ARROW_LEFT&&e<=xt.KEYCODE.ARROW_DOWN)return!0}function C(e){if(e>=xt.KEYCODE.ZERO&&e<=xt.KEYCODE.NINE)return!0;if(e>=xt.KEYCODE.NUM_ZERO&&e<=xt.KEYCODE.NUM_MULTIPLY)return!0;if(e>=xt.KEYCODE.A&&e<=xt.KEYCODE.Z)return!0;if(d.browser.webkit&&0===e)return!0;switch(e){case xt.KEYCODE.SPACE:case xt.KEYCODE.QUESTION_MARK:case xt.KEYCODE.NUM_PLUS:case xt.KEYCODE.NUM_MINUS:case xt.KEYCODE.NUM_PERIOD:case xt.KEYCODE.NUM_DIVISION:case xt.KEYCODE.SEMICOLON:case xt.KEYCODE.FF_SEMICOLON:case xt.KEYCODE.DASH:case xt.KEYCODE.EQUALS:case xt.KEYCODE.FF_EQUALS:case xt.KEYCODE.COMMA:case xt.KEYCODE.PERIOD:case xt.KEYCODE.SLASH:case xt.KEYCODE.APOSTROPHE:case xt.KEYCODE.SINGLE_QUOTE:case xt.KEYCODE.OPEN_SQUARE_BRACKET:case xt.KEYCODE.BACKSLASH:case xt.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function E(e){var t=e.which;if(v(e)||37<=t&&t<=40||!C(t)&&t!==xt.KEYCODE.DELETE&&t!==xt.KEYCODE.BACKSPACE&&t!==xt.KEYCODE.ENTER&&t!==xt.KEYCODE.IME)return!0;n||(r=d.snapshot.get(),d.undo.canDo()||d.undo.saveStep()),clearTimeout(n),n=setTimeout(function(){n=null,d.undo.saveStep()},Math.max(250,d.opts.typingTimer))}function y(e){var t=e.which;if(v(e)||37<=t&&t<=40)return!0;r&&n?(d.undo.saveStep(r),r=null):void 0!==t&&0!==t||r||n||d.undo.saveStep()}function L(e){if(e&&"BR"===e.tagName)return!1;try{return 0===(e.textContent||"").length&&e.querySelector&&!e.querySelector(":scope > br")||e.childNodes&&1===e.childNodes.length&&e.childNodes[0].getAttribute&&("false"===e.childNodes[0].getAttribute("contenteditable")||d.node.hasClass(e.childNodes[0],"fr-img-caption"))}catch(t){return!1}}function _(e){var t=d.el.childNodes,n=d.html.defaultTag(),r=d.node.blockParent(d.selection.blocks()[0]);return r&&"TR"==r.tagName&&r.getAttribute("contenteditable")==undefined&&(r=r.closest("table")),!d.node.isEditable(e.target)||r&&"false"===r.getAttribute("contenteditable")?d.toolbar.disable():d.toolbar.enable(),!(!e.target||e.target===d.el)||(0===t.length||void(t[0].offsetHeight+t[0].offsetTop<=e.offsetY?L(t[t.length-1])&&(n?d.$el.append("<".concat(n,">").concat(xt.MARKERS,"<br></").concat(n,">")):d.$el.append("".concat(xt.MARKERS,"<br>")),d.selection.restore(),l()):e.offsetY<=10&&L(t[0])&&(n?d.$el.prepend("<".concat(n,">").concat(xt.MARKERS,"<br></").concat(n,">")):d.$el.prepend("".concat(xt.MARKERS,"<br>")),d.selection.restore(),l())))}function w(){n&&clearTimeout(n)}return{_init:function A(){d.events.on("keydown",E),d.events.on("input",e),d.events.on("mousedown",i),d.events.on("keyup input",y),d.events.on("keypress",o),d.events.on("keydown",s),d.events.on("keyup",c),d.events.on("destroy",w),d.events.on("html.inserted",c),d.events.on("cut",t),d.opts.multiLine&&d.events.on("click",_)},ctrlKey:v,isCharacter:C,isArrow:b,forceUndo:function T(){n&&(clearTimeout(n),d.undo.saveStep(),r=null)},isIME:function S(){return p},isBrowserAction:function k(e){var t=e.which;return v(e)||t===xt.KEYCODE.F5},positionCaret:l}},Object.assign(xt.DEFAULTS,{pastePlain:!1,pasteDeniedTags:["colgroup","col","meta"],pasteDeniedAttrs:["class","id"],pasteAllowedStyleProps:[".*"],pasteAllowLocalImages:!1}),xt.MODULES.paste=function(S){var i,s,k,o,x,R=S.$;function n(e,t){try{S.win.localStorage.setItem("fr-copied-html",e),S.win.localStorage.setItem("fr-copied-text",t)}catch(n){}}function e(e){var t=S.html.getSelected();n(t,R(S.doc.createElement("div")).html(t).text()),"cut"===e.type&&(S.undo.saveStep(),setTimeout(function(){S.selection.save(),S.html.wrap(),S.selection.restore(),S.events.focus(),S.undo.saveStep()},0))}var l=!1;function t(e){if("INPUT"===e.target.nodeName&&"text"===e.target.type)return!0;if(S.edit.isDisabled())return!1;if(c(e.target))return!1;if(l)return!1;if((e.originalEvent&&(e=e.originalEvent),e&&e.clipboardData&&e.clipboardData.getData)&&((e.clipboardData||window.clipboardData).getData("text/html")||"").match('content="Microsoft OneNote'))return!1;if(!1===S.events.trigger("paste.before",[e]))return e.preventDefault(),!1;if(e&&e.clipboardData&&e.clipboardData.getData){var t="",n=e.clipboardData.types;if(S.helpers.isArray(n))for(var r=0;r<n.length;r++)t+="".concat(n[r],";");else t=n;if(i="",/text\/rtf/.test(t)&&(s=e.clipboardData.getData("text/rtf")),/text\/html/.test(t)&&!S.browser.safari?i=e.clipboardData.getData("text/html"):/text\/rtf/.test(t)&&S.browser.safari?i=s:/public.rtf/.test(t)&&S.browser.safari&&(i=e.clipboardData.getData("text/rtf")),k=e.clipboardData.getData("text"),""!==i)return d(),e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!1;i=null}return function a(){S.selection.save(),S.events.disableBlur(),i=null,o?(o.html(""),S.browser.edge&&S.opts.iframe&&S.$el.append(o)):(o=R('<div contenteditable="true" style="position: fixed; top: 0; left: -9999px; height: 100%; width: 0; word-break: break-all; overflow:hidden; z-index: 2147483647; line-height: 140%; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; user-select: text;" tabIndex="-1"></div>'),S.browser.webkit||S.browser.mozilla?(o.css("top",S.$sc.scrollTop()),S.$el.after(o)):S.browser.edge&&S.opts.iframe?S.$el.append(o):S.$box.after(o),S.events.on("destroy",function(){o.remove()}));var e;S.helpers.isIOS()&&S.$sc&&(e=S.$sc.scrollTop());S.opts.iframe&&S.$el.attr("contenteditable","false");o.focus(),S.helpers.isIOS()&&S.$sc&&S.$sc.scrollTop(e);S.win.setTimeout(d,1)}(),!1}function c(e){return e&&"false"===e.contentEditable}function r(e){if(e.originalEvent&&(e=e.originalEvent),c(e.target))return!1;if(e&&e.dataTransfer&&e.dataTransfer.getData){var t="",n=e.dataTransfer.types;if(S.helpers.isArray(n))for(var r=0;r<n.length;r++)t+="".concat(n[r],";");else t=n;if(i="",/text\/rtf/.test(t)&&(s=e.dataTransfer.getData("text/rtf")),/text\/html/.test(t)?i=e.dataTransfer.getData("text/html"):/text\/rtf/.test(t)&&S.browser.safari?i=s:/text\/plain/.test(t)&&!this.browser.mozilla&&(i=S.html.escapeEntities(e.dataTransfer.getData("text/plain")).replace(/\n/g,"<br>")),""!==i){S.keys.forceUndo(),x=S.snapshot.get(),S.selection.save(),S.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper");var a=S.markers.insertAtPoint(e);if(S.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),S.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),S.selection.restore(),S.selection.remove(),S.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),!1!==a){var o=S.el.querySelector(".fr-marker");return R(o).replaceWith(xt.MARKERS),S.selection.restore(),d(),e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!1}}else i=null}}function d(){S.opts.iframe&&S.$el.attr("contenteditable","true"),S.browser.edge&&S.opts.iframe&&S.$box.after(o),x||(S.keys.forceUndo(),x=S.snapshot.get()),i||(i=o.get(0).innerHTML,k=o.text(),S.selection.restore(),S.events.enableBlur());var e=i.match(/(class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument|LibreOffice)/gi),t=S.events.chainTrigger("paste.beforeCleanup",i);t&&"string"==typeof t&&(i=t),(!e||e&&!1!==S.events.trigger("paste.wordPaste",[i]))&&a(i,e)}function M(e){for(var t="",n=0;n++<e;)t+="&nbsp;";return t}function a(e,t,n){var r,a=null,o=null;if(0<=e.toLowerCase().indexOf("<body")){var i="";0<=e.indexOf("<style")&&(i=e.replace(/[.\s\S\w\W<>]*(<style[^>]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1")),e=(e=(e=i+e.replace(/[.\s\S\w\W<>]*<body[^>]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1")).replace(/<pre(?:[\w\W]*?)>(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/\n/g,"<br />")})).replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}var s=!1;0<=e.indexOf('id="docs-internal-guid')&&(e=e.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),s=!0),0<=e.indexOf('content="Sheets"')&&(e=e.replace(/width:0px;/g,""));var l=!1;if(!t)if((l=function L(){var e=null;try{e=S.win.localStorage.getItem("fr-copied-text")}catch(t){}return!(!e||!k||k.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")!==e.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")&&k.replace(/\s/g,"")!==e.replace(/\s/g,""))}())&&(e=S.win.localStorage.getItem("fr-copied-html")),l)e=S.clean.html(e,S.opts.pasteDeniedTags,S.opts.pasteDeniedAttrs);else{var c=S.opts.htmlAllowedStyleProps;S.opts.htmlAllowedStyleProps=S.opts.pasteAllowedStyleProps,S.opts.htmlAllowComments=!1,e=(e=(e=e.replace(/<span class="Apple-tab-span">\s*<\/span>/g,M(S.opts.tabSpaces||4))).replace(/<span class="Apple-tab-span" style="white-space:pre">(\t*)<\/span>/g,function(e,t){return M(t.length*(S.opts.tabSpaces||4))})).replace(/\t/g,M(S.opts.tabSpaces||4)),e=S.clean.html(e,S.opts.pasteDeniedTags,S.opts.pasteDeniedAttrs),S.opts.htmlAllowedStyleProps=c,S.opts.htmlAllowComments=!0,e=(e=(e=O(e)).replace(/\r/g,"")).replace(/^ */g,"").replace(/ *$/g,"")}!t||S.wordPaste&&n||(0===(e=e.replace(/^\n*/g,"").replace(/^ /g,"")).indexOf("<colgroup>")&&(e="<table>".concat(e,"</table>")),e=O(e=function _(e){var t;e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p(.*?)class="?'?MsoListParagraph"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ul><li>$3</li></ul>")).replace(/<p(.*?)class="?'?NumberedText"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li>$3</li></ol>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ul><li$3>$5</li>")).replace(/<p(.*?)class="?'?NumberedTextCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?NumberedTextCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListBullet"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ul>")).replace(/<p(.*?)class="?'?NumberedTextCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ol>")).replace(/<span([^<]*?)style="?'?mso-list:Ignore"?'?([\s\S]*?)>([\s\S]*?)<span/gi,"<span><span")).replace(/<!--\[if !supportLists\]-->([\s\S]*?)<!--\[endif\]-->/gi,"")).replace(/<!\[if !supportLists\]>([\s\S]*?)<!\[endif\]>/gi,"")).replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ")).replace(/<!--[\s\S]*?-->/gi,"")).replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>/gi,"");var n,r=["style","script","applet","embed","noframes","noscript"];for(t=0;t<r.length;t++){var a=new RegExp("<".concat(r[t],".*?").concat(r[t],"(.*?)>"),"gi");e=e.replace(a,"")}for(e=(e=(e=e.replace(/&nbsp;/gi," ")).replace(/<td([^>]*)><\/td>/g,"<td$1><br></td>")).replace(/<th([^>]*)><\/th>/g,"<th$1><br></th>");(e=(n=e).replace(/<[^/>][^>]*><\/[^>]+>/gi,""))!==n;);e=(e=e.replace(/<lilevel([^1])([^>]*)>/gi,'<li data-indent="true"$2>')).replace(/<lilevel1([^>]*)>/gi,"<li$1>"),e=(e=(e=S.clean.html(e,S.opts.pasteDeniedTags,S.opts.pasteDeniedAttrs)).replace(/<a>(.[^<]+)<\/a>/gi,"$1")).replace(/<br> */g,"<br>");var o=S.o_doc.createElement("div");o.innerHTML=e;var i=o.querySelectorAll("li[data-indent]");for(t=0;t<i.length;t++){var s=i[t],l=s.previousElementSibling;if(l&&"LI"===l.tagName){var c=l.querySelector(":scope > ul, :scope > ol");c||(c=document.createElement("ul"),l.appendChild(c)),c.appendChild(s)}else s.removeAttribute("data-indent")}return S.html.cleanBlankSpaces(o),e=o.innerHTML}(e))),S.opts.pastePlain&&(e=function w(e){var t,n=null,r=S.doc.createElement("div");r.innerHTML=e;var a=r.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(t=0;t<a.length;t++)(n=a[t]).outerHTML="<".concat(S.html.defaultTag()||"DIV",">").concat(n.innerText,"</").concat(S.html.defaultTag()||"DIV",">");for(t=(a=r.querySelectorAll("*:not(".concat("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img".split(",").join("):not("),")"))).length-1;0<=t;t--)(n=a[t]).outerHTML=n.innerHTML;return function o(e){for(var t=S.node.contents(e),n=0;n<t.length;n++)t[n].nodeType!==Node.TEXT_NODE&&t[n].nodeType!==Node.ELEMENT_NODE?t[n].parentNode.removeChild(t[n]):o(t[n])}(r),r.innerHTML}(e));var d=S.events.chainTrigger("paste.afterCleanup",e);if("string"==typeof d&&(e=d),""!==e){var f=S.o_doc.createElement("div");0<=(f.innerHTML=e).indexOf("<body>")?(S.html.cleanBlankSpaces(f),S.spaces.normalize(f,!0)):S.spaces.normalize(f);var p=f.getElementsByTagName("span");for(r=p.length-1;0<=r;r--){var u=p[r];0===u.attributes.length&&(u.outerHTML=u.innerHTML)}if(!0===S.opts.linkAlwaysBlank){var h=f.getElementsByTagName("a");for(r=h.length-1;0<=r;r--){var g=h[r];g.getAttribute("target")||g.setAttribute("target","_blank")}}var m=S.selection.element(),v=!1;if(m&&R(m).parentsUntil(S.el,"ul, ol").length&&(v=!0),v){var b=f.children;1===b.length&&0<=["OL","UL"].indexOf(b[0].tagName)&&(b[0].outerHTML=b[0].innerHTML)}if(!s){var C=f.getElementsByTagName("br");for(r=C.length-1;0<=r;r--){var E=C[r];S.node.isBlock(E.previousSibling)&&E.parentNode.removeChild(E)}}if(S.opts.enter===xt.ENTER_BR)for(r=(a=f.querySelectorAll("p, div")).length-1;0<=r;r--)0===(o=a[r]).attributes.length&&(o.outerHTML=o.innerHTML+(o.nextSibling&&!S.node.isEmpty(o)?"<br>":""));else if(S.opts.enter===xt.ENTER_DIV)for(r=(a=f.getElementsByTagName("p")).length-1;0<=r;r--)0===(o=a[r]).attributes.length&&(o.outerHTML="<div>".concat(o.innerHTML,"</div>"));else S.opts.enter===xt.ENTER_P&&1===f.childNodes.length&&"P"===f.childNodes[0].tagName&&0===f.childNodes[0].attributes.length&&(f.childNodes[0].outerHTML=f.childNodes[0].innerHTML);if(f.children&&0<f.children.length)if(S.opts.trackChangesEnabled)for(var y=0;y<f.children.length;y++)f.children[y].setAttribute("id","isPasted");else f.children[0].setAttribute("id","isPasted");e=f.innerHTML,l&&(e=function A(e){var t,n=S.o_doc.createElement("div");n.innerHTML=e;var r=n.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(xt.VOID_ELEMENTS.join("):not("),"):not(").concat(S.opts.htmlAllowedEmptyTags.join("):not("),")"));for(;r.length;){for(t=0;t<r.length;t++)r[t].parentNode.removeChild(r[t]);r=n.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(xt.VOID_ELEMENTS.join("):not("),"):not(").concat(S.opts.htmlAllowedEmptyTags.join("):not("),")"))}return n.innerHTML}(e)),S.html.insert(e,!0)}!function T(){S.events.trigger("paste.after")}(),S.undo.saveStep(x),x=null,S.undo.saveStep()}function f(e){for(var t=e.length-1;0<=t;t--)e[t].attributes&&e[t].attributes.length&&e.splice(t,1);return e}function O(e){var t,n=S.o_doc.createElement("div");n.innerHTML=e;for(var r=f(Array.prototype.slice.call(n.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));r.length;){var a=r[r.length-1];if(S.html.defaultTag()&&"div"!==S.html.defaultTag())a.querySelector(S.html.blockTagsQuery())?a.outerHTML=a.innerHTML:a.outerHTML="<".concat(S.html.defaultTag(),">").concat(a.innerHTML,"</").concat(S.html.defaultTag(),">");else{var o=a.querySelectorAll("*");!o.length||"BR"!==o[o.length-1].tagName&&0===a.innerText.length?a.outerHTML=a.innerHTML+(a.nextSibling?"<br>":""):!o.length||"BR"!==o[o.length-1].tagName||o[o.length-1].nextSibling?a.outerHTML=a.innerHTML+(a.nextSibling?"<br>":""):a.outerHTML=a.innerHTML}r=f(Array.prototype.slice.call(n.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")))}for(r=f(Array.prototype.slice.call(n.querySelectorAll("div:not([style])")));r.length;){for(t=0;t<r.length;t++){var i=r[t],s=i.innerHTML.replace(/\u0009/gi,"").trim();i.outerHTML=s}r=f(Array.prototype.slice.call(n.querySelectorAll("div:not([style])")))}return n.innerHTML}function p(){S.el.removeEventListener("copy",e),S.el.removeEventListener("cut",e),S.el.removeEventListener("paste",t)}return{_init:function u(){S.el.addEventListener("copy",e),S.el.addEventListener("cut",e),S.el.addEventListener("paste",t,{capture:!0}),S.events.on("drop",r),S.browser.msie&&S.browser.version<11&&(S.events.on("mouseup",function(e){2===e.button&&(setTimeout(function(){l=!1},50),l=!0)},!0),S.events.on("beforepaste",t)),S.events.on("destroy",p)},cleanEmptyTagsAndDivs:O,getRtfClipboard:function h(){return s},saveCopiedText:n,clean:a}},Object.assign(xt.DEFAULTS,{shortcutsEnabled:[],shortcutsHint:!0}),xt.SHORTCUTS_MAP={},xt.RegisterShortcut=function(e,t,n,r,a,o){xt.SHORTCUTS_MAP[(a?"^":"")+(o?"@":"")+e]={cmd:t,val:n,letter:r,shift:a,option:o},xt.DEFAULTS.shortcutsEnabled.push(t)},xt.RegisterShortcut(xt.KEYCODE.E,"show",null,"E",!1,!1),xt.RegisterShortcut(xt.KEYCODE.B,"bold",null,"B",!1,!1),xt.RegisterShortcut(xt.KEYCODE.I,"italic",null,"I",!1,!1),xt.RegisterShortcut(xt.KEYCODE.U,"underline",null,"U",!1,!1),xt.RegisterShortcut(xt.KEYCODE.S,"strikeThrough",null,"S",!1,!1),xt.RegisterShortcut(xt.KEYCODE.CLOSE_SQUARE_BRACKET,"indent",null,"]",!1,!1),xt.RegisterShortcut(xt.KEYCODE.OPEN_SQUARE_BRACKET,"outdent",null,"[",!1,!1),xt.RegisterShortcut(xt.KEYCODE.Z,"undo",null,"Z",!1,!1),xt.RegisterShortcut(xt.KEYCODE.Z,"redo",null,"Z",!0,!1),xt.RegisterShortcut(xt.KEYCODE.Y,"redo",null,"Y",!1,!1),xt.MODULES.shortcuts=function(s){var r=null;var l=!1;function e(e){if(!s.core.hasFocus())return!0;var t=e.which,n=-1!==navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey;if("keyup"===e.type&&l&&t!==xt.KEYCODE.META)return l=!1;"keydown"===e.type&&(l=!1);var r=(e.shiftKey?"^":"")+(e.altKey?"@":"")+t,a=s.node.blockParent(s.selection.blocks()[0]);if(a&&"TR"==a.tagName&&a.getAttribute("contenteditable")==undefined&&(a=a.closest("table")),n&&xt.SHORTCUTS_MAP[r]&&(!a||"false"!==a.getAttribute("contenteditable"))){var o=xt.SHORTCUTS_MAP[r].cmd;if(o&&0<=s.opts.shortcutsEnabled.indexOf(o)){var i=xt.SHORTCUTS_MAP[r].val;if(!1===s.events.trigger("shortcut",[e,o,i]))return!(l=!0);if(o&&(s.commands[o]||xt.COMMANDS[o]&&xt.COMMANDS[o].callback))return e.preventDefault(),e.stopPropagation(),"keydown"===e.type&&((s.commands[o]||xt.COMMANDS[o].callback)(),l=!0),!1}}}return{_init:function t(){s.events.on("keydown",e,!0),s.events.on("keyup",e,!0)},get:function a(e){if(!s.opts.shortcutsHint)return null;if(!r)for(var t in r={},xt.SHORTCUTS_MAP)Object.prototype.hasOwnProperty.call(xt.SHORTCUTS_MAP,t)&&0<=s.opts.shortcutsEnabled.indexOf(xt.SHORTCUTS_MAP[t].cmd)&&(r["".concat(xt.SHORTCUTS_MAP[t].cmd,".").concat(xt.SHORTCUTS_MAP[t].val||"")]={shift:xt.SHORTCUTS_MAP[t].shift,option:xt.SHORTCUTS_MAP[t].option,letter:xt.SHORTCUTS_MAP[t].letter});var n=r[e];return n?(s.helpers.isMac()?String.fromCharCode(8984):"".concat(s.language.translate("Ctrl"),"+"))+(n.shift?s.helpers.isMac()?String.fromCharCode(8679):"".concat(s.language.translate("Shift"),"+"):"")+(n.option?s.helpers.isMac()?String.fromCharCode(8997):"".concat(s.language.translate("Alt"),"+"):"")+n.letter:null}}},xt.MODULES.snapshot=function(l){function n(e){for(var t=e.parentNode.childNodes,n=0,r=null,a=0;a<t.length;a++){if(r){var o=t[a].nodeType===Node.TEXT_NODE&&""===t[a].textContent,i=r.nodeType===Node.TEXT_NODE&&t[a].nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE&&""===r.textContent;o||i||s||n++}if(t[a]===e)return n;r=t[a]}}function a(e){var t=[];if(!e.parentNode)return[];for(;!l.node.isElement(e);)t.push(n(e)),e=e.parentNode;return t.reverse()}function o(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;){var n=e.previousSibling;n&&n.nodeType===Node.TEXT_NODE&&(t+=n.textContent.length),e=n}return t}function c(e){for(var t=l.el,n=0;n<e.length;n++)t=t.childNodes[e[n]];return t}function r(e,t){try{var n=c(t.scLoc),r=t.scOffset,a=c(t.ecLoc),o=t.ecOffset,i=l.doc.createRange();i.setStart(n,r),i.setEnd(a,o),e.addRange(i)}catch(s){}}return{get:function i(){var e,t={};if(l.events.trigger("snapshot.before"),t.html=(l.$wp?l.$el.html():l.$oel.get(0).outerHTML).replace(/ style=""/g,""),t.ranges=[],l.$wp&&l.selection.inEditor()&&l.core.hasFocus())for(var n=l.selection.ranges(),r=0;r<n.length;r++)t.ranges.push({scLoc:a((e=n[r]).startContainer),scOffset:o(e.startContainer,e.startOffset),ecLoc:a(e.endContainer),ecOffset:o(e.endContainer,e.endOffset)});return l.events.trigger("snapshot.after",[t]),t},restore:function s(e){l.$el.html()!==e.html&&(l.opts.htmlExecuteScripts?l.$el.html(e.html):l.el.innerHTML=e.html);var t=l.selection.get();l.selection.clear(),l.events.focus(!0);for(var n=0;n<e.ranges.length;n++)r(t,e.ranges[n])},equal:function d(e,t){return e.html===t.html&&(!l.core.hasFocus()||JSON.stringify(e.ranges)===JSON.stringify(t.ranges))}}},xt.MODULES.undo=function(n){function e(e){var t=e.which;n.keys.ctrlKey(e)&&(t===xt.KEYCODE.Z&&e.shiftKey&&e.preventDefault(),t===xt.KEYCODE.Z&&e.preventDefault())}var t=null;function r(){if(n.undo_stack&&!n.undoing)for(;n.undo_stack.length>n.undo_index;)n.undo_stack.pop()}function a(){n.undo_index=0,n.undo_stack=[]}function o(){n.undo_stack=[]}return{_init:function i(){a(),n.events.on("initialized",function(){t=(n.$wp?n.$el.html():n.$oel.get(0).outerHTML).replace(/ style=""/g,"")}),n.events.on("blur",function(){n.el.querySelector(".fr-dragging")||n.undo.saveStep()}),n.events.on("keydown",e),n.events.on("destroy",o)},run:function s(){if(1<n.undo_index){n.undoing=!0;var e=n.undo_stack[--n.undo_index-1];clearTimeout(n._content_changed_timer),n.snapshot.restore(e),t=e.html,n.popups.hideAll(),n.toolbar.enable(),n.events.trigger("contentChanged"),n.events.trigger("commands.undo"),n.undoing=!1}},redo:function l(){if(n.undo_index<n.undo_stack.length){n.undoing=!0;var e=n.undo_stack[n.undo_index++];clearTimeout(n._content_changed_timer),n.snapshot.restore(e),t=e.html,n.popups.hideAll(),n.toolbar.enable(),n.events.trigger("contentChanged"),n.events.trigger("commands.redo"),n.undoing=!1}},canDo:function c(){return!(0===n.undo_stack.length||n.undo_index<=1)},canRedo:function d(){return n.undo_index!==n.undo_stack.length},dropRedo:r,reset:a,saveStep:function f(e){if(n.undo_stack&&!n.undoing&&!n.el.querySelector(".fr-marker"))if(void 0===e){if((e=n.snapshot.get())&&e.html&&n.undo_stack[n.undo_stack.length-1]&&e.html===n.undo_stack[n.undo_stack.length-1].html)return;n.undo_stack[n.undo_index-1]&&n.snapshot.equal(n.undo_stack[n.undo_index-1],e)||(r(),n.undo_stack.push(e),n.undo_index++,function a(e,t){var n=t.split("fr-selected-cell").join("");n=n.split(' class=""').join("");var r=e.split("fr-selected-cell").join("");return n===(r=r.split(' class=""').join(""))}(t,e.html)||(n.events.trigger("contentChanged"),t=e.html))}else r(),0<n.undo_index?n.undo_stack[n.undo_index-1]=e:(n.undo_stack.push(e),n.undo_index++)}}},Object.assign(xt.DEFAULTS,{height:null,heightMax:null,heightMin:null,width:null}),xt.MODULES.size=function(e){function t(){n(),e.opts.height&&e.$el.css("minHeight",e.opts.height-e.helpers.getPX(e.$el.css("padding-top"))-e.helpers.getPX(e.$el.css("padding-bottom"))),e.$iframe.height(e.$el.outerHeight(!0))}function n(){e.opts.heightMin?e.$el.css("minHeight",e.opts.heightMin):e.$el.css("minHeight",""),e.opts.heightMax?(e.$wp.css("maxHeight",e.opts.heightMax),e.$wp.css("overflow","auto")):(e.$wp.css("maxHeight",""),e.$wp.css("overflow","")),e.opts.height?(e.$wp.css("height",e.opts.height),e.$wp.css("overflow","auto"),e.$el.css("minHeight",e.opts.height-e.helpers.getPX(e.$el.css("padding-top"))-e.helpers.getPX(e.$el.css("padding-bottom")))):(e.$wp.css("height",""),e.opts.heightMin||e.$el.css("minHeight",""),e.opts.heightMax||e.$wp.css("overflow","")),e.opts.width&&e.$box.width(e.opts.width)}return{_init:function r(){if(!e.$wp)return!1;n(),e.$iframe&&0==e.opts.fullPage&&(e.events.on("keyup keydown",function(){setTimeout(t,0)},!0),e.events.on("commands.after html.set init initialized paste.after",t))},syncIframe:t,refresh:n}},Object.assign(xt.DEFAULTS,{documentReady:!1,editorClass:null,typingTimer:500,iframe:!1,requestWithCORS:!0,requestWithCredentials:!1,requestHeaders:{},useClasses:!0,spellcheck:!0,iframeDefaultStyle:'html{margin:0px;height:auto;}body{height:auto;padding:20px;background:transparent;color:#000000;position:relative;z-index: 2;-webkit-user-select:auto;margin:0px;overflow:hidden;min-height:20px;}body:after{content:"";display:block;clear:both;}body::-moz-selection{background:#b5d6fd;color:#000;}body::selection{background:#b5d6fd;color:#000;}',iframeStyle:"",iframeStyleFiles:[],direction:"auto",zIndex:1,tabIndex:null,disableRightClick:!1,scrollableContainer:"body",keepFormatOnDelete:!1,theme:null}),xt.MODULES.core=function(i){var r=i.$;function n(){if(i.$box.addClass("fr-box".concat(i.opts.editorClass?" ".concat(i.opts.editorClass):"")),i.$box.attr("role","application"),i.$wp.addClass("fr-wrapper"),i.opts.documentReady&&i.$box.addClass("fr-document"),function a(){i.opts.iframe||i.$el.addClass("fr-element fr-view")}(),i.opts.iframe){i.$iframe.addClass("fr-iframe"),i.$el.addClass("fr-view");for(var e=0;e<i.o_doc.styleSheets.length;e++){var t=void 0;try{t=i.o_doc.styleSheets[e].cssRules}catch(o){}if(t)for(var n=0,r=t.length;n<r;n++)!t[n].selectorText||0!==t[n].selectorText.indexOf(".fr-view")&&0!==t[n].selectorText.indexOf(".fr-element")||0<t[n].style.cssText.length&&(0===t[n].selectorText.indexOf(".fr-view")?i.opts.iframeStyle+="".concat(t[n].selectorText.replace(/\.fr-view/g,"body"),"{").concat(t[n].style.cssText,"}"):i.opts.iframeStyle+="".concat(t[n].selectorText.replace(/\.fr-element/g,"body"),"{").concat(t[n].style.cssText,"}"))}}"auto"!==i.opts.direction&&i.$box.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(i.opts.direction)),i.$el.attr("dir",i.opts.direction),i.$wp.attr("dir",i.opts.direction),1<i.opts.zIndex&&i.$box.css("z-index",i.opts.zIndex),i.opts.theme&&i.$box.addClass("".concat(i.opts.theme,"-theme")),i.opts.tabIndex=i.opts.tabIndex||i.$oel.attr("tabIndex"),i.opts.tabIndex&&i.$el.attr("tabIndex",i.opts.tabIndex)}return{_init:function a(){if(xt.INSTANCES.push(i),function e(){i.drag_support={filereader:"undefined"!=typeof FileReader,formdata:Boolean(i.win.FormData),progress:"upload"in new XMLHttpRequest}}(),i.$wp){n(),i.html.set(i._original_html),i.$el.attr("spellcheck",i.opts.spellcheck),i.helpers.isMobile()&&(i.$el.attr("autocomplete",i.opts.spellcheck?"on":"off"),i.$el.attr("autocorrect",i.opts.spellcheck?"on":"off"),i.$el.attr("autocapitalize",i.opts.spellcheck?"on":"off")),i.opts.disableRightClick&&i.events.$on(i.$el,"contextmenu",function(e){if(2===e.button)return e.preventDefault(),e.stopPropagation(),!1});try{i.doc.execCommand("styleWithCSS",!1,!1)}catch(t){}}"TEXTAREA"===i.$oel.get(0).tagName&&(i.events.on("contentChanged",function(){i.$oel.val(i.html.get())}),i.events.on("form.submit",function(){i.$oel.val(i.html.get())}),i.events.on("form.reset",function(){i.html.set(i._original_html)}),i.$oel.val(i.html.get())),i.helpers.isIOS()&&i.events.$on(i.$doc,"selectionchange",function(){i.$doc.get(0).hasFocus()||i.$win.get(0).focus()}),i.events.trigger("init"),i.opts.autofocus&&!i.opts.initOnClick&&i.$wp&&i.events.on("initialized",function(){i.events.focus(!0)})},destroy:function t(e){"TEXTAREA"===i.$oel.get(0).tagName&&i.$oel.val(e),i.$box&&i.$box.removeAttr("role"),i.$wp&&("TEXTAREA"===i.$oel.get(0).tagName?(i.$el.html(""),i.$wp.html(""),i.$box.replaceWith(i.$oel),i.$oel.show()):(i.$wp.replaceWith(e),i.$el.html(""),i.$box.removeClass("fr-view fr-ltr fr-box ".concat(i.opts.editorClass||"")),i.opts.theme&&i.$box.addClass("".concat(i.opts.theme,"-theme")))),this.$wp=null,this.$el=null,this.el=null,this.$box=null},isEmpty:function e(){return i.node.isEmpty(i.el)},getXHR:function o(e,t){var n=new XMLHttpRequest;for(var r in n.open(t,e,!0),i.opts.requestWithCredentials&&(n.withCredentials=!0),i.opts.requestHeaders)Object.prototype.hasOwnProperty.call(i.opts.requestHeaders,r)&&n.setRequestHeader(r,i.opts.requestHeaders[r]);return n},injectStyle:function s(e){if(i.opts.iframe){i.$head.find("style[data-fr-style], link[data-fr-style]").remove(),i.$head.append('<style data-fr-style="true">'.concat(e,"</style>"));for(var t=0;t<i.opts.iframeStyleFiles.length;t++){var n=r('<link data-fr-style="true" rel="stylesheet" href="'.concat(i.opts.iframeStyleFiles[t],'">'));n.get(0).addEventListener("load",i.size.syncIframe),i.$head.append(n)}}},hasFocus:function l(){return i.browser.mozilla&&i.helpers.isMobile()?i.selection.inEditor():i.node.hasFocus(i.el)||0<i.$el.find("*:focus").length},sameInstance:function c(e){if(!e)return!1;var t=e.data("instance");return!!t&&t.id===i.id}}},xt.POPUP_TEMPLATES={"text.edit":"[_EDIT_]"},xt.RegisterTemplate=function(e,t){xt.POPUP_TEMPLATES[e]=t},xt.MODULES.popups=function(u){var r,d=u.$;u.shared.popups||(u.shared.popups={});var h,g=u.shared.popups;function m(e,t){t.isVisible()||(t=u.$sc),t.is(g[e].data("container"))||(g[e].data("container",t),t.append(g[e]))}function a(e){var t;e.find(".fr-upload-progress").addClass("fr-height-set"),e.find(".fr-upload-progress").removeClass("fr-height-auto"),u.popups.get("filesManager.insert").removeClass("fr-height-auto"),e.find(".fr-files-upload-layer").hasClass("fr-active")&&(t=1),e.find(".fr-files-by-url-layer").hasClass("fr-active")&&(t=2),e.find(".fr-files-embed-layer").hasClass("fr-active")&&(t=3),e.find(".fr-upload-progress-layer").get(0).clientHeight+10<e.find(".fr-upload-progress").get(0).clientHeight&&e.find(".fr-upload-progress").addClass("fr-height-auto"),400<e[0].clientHeight&&(e[0].childNodes[4].style.height="".concat(e[0].clientHeight-(e[0].childNodes[0].clientHeight+e[0].childNodes[t].clientHeight)-80,"px"))}var o=2e3;function i(){d(this).toggleClass("fr-not-empty",!0)}function s(){var e=d(this);e.toggleClass("fr-not-empty",""!==e.val())}function v(e){return g[e]&&u.node.hasClass(g[e],"fr-active")&&u.core.sameInstance(g[e])||!1}function b(e){for(var t in g)if(Object.prototype.hasOwnProperty.call(g,t)&&v(t)&&(void 0===e||g[t].data("instance")===e))return g[t];return!1}function n(e){var t=null;if(t="string"!=typeof e?e:g[e],"filesManager.insert"===e&&u.filesManager!==undefined&&u.filesManager.isChildWindowOpen())return!1;if(t&&u.node.hasClass(t,"fr-active")&&(t.removeClass("fr-active fr-above"),u.events.trigger("popups.hide.".concat(e)),u.$tb&&(1<u.opts.zIndex?u.$tb.css("zIndex",u.opts.zIndex+1):u.$tb.css("zIndex","")),u.events.disableBlur(),t.find("input, textarea, button").each(function(){this===this.ownerDocument.activeElement&&this.blur()}),t.find("input, textarea").attr("disabled","disabled"),h))for(var n=0;n<h.length;n++)d(h[n]).removeClass("fr-btn-active-popup")}function C(e){for(var t in void 0===e&&(e=[]),g)Object.prototype.hasOwnProperty.call(g,t)&&e.indexOf(t)<0&&n(t)}function t(){u.shared.exit_flag=!0}function E(){u.shared.exit_flag=!1}function l(){return u.shared.exit_flag}function c(e,t){var n,r=function c(e,t){var n=xt.POPUP_TEMPLATES[e];if(!n)return null;for(var r in"function"==typeof n&&(n=n.apply(u)),t)Object.prototype.hasOwnProperty.call(t,r)&&(n=n.replace("[_".concat(r.toUpperCase(),"_]"),t[r]));return n}(e,t),a=d(u.doc.createElement("DIV"));if(!r)return"filesManager.insert"===e?a.addClass("fr-popup fr-files-manager fr-empty"):a.addClass("fr-popup fr-empty"),(n=d("body").first()).append(a),a.data("container",n),g[e]=a;"filesManager.insert"===e?a.addClass("fr-popup fr-files-manager".concat(u.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(u.opts.toolbarInline?" fr-inline":"")):a.addClass("fr-popup".concat(u.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(u.opts.toolbarInline?" fr-inline":"")),a.html(r),u.opts.theme&&a.addClass("".concat(u.opts.theme,"-theme")),1<u.opts.zIndex&&(!u.opts.editInPopup&&u.$tb?u.$tb.css("z-index",u.opts.zIndex+2):a.css("z-index",u.opts.zIndex+2)),"auto"!==u.opts.direction&&a.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(u.opts.direction)),a.find("input, textarea").attr("dir",u.opts.direction).attr("disabled","disabled"),(n=d("body").first()).append(a),a.data("container",n);var o=(g[e]=a).find(".fr-color-hex-layer");if(0<o.length){var i=u.helpers.getPX(a.find(".fr-color-set > span").css("width")),s=u.helpers.getPX(o.css("paddingLeft")),l=u.helpers.getPX(o.css("paddingRight"));o.css("width",i*u.opts.colorsStep+s+l)}return u.button.bindCommands(a,!1),a}function y(r){var a=g[r];return{_windowResize:function(){var e=a.data("instance")||u;!e.helpers.isMobile()&&a.isVisible()&&(e.events.disableBlur(),e.popups.hide(r),e.events.enableBlur())},_inputFocus:function(e){var t=a.data("instance")||u,n=d(e.currentTarget);if(n.is("input:file")&&n.closest(".fr-layer").addClass("fr-input-focus"),e.preventDefault(),e.stopPropagation(),setTimeout(function(){t.events.enableBlur()},100),t.helpers.isMobile()){var r=d(t.o_win).scrollTop();setTimeout(function(){d(t.o_win).scrollTop(r)},0)}},_inputBlur:function(e){var t=a.data("instance")||u,n=d(e.currentTarget);n.is("input:file")&&n.closest(".fr-layer").removeClass("fr-input-focus"),document.activeElement!==this&&d(this).isVisible()&&(t.events.blurActive()&&t.events.trigger("blur"),t.events.enableBlur())},_editorKeydown:function(e){var t=a.data("instance")||u;t.keys.ctrlKey(e)||e.which===xt.KEYCODE.ALT||e.which===xt.KEYCODE.ESC||(v(r)&&a.findVisible(".fr-back").length?t.button.exec(a.findVisible(".fr-back").first()):e.which!==xt.KEYCODE.ALT&&t.popups.hide(r))},_preventFocus:function(e){var t=a.data("instance")||u,n=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;"mouseup"===e.type||d(n).is(":focus")||t.events.disableBlur(),"mouseup"!==e.type||d(n).hasClass("fr-command")||0<d(n).parents(".fr-command").length||d(n).hasClass("fr-dropdown-content")||u.button.hideActiveDropdowns(a),(u.browser.safari||u.browser.mozilla)&&"mousedown"===e.type&&d(n).is("input[type=file]")&&t.events.disableBlur();var r="input, textarea, button, select, label, .fr-command";if(n&&!d(n).is(r)&&0===d(n).parents(r).length)return e.stopPropagation(),!1;n&&d(n).is(r)&&e.stopPropagation(),E()},_editorMouseup:function(){a.isVisible()&&l()&&0<a.findVisible("input:focus, textarea:focus, button:focus, select:focus").length&&u.events.disableBlur()},_windowMouseup:function(e){if(!u.core.sameInstance(a))return!0;var t=a.data("instance")||u;a.isVisible()&&l()&&(e.stopPropagation(),t.markers.remove(),t.popups.hide(r),E())},_windowKeydown:function(e){if(!u.core.sameInstance(a))return!0;var t=a.data("instance")||u,n=e.which;if(xt.KEYCODE.ESC===n){if(t.popups.isVisible(r)&&t.opts.toolbarInline)return e.stopPropagation(),t.popups.isVisible(r)&&(a.findVisible(".fr-back").length?(t.button.exec(a.findVisible(".fr-back").first()),t.accessibility.focusPopupButton(a)):a.findVisible(".fr-dismiss").length?t.button.exec(a.findVisible(".fr-dismiss").first()):(t.popups.hide(r),t.toolbar.showInline(null,!0),t.accessibility.focusPopupButton(a))),!1;if(t.popups.isVisible(r))return a.findVisible(".fr-back").length?(t.button.exec(a.findVisible(".fr-back").first),t.accessibility.focusPopupButton(a)):a.findVisible(".fr-dismiss").length?t.button.exec(a.findVisible(".fr-dismiss").first()):(t.popups.hide(r),t.accessibility.focusPopupButton(a)),!1}},_repositionPopup:function(){if(!u.opts.height&&!u.opts.heightMax||u.opts.toolbarInline)return!0;if(u.$wp&&v(r)&&a.parent().get(0)===u.$sc.get(0)){var e=a.offset().top-u.$wp.offset().top,t=u.$wp.outerHeight();u.node.hasClass(a.get(0),"fr-above")&&(e+=a.outerHeight());var n=u.image.getEl();n&&n.offset().top>t||t<e||e<0?a.addClass("fr-hidden"):a.removeClass("fr-hidden")}}}}function f(e,t){u.events.on("mouseup",e._editorMouseup,!0),u.$wp&&u.events.on("keydown",e._editorKeydown),u.events.on("focus",function(){g[t].removeClass("focused")}),u.events.on("blur",function(){b()&&u.markers.remove(),u.helpers.isMobile()?g[t].hasClass("focused")?(C(),g[t].removeClass("focused")):g[t].addClass("focused"):g[t].find("iframe").length||C()}),u.$wp&&!u.helpers.isMobile()&&u.events.$on(u.$wp,"scroll.popup".concat(t),e._repositionPopup),u.events.on("window.mouseup",e._windowMouseup,!0),u.events.on("window.keydown",e._windowKeydown,!0),g[t].data("inst".concat(u.id),!0),u.events.on("destroy",function(){u.core.sameInstance(g[t])&&(d("body").first().append(g[t]),g[t].removeClass("fr-active"))},!0)}function p(){var e=d(this).prev().children().first();e.attr("checked",!e.attr("checked"))}function e(){for(var e in g)if(Object.prototype.hasOwnProperty.call(g,e)){var t=g[e];t&&(t.html("").removeData().remove(),g[e]=null)}g=[]}return u.shared.exit_flag=!1,{_init:function L(){r=window.innerHeight,u.events.on("shared.destroy",e,!0),u.events.on("window.mousedown",t),u.events.on("window.touchmove",E),u.events.$on(d(u.o_win),"scroll",E),u.events.on("mousedown",function(e){b()&&(e.stopPropagation(),u.$el.find(".fr-marker").remove(),t(),u.events.disableBlur())})},create:function _(e,t){var n=c(e,t),r=y(e);f(r,e),u.events.$on(n,"mousedown mouseup touchstart touchend touch","*",r._preventFocus,!0),u.events.$on(n,"focus","input, textarea, button, select",r._inputFocus,!0),u.events.$on(n,"blur","input, textarea, button, select",r._inputBlur,!0);var a=n.find("input, textarea");return function o(e){for(var t=0;t<e.length;t++){var n=e[t],r=d(n);0===r.next().length&&r.attr("placeholder")&&(r.after('<label for="'.concat(r.attr("id"),'">').concat(r.attr("placeholder"),"</label>")),r.attr("placeholder",""))}}(a),u.events.$on(a,"focus",i),u.events.$on(a,"blur change",s),u.events.$on(n,"click",".fr-checkbox + label",p),u.accessibility.registerPopup(e),u.helpers.isIOS()&&u.events.$on(n,"touchend","label",function(){d("#".concat(d(this).attr("for"))).prop("checked",function(e,t){return!t})},!0),u.events.$on(d(u.o_win),"resize",r._windowResize,!0),"filesManager.insert"===e&&g["filesManager.insert"].css("zIndex",2147483641),n},get:function w(e){var t=g[e];return t&&!t.data("inst".concat(u.id))&&f(y(e),e),t},show:function A(e,t,n,r,a){if(v(e)||(b()&&0<u.$el.find(".fr-marker").length?(u.events.disableBlur(),u.selection.restore()):b()||(u.events.disableBlur(),u.events.focus(),u.events.enableBlur())),C([e]),!g[e])return!1;var o=u.button.getButtons(".fr-dropdown.fr-active");o.removeClass("fr-active").attr("aria-expanded",!1).parents(".fr-toolbar").css("zIndex","").find("> .fr-dropdown-wrapper").css("height",""),o.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),g[e].data("instance",u),u.$tb&&u.$tb.data("instance",u);var i=v(e);g[e].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var s=g[e].data("container");if(function p(e,t){t.isVisible()||(t=u.$sc),t.contains([g[e].get(0)])||t.append(g[e])}(e,s),u.opts.toolbarInline&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(m(e,u.$sc),n=u.$tb.offset().top-u.helpers.getPX(u.$tb.css("margin-top")),t=u.$tb.offset().left+u.$tb.outerWidth()/2,u.node.hasClass(u.$tb.get(0),"fr-above")&&n&&(n+=u.$tb.outerHeight()),r=0),s=g[e].data("container"),u.opts.iframe&&!r&&!i){var l=u.helpers.getPX(u.$wp.find(".fr-iframe").css("padding-top")),c=u.helpers.getPX(u.$wp.find(".fr-iframe").css("padding-left"));t&&(t-=u.$iframe.offset().left+c),n&&(n-=u.$iframe.offset().top+l)}s.is(u.$tb)?u.$tb.css("zIndex",(u.opts.zIndex||1)+4):g[e].css("zIndex",(u.opts.zIndex||1)+3),u.opts.toolbarBottom&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(g[e].addClass("fr-above"),n&&(n-=g[e].outerHeight())),a&&(t-=g[e].width()/2),t+g[e].outerWidth()>u.$sc.offset().left+u.$sc.width()&&(t-=t+g[e].outerWidth()-u.$sc.offset().left-u.$sc.width()),t<u.$sc.offset().left&&"rtl"===u.opts.direction&&(t=u.$sc.offset().left),g[e].removeClass("fr-active"),u.position.at(t,n,g[e],r||0);var d=u.node.blockParent(u.selection.blocks()[0]);if(d&&"false"===d.getAttribute("contenteditable"))g[e].removeClass("fr-active");else{var f=u.selection.element().parentElement.getAttribute("contenteditable");f&&"false"===f?g[e].removeClass("fr-active"):g[e].addClass("fr-active")}i||u.accessibility.focusPopup(g[e]),u.opts.toolbarInline&&u.toolbar.hide(),u.$tb&&(h=u.$tb.find(".fr-btn-active-popup")),u.events.trigger("popups.show.".concat(e)),y(e)._repositionPopup(),E()},hide:n,onHide:function T(e,t){u.events.on("popups.hide.".concat(e),t)},hideAll:C,setContainer:m,refresh:function S(e){g[e].data("instance",u),u.events.trigger("popups.refresh.".concat(e));for(var t=g[e].find(".fr-command"),n=0;n<t.length;n++){var r=d(t[n]);0===r.parents(".fr-dropdown-menu").length&&u.button.refresh(r)}},onRefresh:function k(e,t){u.events.on("popups.refresh.".concat(e),t)},onShow:function x(e,t){u.events.on("popups.show.".concat(e),t)},isVisible:v,setFileListHeight:a,areVisible:b,setPopupDimensions:function R(e,t){t&&e.find(".fr-upload-progress-layer").get(0).clientHeight<o&&(e.find(".fr-upload-progress").addClass("fr-height-auto"),u.popups.get("filesManager.insert").addClass("fr-height-auto"),e.find(".fr-upload-progress").removeClass("fr-height-set"),o=2e3),e.get(0).clientHeight>window.innerHeight/2&&(window.innerWidth<500?e.get(0).clientHeight>.6*r&&a(e):400<e.get(0).clientHeight&&a(e),o=e.find(".fr-upload-progress-layer").get(0).clientHeight);var n=window.innerWidth;switch(!0){case n<=320:e.width(200);break;case n<=420:e.width(250);break;case n<=520:e.width(300);break;case n<=720:e.width(400);break;case 720<n:e.width(530)}}}},xt.MODULES.accessibility=function(f){var p=f.$,o=!0;function l(t){for(var e=f.$el.find('[contenteditable="true"]'),n=!1,r=0;e.get(r);)p(e.get(r)).is(":focus")&&(n=!0),r++;t&&t.length&&!n&&(t.data("blur-event-set")||t.parents(".fr-popup").length||(f.events.$on(t,"blur",function(){var e=t.parents(".fr-toolbar, .fr-popup").data("instance")||f;e.events.blurActive()&&!f.core.hasFocus()&&e.events.trigger("blur"),setTimeout(function(){e.events.enableBlur()},100)},!0),t.data("blur-event-set",!0)),(t.parents(".fr-toolbar, .fr-popup").data("instance")||f).events.disableBlur(),t.get(0).focus(),f.shared.$f_el=t)}function u(e,t){var n=t?"last":"first",r=s(g(e))[n]();if(r.length)return l(r),!0}function i(e){return e.is("input, textarea, select")&&t(),f.events.disableBlur(),e.get(0).focus(),!0}function h(e,t){var n=e.find("input, textarea, button, select").filter(function(){return p(this).isVisible()}).not(":disabled");if((n=t?n.last():n.first()).length)return i(n);if(f.shared.with_kb){var r=e.findVisible(".fr-active-item").first();if(r.length)return i(r);var a=e.findVisible("[tabIndex]").first();if(a.length)return i(a)}}function t(){0===f.$el.find(".fr-marker").length&&f.core.hasFocus()&&f.selection.save()}function c(){var e=f.popups.areVisible();if(e){var t=e.find(".fr-buttons");return t.find("button:focus, .fr-group span:focus").length?!u(e.data("instance").$tb):!u(t)}return!u(f.$tb)}function d(){var e=null;return f.shared.$f_el.is(".fr-dropdown.fr-active")?e=f.shared.$f_el:f.shared.$f_el.closest(".fr-dropdown-menu").prev().is(".fr-dropdown.fr-active")&&(e=f.shared.$f_el.closest(".fr-dropdown-menu").prev()),e}function s(e){for(var t=-1,n=0;n<e.length;n++)p(e[n]).hasClass("fr-open")&&(t=n);var r=e.index(f.$tb.find(".fr-more-toolbar.fr-expanded > button.fr-command").first());if(0<r&&-1!==t){var a=e.slice(r,e.length),o=(e=e.slice(0,r)).slice(0,t+1),i=e.slice(t+1,e.length);e=o;for(var s=0;s<a.length;s++)e.push(a[s]);for(var l=0;l<i.length;l++)e.push(i[l])}return e}function g(e){return e.findVisible("button:not(.fr-disabled), .fr-group span.fr-command").filter(function(e){var t=p(e).parents(".fr-more-toolbar");return 0===t.length||0<t.length&&t.hasClass("fr-expanded")})}function n(e,t,n){if(f.shared.$f_el){var r=d();r&&(f.button.click(r),f.shared.$f_el=r);var a=s(g(e)),o=a.index(f.shared.$f_el);if(0===o&&!n||o===a.length-1&&n){var i;if(t){if(e.parent().is(".fr-popup"))i=!h(e.parent().children().not(".fr-buttons"),!n);!1===i&&(f.shared.$f_el=null)}t&&!1===i||u(e,!n)}else l(p(a.get(o+(n?1:-1))));return!1}}function m(e,t){return n(e,t,!0)}function v(e,t){return n(e,t)}function b(e){if(f.shared.$f_el){var t;if(f.shared.$f_el.is(".fr-dropdown.fr-active"))return l(t=e?f.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").first():f.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").last()),!1;if(f.shared.$f_el.is("a.fr-command"))return(t=e?f.shared.$f_el.closest("li").nextAllVisible().first().find(".fr-command:not(.fr-disabled)").first():f.shared.$f_el.closest("li").prevAllVisible().first().find(".fr-command:not(.fr-disabled)").first()).length||(t=e?f.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").first():f.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").last()),l(t),!1}}function C(){if(f.shared.$f_el){if(f.shared.$f_el.hasClass("fr-dropdown"))f.button.click(f.shared.$f_el);else if(f.shared.$f_el.is("button.fr-back")){f.opts.toolbarInline&&(f.events.disableBlur(),f.events.focus());var e=f.popups.areVisible(f);e&&(f.shared.with_kb=!1),f.button.click(f.shared.$f_el),y(e)}else{if(f.events.disableBlur(),f.button.click(f.shared.$f_el),f.shared.$f_el.attr("data-group-name")){var t=f.$tb.find('.fr-more-toolbar[data-name="'.concat(f.shared.$f_el.attr("data-group-name"),'"]')),n=f.shared.$f_el;t.hasClass("fr-expanded")&&(n=t.findVisible("button:not(.fr-disabled)").first()),n&&l(n)}else if(f.shared.$f_el.attr("data-popup")){var r=f.popups.areVisible(f);r&&r.data("popup-button",f.shared.$f_el)}else if(f.shared.$f_el.attr("data-modal")){var a=f.modals.areVisible(f);a&&a.data("modal-button",f.shared.$f_el)}f.shared.$f_el=null}return!1}}function E(){f.shared.$f_el&&(f.events.disableBlur(),f.shared.$f_el.blur(),f.shared.$f_el=null),!1!==f.events.trigger("toolbar.focusEditor")&&(f.events.disableBlur(),f.$el.get(0).focus(),f.events.focus())}function a(r){r&&r.length&&(f.events.$on(r,"keydown",function(e){if(!p(e.target).is("a.fr-command, button.fr-command, .fr-group span.fr-command"))return!0;var t=r.parents(".fr-popup").data("instance")||r.data("instance")||f;f.shared.with_kb=!0;var n=t.accessibility.exec(e,r);return f.shared.with_kb=!1,n},!0),f.events.$on(r,"mouseenter","[tabIndex]",function(e){var t=r.parents(".fr-popup").data("instance")||r.data("instance")||f;if(!o)return e.stopPropagation(),void e.preventDefault();var n=p(e.currentTarget);t.shared.$f_el&&t.shared.$f_el.not(n)&&t.accessibility.focusEditor()},!0),f.$tb&&f.events.$on(f.$tb,"transitionend",".fr-more-toolbar",function(){f.shared.$f_el=p(document.activeElement)}))}function y(e){var t=e.data("popup-button");t&&setTimeout(function(){l(t),e.data("popup-button",null)},0)}function L(e){var t=f.popups.areVisible(e);t&&t.data("popup-button",null)}function e(e){var t=-1!==navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey;if(e.which!==xt.KEYCODE.F10||t||e.shiftKey||!e.altKey)return!0;f.shared.with_kb=!0;var n=f.popups.areVisible(f),r=!1;return n&&(r=h(n.children().not(".fr-buttons"))),r||c(),f.shared.with_kb=!1,e.preventDefault(),e.stopPropagation(),!1}return{_init:function r(){f.$wp?f.events.on("keydown",e,!0):f.events.$on(f.$win,"keydown",e,!0),f.events.on("mousedown",function(e){L(f),f.shared.$f_el&&f.el.isSameNode(f.shared.$f_el[0])&&(f.accessibility.restoreSelection(),e.stopPropagation(),f.events.disableBlur(),f.shared.$f_el=null)},!0),f.events.on("blur",function(){f.shared.$f_el=null,L(f)},!0)},registerPopup:function _(e){var t=f.popups.get(e),n=function r(c){var d=f.popups.get(c);return{_tiKeydown:function(e){var t=d.data("instance")||f;if(!1===t.events.trigger("popup.tab",[e]))return!1;var n=e.which,r=d.find(":focus").first();if(xt.KEYCODE.TAB===n){e.preventDefault();var a=d.children().not(".fr-buttons"),o=a.findVisible("input, textarea, button, select").not(".fr-no-touch input, .fr-no-touch textarea, .fr-no-touch button, .fr-no-touch select, :disabled").toArray(),i=o.indexOf(this)+(e.shiftKey?-1:1);if(0<=i&&i<o.length)return t.events.disableBlur(),p(o[i]).focus(),e.stopPropagation(),!1;var s=d.find(".fr-buttons");if(s.length&&u(s,Boolean(e.shiftKey)))return e.stopPropagation(),!1;if(h(a))return e.stopPropagation(),!1}else{if(xt.KEYCODE.ENTER!==n||!e.target||"TEXTAREA"===e.target.tagName)return xt.KEYCODE.ESC===n?(e.preventDefault(),e.stopPropagation(),t.accessibility.restoreSelection(),t.popups.isVisible(c)&&d.findVisible(".fr-back").length?(t.opts.toolbarInline&&(t.events.disableBlur(),t.events.focus()),t.button.exec(d.findVisible(".fr-back").first()),y(d)):t.popups.isVisible(c)&&d.findVisible(".fr-dismiss").length?t.button.exec(d.findVisible(".fr-dismiss").first()):(t.popups.hide(c),t.opts.toolbarInline&&t.toolbar.showInline(null,!0),y(d)),!1):xt.KEYCODE.SPACE===n&&(r.is(".fr-submit")||r.is(".fr-dismiss"))?(e.preventDefault(),e.stopPropagation(),t.events.disableBlur(),t.button.exec(r),!0):t.keys.isBrowserAction(e)?void e.stopPropagation():r.is("input[type=text], textarea")?void e.stopPropagation():xt.KEYCODE.SPACE===n&&(r.is(".fr-link-attr")||r.is("input[type=file]"))?void e.stopPropagation():(e.stopPropagation(),e.preventDefault(),!1);var l=null;0<d.findVisible(".fr-submit").length?l=d.findVisible(".fr-submit").first():d.findVisible(".fr-dismiss").length&&(l=d.findVisible(".fr-dismiss").first()),l&&(e.preventDefault(),e.stopPropagation(),t.events.disableBlur(),t.button.exec(l))}},_tiMouseenter:function(){var e=d.data("instance")||f;L(e)}}}(e);a(t.find(".fr-buttons")),f.events.$on(t,"mouseenter","tabIndex",n._tiMouseenter,!0),f.events.$on(t.children().not(".fr-buttons"),"keydown","[tabIndex]",n._tiKeydown,!0),f.popups.onHide(e,function(){(t.data("instance")||f).accessibility.restoreSelection()}),f.popups.onShow(e,function(){o=!1,setTimeout(function(){o=!0},0)})},registerToolbar:a,focusToolbarElement:l,focusToolbar:u,focusContent:h,focusPopup:function w(r){var a=r.children().not(".fr-buttons");a.data("mouseenter-event-set")||(f.events.$on(a,"mouseenter","[tabIndex]",function(e){var t=r.data("instance")||f;if(!o)return e.stopPropagation(),void e.preventDefault();var n=a.find(":focus").first();n.length&&!n.is("input, button, textarea, select")&&(t.events.disableBlur(),n.blur(),t.events.disableBlur(),t.events.focus())}),a.data("mouseenter-event-set",!0)),!h(a)&&f.shared.with_kb&&u(r.find(".fr-buttons"))},focusModal:function A(e){f.core.hasFocus()||(f.events.disableBlur(),f.events.focus()),f.accessibility.saveSelection(),f.events.disableBlur(),f.el.blur(),f.selection.clear(),f.events.disableBlur(),f.shared.with_kb?e.find(".fr-command[tabIndex], [tabIndex]").first().focus():e.find("[tabIndex]").first().focus()},focusEditor:E,focusPopupButton:y,focusModalButton:function T(e){var t=e.data("modal-button");t&&setTimeout(function(){l(t),e.data("modal-button",null)},0)},hasFocus:function S(){return null!==f.shared.$f_el},exec:function k(e,t){var n=-1!==navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,r=e.which,a=!1;return r!==xt.KEYCODE.TAB||n||e.shiftKey||e.altKey?r!==xt.KEYCODE.ARROW_RIGHT||n||e.shiftKey||e.altKey?r!==xt.KEYCODE.TAB||n||!e.shiftKey||e.altKey?r!==xt.KEYCODE.ARROW_LEFT||n||e.shiftKey||e.altKey?r!==xt.KEYCODE.ARROW_UP||n||e.shiftKey||e.altKey?r!==xt.KEYCODE.ARROW_DOWN||n||e.shiftKey||e.altKey?r!==xt.KEYCODE.ENTER&&r!==xt.KEYCODE.SPACE||n||e.shiftKey||e.altKey?r!==xt.KEYCODE.ESC||n||e.shiftKey||e.altKey?r!==xt.KEYCODE.F10||n||e.shiftKey||!e.altKey||(a=c()):a=function o(e){if(f.shared.$f_el){var t=d();return t?(f.button.click(t),l(t)):e.parent().findVisible(".fr-back").length?(f.shared.with_kb=!1,f.opts.toolbarInline&&(f.events.disableBlur(),f.events.focus()),f.button.exec(e.parent().findVisible(".fr-back")).first(),y(e.parent())):f.shared.$f_el.is("button, .fr-group span")&&(e.parent().is(".fr-popup")?(f.accessibility.restoreSelection(),f.shared.$f_el=null,!1!==f.events.trigger("toolbar.esc")&&(f.popups.hide(e.parent()),f.opts.toolbarInline&&f.toolbar.showInline(null,!0),y(e.parent()))):E()),!1}}(t):a=C():a=function i(){return f.shared.$f_el&&f.shared.$f_el.is(".fr-dropdown:not(.fr-active)")?C():b(!0)}():a=function s(){return b()}():a=v(t):a=v(t,!0):a=m(t):a=m(t,!0),f.shared.$f_el||void 0!==a||(a=!0),!a&&f.keys.isBrowserAction(e)&&(a=!0),!!a||(e.preventDefault(),e.stopPropagation(),!1)},saveSelection:t,restoreSelection:function x(){f.$el.find(".fr-marker").length&&(f.events.disableBlur(),f.selection.restore(),f.events.enableBlur())}}},Object.assign(xt.DEFAULTS,{tooltips:!0}),xt.MODULES.tooltip=function(s){var l=s.$;function r(){s.helpers.isMobile()||s.$tooltip&&s.$tooltip.removeClass("fr-visible").css("left","-3000px").css("position","fixed")}function a(e,t){if(!s.helpers.isMobile()){var n=e.attr("id")&&e.attr("id").split("-")[0],r=e.attr("title");if("trackChanges"===n)r=s.opts.trackChangesEnabled?"Disable Track Changes":"Enable Track Changes";else if("showChanges"===n)r=s.opts.showChangesEnabled?"Hide Changes":"Show Changes";else if(("applyAll"===n||"removeAll"===n||"applyLast"===n||"removeLast"===n)&&0===s.track_changes.getPendingChanges().length)return;if(e.data("title",r),e.data("title")){s.$tooltip||function i(){s.opts.tooltips&&!s.helpers.isMobile()&&(s.shared.$tooltip?s.$tooltip=s.shared.$tooltip:(s.shared.$tooltip=l(s.doc.createElement("DIV")).addClass("fr-tooltip"),s.$tooltip=s.shared.$tooltip,s.opts.theme&&s.$tooltip.addClass("".concat(s.opts.theme,"-theme")),l(s.o_doc).find("body").first().append(s.$tooltip)),s.events.on("shared.destroy",function(){s.$tooltip.html("").removeData().remove(),s.$tooltip=null},!0))}(),e.removeAttr("title"),s.$tooltip.text(s.language.translate(e.data("title"))),s.$tooltip.addClass("fr-visible");var a=e.offset().left+(e.outerWidth()-s.$tooltip.outerWidth())/2;a<0&&(a=0),a+s.$tooltip.outerWidth()>l(s.o_win).width()&&(a=l(s.o_win).width()-s.$tooltip.outerWidth()),void 0===t&&(t=s.opts.toolbarBottom),e.offset().top-l(window).scrollTop()+e.outerHeight()+10>=l(window).height()&&(t=!0);var o=t?e.offset().top-s.$tooltip.height():e.offset().top+e.outerHeight();s.$tooltip.css("position",""),s.$tooltip.css("left",a),s.$tooltip.css("top",Math.ceil(o)),"static"!==l(s.o_doc).find("body").first().css("position")?(s.$tooltip.css("margin-left",-l(s.o_doc).find("body").first().offset().left),s.$tooltip.css("margin-top",-l(s.o_doc).find("body").first().offset().top)):(s.$tooltip.css("margin-left",""),s.$tooltip.css("margin-top",""))}}}return{hide:r,to:a,bind:function o(e,t,n){s.opts.tooltips&&!s.helpers.isMobile()&&(s.events.$on(e,"mouseover",t,function(e){s.node.hasClass(e.currentTarget,"fr-disabled")||s.edit.isDisabled()||a(l(e.currentTarget),n)},!0),s.events.$on(e,"mouseout ".concat(s._mousedown," ").concat(s._mouseup),t,function(){r()},!0))}}},xt.TOOLBAR_VISIBLE_BUTTONS=3,xt.MODULES.button=function(g){var h=g.$,i=[];(g.opts.toolbarInline||g.opts.toolbarContainer)&&(g.shared.buttons||(g.shared.buttons=[]),i=g.shared.buttons);var s=[];function l(e,t,n){for(var r=h(),a=0;a<e.length;a++){var o=h(e[a]);if(o.is(t)&&(r=r.add(o)),n&&o.is(".fr-dropdown")){var i=o.next().find(t);r=r.add(i)}}return r}function m(e,t){var n,r=h();if(!e)return r;for(n in r=(r=r.add(l(i,e,t))).add(l(s,e,t)),g.shared.popups)if(Object.prototype.hasOwnProperty.call(g.shared.popups,n)){var a=g.shared.popups[n].children().find(e);r=r.add(a)}for(n in g.shared.modals)if(Object.prototype.hasOwnProperty.call(g.shared.modals,n)){var o=g.shared.modals[n].$modal.find(e);r=r.add(o)}return r}function a(e){var t=e.next(),n=g.node.hasClass(e.get(0),"fr-active"),r=m(".fr-dropdown.fr-active").not(e),a=e.parents(".fr-toolbar, .fr-popup").data("instance")||g;a.helpers.isIOS()&&!a.el.querySelector(".fr-marker")&&(a.selection.save(),a.selection.clear(),a.selection.restore()),t.parents(".fr-more-toolbar").addClass("fr-overflow-visible");var o=0,i=0,s=t.find("> .fr-dropdown-wrapper");if(!n){var l=e.data("cmd");t.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),xt.COMMANDS[l]&&xt.COMMANDS[l].refreshOnShow&&xt.COMMANDS[l].refreshOnShow.apply(a,[e,t]),t.css("left",e.offset().left-e.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-("rtl"===g.opts.direction?t.width()-e.outerWidth():0)),t.addClass("test-height"),o=t.outerHeight(),i=g.helpers.getPX(s.css("max-height")),t.removeClass("test-height"),t.css("top","").css("bottom","");var c=e.outerHeight()/10;if(!g.opts.toolbarBottom&&t.offset().top+e.outerHeight()+o<h(g.o_doc).height())t.css("top",e.position().top+e.outerHeight()-c);else{var d=0,f=e.parents(".fr-more-toolbar");0<f.length&&(d=f.first().height()),t.css("bottom",e.parents(".fr-popup, .fr-toolbar").first().height()-d-e.position().top)}}(e.addClass("fr-blink").toggleClass("fr-active"),e.hasClass("fr-options"))&&e.prev().toggleClass("fr-expanded");e.hasClass("fr-active")?(t.attr("aria-hidden",!1),e.attr("aria-expanded",!0),function u(e,t,n){n<=t&&(e.parent().css("overflow","auto"),e.parent().css("overflow-x","hidden")),e.css("height",Math.min(t,n))}(s,o,i)):(t.attr("aria-hidden",!0).css("overflow",""),e.attr("aria-expanded",!1),s.css("height","")),setTimeout(function(){e.removeClass("fr-blink")},300),t.css("margin-left",""),t.offset().left+t.outerWidth()>g.$sc.offset().left+g.$sc.width()&&t.css("margin-left",-(t.offset().left+t.outerWidth()-g.$sc.offset().left-g.$sc.width())),t.offset().left<g.$sc.offset().left&&"rtl"===g.opts.direction&&t.css("margin-left",g.$sc.offset().left),r.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),0!==e.parents(".fr-popup").length||g.opts.toolbarInline||(g.node.hasClass(e.get(0),"fr-active")?g.$tb.css("zIndex",(g.opts.zIndex||1)+4):g.$tb.css("zIndex",""));var p=t.find("a.fr-command.fr-active").first();g.helpers.isMobile()||(p.length?(g.accessibility.focusToolbarElement(p),s.scrollTop(Math.abs(p.parents(".fr-dropdown-content").offset().top-p.offset().top)-p.offset().top)):(g.accessibility.focusToolbarElement(e),s.scrollTop(0)))}function o(e){e.addClass("fr-blink"),setTimeout(function(){e.removeClass("fr-blink")},500);for(var t=e.data("cmd"),n=[];void 0!==e.data("param".concat(n.length+1));)n.push(e.data("param".concat(n.length+1)));var r=m(".fr-dropdown.fr-active");r.length&&(r.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),r.prev(".fr-expanded").removeClass("fr-expanded"),r.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","")),e.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(t,n)}function t(e){var t=e.parents(".fr-popup, .fr-toolbar").data("instance");if(0===e.parents(".fr-popup").length&&e.data("popup")&&!e.hasClass("fr-btn-active-popup")&&e.addClass("fr-btn-active-popup"),0!==e.parents(".fr-popup").length||e.data("popup")||t.popups.hideAll(),t.popups.areVisible()&&!t.popups.areVisible(t)){for(var n=0;n<xt.INSTANCES.length;n++)xt.INSTANCES[n]!==t&&xt.INSTANCES[n].popups&&xt.INSTANCES[n].popups.areVisible()&&xt.INSTANCES[n].$el.find(".fr-marker").remove();t.popups.hideAll()}g.node.hasClass(e.get(0),"fr-dropdown")?a(e):(!function r(e){o(e)}(e),xt.COMMANDS[e.data("cmd")]&&!1!==xt.COMMANDS[e.data("cmd")].refreshAfterCallback&&t.button.bulkRefresh())}function c(e){t(h(e.currentTarget))}function d(e){var t=e.find(".fr-dropdown.fr-active");t.length&&(t.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),t.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),t.prev().removeClass("fr-expanded"))}function f(e){e.preventDefault(),e.stopPropagation()}function p(e){if(e.stopPropagation(),!g.helpers.isMobile())return!1}function v(e){var t=1<arguments.length&&arguments[1]!==undefined?arguments[1]:{},n=2<arguments.length?arguments[2]:undefined;if(g.helpers.isMobile()&&!1===t.showOnMobile)return"";var r=t.displaySelection;"function"==typeof r&&(r=r(g));var a="";if("options"!==t.type)if(r){var o="function"==typeof t.defaultSelection?t.defaultSelection(g):t.defaultSelection;a='<span style="width:'.concat(t.displaySelectionWidth||100,'px">').concat(g.language.translate(o||t.title),"</span>")}else a=g.icon.create(t.icon||e),a+='<span class="fr-sr-only">'.concat(g.language.translate(t.title)||"","</span>");var i=t.popup?' data-popup="true"':"",s=t.modal?' data-modal="true"':"",l=g.shortcuts.get("".concat(e,"."));l=l?" (".concat(l,")"):"";var c="".concat(e,"-").concat(g.id),d="dropdown-menu-".concat(c),f='<button id="'.concat(c,'"').concat(t.more_btn?' data-group-name="'.concat(c,'" '):"",'type="button" tabIndex="-1" role="button"').concat(t.toggle?' aria-pressed="false"':"").concat("dropdown"===t.type||"options"===t.type?' aria-controls="'.concat(d,'" aria-expanded="false" aria-haspopup="true"'):"").concat(t.disabled?' aria-disabled="true"':"",' title="').concat(g.language.translate(t.title)||"").concat(l,'" class="fr-command fr-btn').concat("dropdown"===t.type||"options"==t.type?" fr-dropdown":"").concat("options"==t.type?" fr-options":"").concat("more"==t.type?" fr-more":"").concat(t.displaySelection?" fr-selection":"").concat(t.back?" fr-back":"").concat(t.disabled?" fr-disabled":"").concat(n?"":" fr-hidden",'" data-cmd="').concat(e,'"').concat(i).concat(s,">").concat(a,"</button>");if("dropdown"===t.type||"options"===t.type){var p='<div id="'.concat(d,'" class="fr-dropdown-menu" role="listbox" aria-labelledby="').concat(c,'" aria-hidden="true"><div class="fr-dropdown-wrapper" role="presentation"><div class="fr-dropdown-content" role="presentation">');p+=function u(e,t){var n="";if(t.html)"function"==typeof t.html?n+=t.html.call(g):n+=t.html;else{var r=t.options;for(var a in"function"==typeof r&&(r=r()),n+='<ul class="fr-dropdown-list" role="presentation">',r)if(Object.prototype.hasOwnProperty.call(r,a)){var o=g.shortcuts.get("".concat(e,".").concat(a));o=o?'<span class="fr-shortcut">'.concat(o,"</span>"):"",n+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="'.concat("options"===t.type?e.replace(/Options/g,""):e,'" data-param1="').concat(a,'" title="').concat(r[a],'">').concat(g.language.translate(r[a]),"</a></li>")}n+="</ul>"}return n}(e,t),f+=p+="</div></div></div>"}return t.hasOptions&&t.hasOptions.apply(g)&&(f='<div class="fr-btn-wrap">'.concat(f," ").concat(v(e+"Options",Object.assign({},t,{type:"options",hasOptions:!1}),n)," </div>")),f}function e(a){var o=g.$tb&&g.$tb.data("instance")||g;if(!1===g.events.trigger("buttons.refresh"))return!0;setTimeout(function(){for(var e=o.selection.inEditor()&&o.core.hasFocus(),t=0;t<a.length;t++){var n=h(a[t]),r=n.data("cmd");0===n.parents(".fr-popup").length?e||xt.COMMANDS[r]&&xt.COMMANDS[r].forcedRefresh?o.button.refresh(n):g.node.hasClass(n.get(0),"fr-dropdown")||(n.removeClass("fr-active"),n.attr("aria-pressed")&&n.attr("aria-pressed",!1)):n.parents(".fr-popup").isVisible()&&o.button.refresh(n)}},0)}function n(){e(i),e(s)}function r(){i=[],s=[]}g.shared.popup_buttons||(g.shared.popup_buttons=[]),s=g.shared.popup_buttons;var u=null;function b(){clearTimeout(u),u=setTimeout(n,50)}return{_init:function C(){g.opts.toolbarInline?g.events.on("toolbar.show",n):(g.events.on("mouseup",b),g.events.on("keyup",b),g.events.on("blur",b),g.events.on("focus",b),g.events.on("contentChanged",b),g.helpers.isMobile()&&g.events.$on(g.$doc,"selectionchange",n)),g.events.on("shared.destroy",r)},build:v,buildList:function E(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r],o=xt.COMMANDS[a];o&&"undefined"!=typeof o.plugin&&g.opts.pluginsEnabled.indexOf(o.plugin)<0||(o?n+=v(a,o,void 0===t||0<=t.indexOf(a)):"|"===a?n+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':"-"===a&&(n+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>'))}return n},buildGroup:function y(e){var t="",n="";for(var r in e){var a=e[r];if(a.buttons){for(var o="",i="",s=0,l="left",c=xt.TOOLBAR_VISIBLE_BUTTONS,d=0;d<a.buttons.length;d++){var f=a.buttons[d],p=xt.COMMANDS[f];p||("|"==f?o+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':"-"==f&&(o+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>')),!p||p&&"undefined"!=typeof p.plugin&&g.opts.pluginsEnabled.indexOf(p.plugin)<0||(e[r].align!==undefined&&(l=e[r].align),e[r].buttonsVisible!==undefined&&(c=e[r].buttonsVisible),e.showMoreButtons&&c<=s?i+=v(f,p,!0):o+=v(f,p,!0),s++)}if(e.showMoreButtons&&c<s){var u=r,h=xt.COMMANDS[u];h.more_btn=!0,o+=v(u,h,!0)}"trackChanges"!==r&&(t+='<div class="fr-btn-grp fr-float-'.concat(l,'">').concat(o,"</div>")),e.showMoreButtons&&0<i.length&&(n+='<div class="fr-more-toolbar" data-name="'.concat(r+"-"+g.id,'">').concat(i,"</div>"))}}return g.opts.toolbarBottom?g.helpers.isMobile()?'<div class="fr-bottom-extended">'.concat(n,"</div><div>").concat(t,"</div>"):"".concat(n,'<div class="fr-newline"></div>').concat(t):"".concat(t,'<div class="fr-newline"></div>').concat(n)},bindCommands:function L(t,e){g.events.bindClick(t,".fr-command:not(.fr-disabled)",c),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu",f,!0),g.events.$on(t,"".concat(g._mousedown," ").concat(g._mouseup," ").concat(g._move),".fr-dropdown-menu .fr-dropdown-wrapper",p,!0);var n=t.get(0).ownerDocument,r="defaultView"in n?n.defaultView:n.parentWindow;function a(e){(!e||e.type===g._mouseup&&e.target!==h("html").get(0)||"keydown"===e.type&&(g.keys.isCharacter(e.which)&&!g.keys.ctrlKey(e)||e.which===xt.KEYCODE.ESC))&&d(t)}g.events.$on(h(r),"".concat(g._mouseup," resize keydown"),a,!0),g.opts.iframe&&g.events.$on(g.$win,g._mouseup,a,!0),g.node.hasClass(t.get(0),"fr-popup")?h.merge(s,t.find(".fr-btn").toArray()):h.merge(i,t.find(".fr-btn").toArray()),g.tooltip.bind(t,".fr-btn, .fr-title",e)},refresh:function _(e){var t,n=e.parents(".fr-popup, .fr-toolbar").data("instance")||g,r=e.data("cmd");g.node.hasClass(e.get(0),"fr-dropdown")?t=e.next():(e.removeClass("fr-active"),e.attr("aria-pressed")&&e.attr("aria-pressed",!1)),xt.COMMANDS[r]&&xt.COMMANDS[r].refresh?xt.COMMANDS[r].refresh.apply(n,[e,t]):g.refresh[r]&&n.refresh[r](e,t)},bulkRefresh:n,exec:o,click:t,hideActiveDropdowns:d,addButtons:function w(e){for(var t=0;t<e.length;t++)i.push(e[t])},getButtons:m,getPosition:function A(e){var t=e.offset().left,n=g.opts.toolbarBottom?10:e.outerHeight()-10;return{left:t,top:e.offset().top+n}}}},xt.ICON_TEMPLATES={font_awesome:'<i class="fa fa-[NAME]" aria-hidden="true"></i>',font_awesome_5:'<i class="fas fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5r:'<i class="far fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5l:'<i class="fal fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5b:'<i class="fab fa-[FA5NAME]" aria-hidden="true"></i>',text:'<span style="text-align: center;">[NAME]</span>',image:"<img src=[SRC] alt=[ALT] />",svg:'<svg class="fr-svg" focusable="false" viewBox="0 0 24 24" xmlns="path_to_url"><path d="[PATH]"/></svg>',empty:" "},xt.ICONS={bold:{NAME:"bold",SVG_KEY:"bold"},italic:{NAME:"italic",SVG_KEY:"italic"},underline:{NAME:"underline",SVG_KEY:"underline"},strikeThrough:{NAME:"strikethrough",SVG_KEY:"strikeThrough"},subscript:{NAME:"subscript",SVG_KEY:"subscript"},superscript:{NAME:"superscript",SVG_KEY:"superscript"},cancel:{NAME:"cancel",SVG_KEY:"cancel"},color:{NAME:"tint",SVG_KEY:"textColor"},outdent:{NAME:"outdent",SVG_KEY:"outdent"},indent:{NAME:"indent",SVG_KEY:"indent"},undo:{NAME:"rotate-left",FA5NAME:"undo",SVG_KEY:"undo"},redo:{NAME:"rotate-right",FA5NAME:"redo",SVG_KEY:"redo"},insert:{NAME:"insert",SVG_KEY:"insert"},insertAll:{NAME:"insertAll",SVG_KEY:"insertAll"},insertHR:{NAME:"minus",SVG_KEY:"horizontalLine"},clearFormatting:{NAME:"eraser",SVG_KEY:"clearFormatting"},selectAll:{NAME:"mouse-pointer",SVG_KEY:"selectAll"},minimize:{NAME:"minimize",SVG_KEY:"minimize"},moreText:{NAME:"ellipsis-v",SVG_KEY:"textMore"},moreParagraph:{NAME:"ellipsis-v",SVG_KEY:"paragraphMore"},moreRich:{NAME:"ellipsis-v",SVG_KEY:"insertMore"},moreMisc:{NAME:"ellipsis-v",SVG_KEY:"more"}},xt.DefineIconTemplate=function(e,t){xt.ICON_TEMPLATES[e]=t},xt.DefineIcon=function(e,t){xt.ICONS[e]=t},Object.assign(xt.DEFAULTS,{iconsTemplate:"svg"}),xt.MODULES.icon=function(a){return{create:function o(n){var e=null,r=xt.ICONS[n];if(void 0!==r){var t=r.template||xt.ICON_DEFAULT_TEMPLATE||a.opts.iconsTemplate;t&&t.apply&&(t=t.apply(a)),r.FA5NAME||(r.FA5NAME=r.NAME),"svg"!==t||r.PATH||(r.PATH=xt.SVG[r.SVG_KEY]||""),t&&(t=xt.ICON_TEMPLATES[t])&&(e=t.replace(/\[([a-zA-Z0-9]*)\]/g,function(e,t){return"NAME"===t?r[t]||n:r[t]}))}return e||n},getTemplate:function r(e){var t=xt.ICONS[e],n=a.opts.iconsTemplate;return void 0!==t?n=t.template||xt.ICON_DEFAULT_TEMPLATE||a.opts.iconsTemplate:n},getFileIcon:function n(e){var t=xt.FILEICONS[e];return void 0!==t?t:e}}},xt.SVG={add:"M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6V13z",advancedImageEditor:"M3,17v2h6v-2H3z M3,5v2h10V5H3z M13,21v-2h8v-2h-8v-2h-2v6H13z M7,9v2H3v2h4v2h2V9H7z M21,13v-2H11v2H21z M15,9h2V7h4V5h-4 V3h-2V9z",alignCenter:"M9,18h6v-2H9V18z M6,11v2h12v-2H6z M3,6v2h18V6H3z",alignJustify:"M3,18h18v-2H3V18z M3,11v2h18v-2H3z M3,6v2h18V6H3z",alignLeft:"M3,18h6v-2H3V18z M3,11v2h12v-2H3z M3,6v2h18V6H3z",alignRight:"M15,18h6v-2h-6V18z M9,11v2h12v-2H9z M3,6v2h18V6H3z",anchors:"M16,4h-4H8C6.9,4,6,4.9,6,6v4v10l6-2.6l6,2.6V10V6C18,4.9,17.1,4,16,4z M16,17l-4-1.8L8,17v-7V6h4h4v4V17z",autoplay:"M 7.570312 0.292969 C 7.542969 0.292969 7.515625 0.292969 7.488281 0.296875 C 7.203125 0.324219 6.984375 0.539062 6.980469 0.792969 L 6.925781 3.535156 C 2.796875 3.808594 -0.0078125 6.425781 -0.0859375 10.09375 C -0.121094 11.96875 0.710938 13.6875 2.265625 14.921875 C 3.769531 16.117188 5.839844 16.796875 8.097656 16.828125 C 8.140625 16.828125 12.835938 16.898438 13.035156 16.886719 C 15.171875 16.796875 17.136719 16.128906 18.558594 15.003906 C 20.066406 13.816406 20.882812 12.226562 20.917969 10.40625 C 20.960938 8.410156 20.023438 6.605469 18.289062 5.335938 C 18.214844 5.277344 18.128906 5.230469 18.035156 5.203125 C 17.636719 5.074219 17.222656 5.199219 17 5.476562 L 15.546875 7.308594 C 15.304688 7.609375 15.363281 8.007812 15.664062 8.265625 C 16.351562 8.851562 16.707031 9.625 16.6875 10.5 C 16.652344 12.25 15.070312 13.390625 12.757812 13.535156 C 12.59375 13.539062 8.527344 13.472656 8.164062 13.464844 C 5.703125 13.429688 4.101562 12.191406 4.140625 10.3125 C 4.175781 8.570312 5.132812 7.46875 6.847656 7.199219 L 6.796875 9.738281 C 6.792969 9.992188 7 10.214844 7.285156 10.253906 C 7.3125 10.257812 7.339844 10.257812 7.367188 10.257812 C 7.503906 10.261719 7.632812 10.222656 7.738281 10.148438 L 14.039062 5.785156 C 14.171875 5.691406 14.253906 5.558594 14.253906 5.410156 C 14.257812 5.261719 14.1875 5.125 14.058594 5.027344 L 7.941406 0.414062 C 7.835938 0.335938 7.707031 0.292969 7.570312 0.292969 ",back:"M20 11L7.83 11 11.425 7.405 10.01 5.991 5.416 10.586 5.414 10.584 4 11.998 4.002 12 4 12.002 5.414 13.416 5.416 13.414 10.01 18.009 11.425 16.595 7.83 13 20 13 20 13 20 11 20 11Z",backgroundColor:"M9.91752,12.24082l7.74791-5.39017,1.17942,1.29591-6.094,7.20747L9.91752,12.24082M7.58741,12.652l4.53533,4.98327a.93412.93412,0,0,0,1.39531-.0909L20.96943,8.7314A.90827.90827,0,0,0,20.99075,7.533l-2.513-2.76116a.90827.90827,0,0,0-1.19509-.09132L7.809,11.27135A.93412.93412,0,0,0,7.58741,12.652ZM2.7939,18.52772,8.41126,19.5l1.47913-1.34617-3.02889-3.328Z",blockquote:"M10.31788,5l.93817,1.3226A12.88271,12.88271,0,0,0,8.1653,9.40125a5.54242,5.54242,0,0,0-.998,3.07866v.33733q.36089-.04773.66067-.084a4.75723,4.75723,0,0,1,.56519-.03691,2.87044,2.87044,0,0,1,2.11693.8427,2.8416,2.8416,0,0,1,.8427,2.09274,3.37183,3.37183,0,0,1-.8898,2.453A3.143,3.143,0,0,1,8.10547,19,3.40532,3.40532,0,0,1,5.375,17.7245,4.91156,4.91156,0,0,1,4.30442,14.453,9.3672,9.3672,0,0,1,5.82051,9.32933,14.75716,14.75716,0,0,1,10.31788,5Zm8.39243,0,.9369,1.3226a12.88289,12.88289,0,0,0-3.09075,3.07865,5.54241,5.54241,0,0,0-.998,3.07866v.33733q.33606-.04773.63775-.084a4.91773,4.91773,0,0,1,.58938-.03691,2.8043,2.8043,0,0,1,2.1042.83,2.89952,2.89952,0,0,1,.80578,2.10547,3.42336,3.42336,0,0,1-.86561,2.453A3.06291,3.06291,0,0,1,16.49664,19,3.47924,3.47924,0,0,1,13.742,17.7245,4.846,4.846,0,0,1,12.64721,14.453,9.25867,9.25867,0,0,1,14.17476,9.3898,15.26076,15.26076,0,0,1,18.71031,5Z",bold:"M15.25,11.8h0A3.68,3.68,0,0,0,17,9a3.93,3.93,0,0,0-3.86-4H6.65V19h7a3.74,3.74,0,0,0,3.7-3.78V15.1A3.64,3.64,0,0,0,15.25,11.8ZM8.65,7h4.2a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61,2.23,2.23,0,0,1-.63.09H8.65Zm4.6,10H8.65V13h4.6a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61A2.23,2.23,0,0,1,13.25,17Z",cancel:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",cellBackground:"M16.6,12.4L7.6,3.5L6.2,4.9l2.4,2.4l-5.2,5.2c-0.6,0.6-0.6,1.5,0,2.1l5.5,5.5c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4 l5.5-5.5C17.2,14,17.2,13,16.6,12.4z M5.2,13.5L10,8.7l4.8,4.8H5.2z M19,15c0,0-2,2.2-2,3.5c0,1.1,0.9,2,2,2s2-0.9,2-2 C21,17.2,19,15,19,15z",cellBorderColor:"M22,22H2v2h20V22z",cellOptions:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M9.5,6.5h5V9h-5V6.5z M8,17.5H4 c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4 c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0V9z",cellStyle:"M20,19.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L12.3,17h3.8l1.7-3.5l1.4,3.5H23L20,19.9z M20,5H4C2.9,5,2,5.9,2,7v10 c0,1.1,0.9,2,2,2h7.5l-0.6-0.6L10,17.5H9.5V15h5.4l1.1-2.3v-2.2h4.5v3H20l0.6,1.5H22V7C22,5.9,21.1,5,20,5z M3.5,7 c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0.1,0h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M4,17.5c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0-0.1v-2H8v2.5H4 z M14.5,9h-5V6.5h5V9z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0.1V9z",clearFormatting:"M11.48,10.09l-1.2-1.21L8.8,7.41,6.43,5,5.37,6.1,8.25,9,4.66,19h2l1.43-4h5.14l1.43,4h2l-.89-2.51L18.27,19l1.07-1.06L14.59,13.2ZM8.8,13l.92-2.56L12.27,13Zm.56-7.15L9.66,5h2l1.75,4.9Z",close:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",codeView:"M9.4,16.6,4.8,12,9.4,7.4,8,6,2,12l6,6Zm5.2,0L19.2,12,14.6,7.4,16,6l6,6-6,6Z",cogs:"M18.877 12.907a6.459 6.459 0 0 0 0 -1.814l1.952 -1.526a0.468 0.468 0 0 0 0.111 -0.593l-1.851 -3.2a0.461 0.461 0 0 0 -0.407 -0.231 0.421 0.421 0 0 0 -0.157 0.028l-2.3 0.925a6.755 6.755 0 0 0 -1.563 -0.907l-0.352 -2.452a0.451 0.451 0 0 0 -0.453 -0.388h-3.7a0.451 0.451 0 0 0 -0.454 0.388L9.347 5.588A7.077 7.077 0 0 0 7.783 6.5l-2.3 -0.925a0.508 0.508 0 0 0 -0.166 -0.028 0.457 0.457 0 0 0 -0.4 0.231l-1.851 3.2a0.457 0.457 0 0 0 0.111 0.593l1.952 1.526A7.348 7.348 0 0 0 5.063 12a7.348 7.348 0 0 0 0.064 0.907L3.175 14.433a0.468 0.468 0 0 0 -0.111 0.593l1.851 3.2a0.461 0.461 0 0 0 0.407 0.231 0.421 0.421 0 0 0 0.157 -0.028l2.3 -0.925a6.74 6.74 0 0 0 1.564 0.907L9.7 20.864a0.451 0.451 0 0 0 0.454 0.388h3.7a0.451 0.451 0 0 0 0.453 -0.388l0.352 -2.452a7.093 7.093 0 0 0 1.563 -0.907l2.3 0.925a0.513 0.513 0 0 0 0.167 0.028 0.457 0.457 0 0 0 0.4 -0.231l1.851 -3.2a0.468 0.468 0 0 0 -0.111 -0.593Zm-0.09 2.029l-0.854 1.476 -2.117 -0.852 -0.673 0.508a5.426 5.426 0 0 1 -1.164 0.679l-0.795 0.323 -0.33 2.269h-1.7l-0.32 -2.269 -0.793 -0.322a5.3 5.3 0 0 1 -1.147 -0.662L8.2 15.56l-2.133 0.86 -0.854 -1.475 1.806 -1.411 -0.1 -0.847c-0.028 -0.292 -0.046 -0.5 -0.046 -0.687s0.018 -0.4 0.045 -0.672l0.106 -0.854L5.217 9.064l0.854 -1.475 2.117 0.851 0.673 -0.508a5.426 5.426 0 0 1 1.164 -0.679l0.8 -0.323 0.331 -2.269h1.7l0.321 2.269 0.792 0.322a5.3 5.3 0 0 1 1.148 0.661l0.684 0.526 2.133 -0.859 0.853 1.473 -1.8 1.421 0.1 0.847a5 5 0 0 1 0.046 0.679c0 0.193 -0.018 0.4 -0.045 0.672l-0.106 0.853ZM12 14.544A2.544 2.544 0 1 1 14.546 12 2.552 2.552 0 0 1 12 14.544Z",columns:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M20.5,17 c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0 V9z",edit:"M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0 c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z",exitFullscreen:"M5,16H8v3h2V14H5ZM8,8H5v2h5V5H8Zm6,11h2V16h3V14H14ZM16,8V5H14v5h5V8Z",fileInsert:"M 8.09375 12.75 L 5.90625 12.75 C 5.542969 12.75 5.25 12.394531 5.25 11.953125 L 5.25 6.375 L 2.851562 6.375 C 2.367188 6.375 2.121094 5.660156 2.464844 5.242188 L 6.625 0.1875 C 6.832031 -0.0585938 7.167969 -0.0585938 7.371094 0.1875 L 11.535156 5.242188 C 11.878906 5.660156 11.632812 6.375 11.148438 6.375 L 8.75 6.375 L 8.75 11.953125 C 8.75 12.394531 8.457031 12.75 8.09375 12.75 Z M 14 12.484375 L 14 16.203125 C 14 16.644531 13.707031 17 13.34375 17 L 0.65625 17 C 0.292969 17 0 16.644531 0 16.203125 L 0 12.484375 C 0 12.042969 0.292969 11.6875 0.65625 11.6875 L 4.375 11.6875 L 4.375 11.953125 C 4.375 12.980469 5.0625 13.8125 5.90625 13.8125 L 8.09375 13.8125 C 8.9375 13.8125 9.625 12.980469 9.625 11.953125 L 9.625 11.6875 L 13.34375 11.6875 C 13.707031 11.6875 14 12.042969 14 12.484375 Z M 10.609375 15.40625 C 10.609375 15.039062 10.363281 14.742188 10.0625 14.742188 C 9.761719 14.742188 9.515625 15.039062 9.515625 15.40625 C 9.515625 15.773438 9.761719 16.070312 10.0625 16.070312 C 10.363281 16.070312 10.609375 15.773438 10.609375 15.40625 Z M 12.359375 15.40625 C 12.359375 15.039062 12.113281 14.742188 11.8125 14.742188 C 11.511719 14.742188 11.265625 15.039062 11.265625 15.40625 C 11.265625 15.773438 11.511719 16.070312 11.8125 16.070312 C 12.113281 16.070312 12.359375 15.773438 12.359375 15.40625 Z M 12.359375 15.40625 ",fileManager:"M 0 5.625 L 20.996094 5.625 L 21 15.75 C 21 16.371094 20.410156 16.875 19.6875 16.875 L 1.3125 16.875 C 0.585938 16.875 0 16.371094 0 15.75 Z M 0 5.625 M 21 4.5 L 0 4.5 L 0 2.25 C 0 1.628906 0.585938 1.125 1.3125 1.125 L 6.921875 1.125 C 7.480469 1.125 8.015625 1.316406 8.40625 1.652344 L 9.800781 2.847656 C 10.195312 3.183594 10.730469 3.375 11.289062 3.375 L 19.6875 3.375 C 20.414062 3.375 21 3.878906 21 4.5 Z M 21 4.5",markdown:"M5.55006 17.75V7.35L8.96006 16.89H10.7101L14.2301 7.37V14.0729C14.3951 14.1551 14.5499 14.265 14.6875 14.4026L14.7001 14.4151V11.64C14.7001 10.8583 15.2127 10.1963 15.9201 9.97171V5H13.6801L10.0401 14.86L6.51006 5H4.00006V17.75H5.55006ZM17.2001 11.64C17.2001 11.2258 16.8643 10.89 16.4501 10.89C16.0359 10.89 15.7001 11.2258 15.7001 11.64V16.8294L13.9804 15.1097C13.6875 14.8168 13.2126 14.8168 12.9197 15.1097C12.6269 15.4026 12.6269 15.8775 12.9197 16.1703L15.9197 19.1703C16.2126 19.4632 16.6875 19.4632 16.9804 19.1703L19.9804 16.1703C20.2733 15.8775 20.2733 15.4026 19.9804 15.1097C19.6875 14.8168 19.2126 14.8168 18.9197 15.1097L17.2001 16.8294V11.64Z",fontAwesome:"M18.99018,13.98212V7.52679c-.08038-1.21875-1.33929-.683-1.33929-.683-2.933,1.39282-4.36274.61938-5.85938.15625a6.23272,6.23272,0,0,0-2.79376-.20062l-.00946.004A1.98777,1.98777,0,0,0,7.62189,5.106a.984.984,0,0,0-.17517-.05432c-.02447-.0055-.04882-.01032-.0736-.0149A.9565.9565,0,0,0,7.1908,5H6.82539a.9565.9565,0,0,0-.18232.0368c-.02472.00458-.04907.0094-.07348.01484a.985.985,0,0,0-.17523.05438,1.98585,1.98585,0,0,0-.573,3.49585v9.394A1.004,1.004,0,0,0,6.82539,19H7.1908a1.00406,1.00406,0,0,0,1.00409-1.00409V15.52234c3.64221-1.09827,5.19709.64282,7.09888.57587a5.57291,5.57291,0,0,0,3.25446-1.05805A1.2458,1.2458,0,0,0,18.99018,13.98212Z",fontFamily:"M16,19h2L13,5H11L6,19H8l1.43-4h5.14Zm-5.86-6L12,7.8,13.86,13Z",fontSize:"M20.75,19h1.5l-3-10h-1.5l-3,10h1.5L17,16.5h3Zm-3.3-4,1.05-3.5L19.55,15Zm-5.7,4h2l-5-14h-2l-5,14h2l1.43-4h5.14ZM5.89,13,7.75,7.8,9.61,13Z",fullscreen:"M7,14H5v5h5V17H7ZM5,10H7V7h3V5H5Zm12,7H14v2h5V14H17ZM14,5V7h3v3h2V5Z",help:"M11,17h2v2h-2V17z M12,5C9.8,5,8,6.8,8,9h2c0-1.1,0.9-2,2-2s2,0.9,2,2c0,2-3,1.7-3,5v1h2v-1c0-2.2,3-2.5,3-5 C16,6.8,14.2,5,12,5z",horizontalLine:"M5,12h14 M19,11H5v2h14V11z",imageAltText:"M19,7h-6v12h-2V7H5V5h6h2h6V7z",imageCaption:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z M22,22H2v2h20V22z",imageClass:"M9.5,13.4l-2.9-2.9h3.8L12.2,7l1.4,3.5h3.8l-3,2.9l0.9,3.6L12,15.1L8.8,17L9.5,13.4z M22,6v12c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,6H4v12h16V8.8V6z",imageDisplay:"M3,5h18v2H3V5z M13,9h8v2h-8V9z M13,13h8v2h-8V13z M3,17h18v2H3V17z M3,9h8v6H3V9z",imageManager:"M20,6h-7l-2-2H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M20,18H4V6h6.2l2,2H20V18z M18,16l-3.8-5H14l-2.9,3.8L9,12.1L6,16H18z M10,9.5C10,8.7,9.3,8,8.5,8S7,8.7,7,9.5S7.7,11,8.5,11S10,10.3,10,9.5z",imageSize:"M16.9,4c-0.3,0-0.5,0.2-0.8,0.3L3.3,13c-0.9,0.6-1.1,1.9-0.5,2.8l2.2,3.3c0.4,0.7,1.2,1,2,0.8c0.3,0,0.5-0.2,0.8-0.3 L20.7,11c0.9-0.6,1.1-1.9,0.5-2.8l-2.2-3.3C18.5,4.2,17.7,3.9,16.9,4L16.9,4z M16.9,9.9L18.1,9l-2-2.9L17,5.6c0.1,0,0.1-0.1,0.2-0.1 c0.2,0,0.4,0,0.5,0.2L19.9,9c0.2,0.2,0.1,0.5-0.1,0.7L7,18.4c-0.1,0-0.1,0.1-0.2,0.1c-0.2,0-0.4,0-0.5-0.2L4.1,15 c-0.2-0.2-0.1-0.5,0.1-0.7L5,13.7l2,2.9l1.2-0.8l-2-2.9L7.5,12l1.1,1.7l1.2-0.8l-1.1-1.7l1.2-0.8l2,2.9l1.2-0.8l-2-2.9l1.2-0.8 l1.1,1.7l1.2-0.8l-1.1-1.7L14.9,7L16.9,9.9z",indent:"M3,9v6l3-3L3,9z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",inlineClass:"M9.9,13.313A1.2,1.2,0,0,1,9.968,13H6.277l1.86-5.2,1.841,5.148A1.291,1.291,0,0,1,11.212,12h.426l-2.5-7h-2l-5,14h2l1.43-4H9.9Zm2.651,6.727a2.884,2.884,0,0,1-.655-2.018v-2.71A1.309,1.309,0,0,1,13.208,14h3.113a3.039,3.039,0,0,1,2,1.092s1.728,1.818,2.964,2.928a1.383,1.383,0,0,1,.318,1.931,1.44,1.44,0,0,1-.19.215l-3.347,3.31a1.309,1.309,0,0,1-1.832.258h0a1.282,1.282,0,0,1-.258-.257l-1.71-1.728Zm2.48-3.96a.773.773,0,1,0,.008,0Z",inlineStyle:"M11.88,15h.7l.7-1.7-3-8.3h-2l-5,14h2l1.4-4Zm-4.4-2,1.9-5.2,1.9,5.2ZM15.4,21.545l3.246,1.949-.909-3.637L20.72,17H16.954l-1.429-3.506L13.837,17H10.071l2.857,2.857-.779,3.637Z",insert:"M13.889,11.611c-0.17,0.17-0.443,0.17-0.612,0l-3.189-3.187l-3.363,3.36c-0.171,0.171-0.441,0.171-0.612,0c-0.172-0.169-0.172-0.443,0-0.611l3.667-3.669c0.17-0.17,0.445-0.172,0.614,0l3.496,3.493C14.058,11.167,14.061,11.443,13.889,11.611 M18.25,10c0,4.558-3.693,8.25-8.25,8.25c-4.557,0-8.25-3.692-8.25-8.25c0-4.557,3.693-8.25,8.25-8.25C14.557,1.75,18.25,5.443,18.25,10 M17.383,10c0-4.07-3.312-7.382-7.383-7.382S2.618,5.93,2.618,10S5.93,17.381,10,17.381S17.383,14.07,17.383,10",insertEmbed:"M20.73889,15.45929a3.4768,3.4768,0,0,0-5.45965-.28662L9.5661,12.50861a3.49811,3.49811,0,0,0-.00873-1.01331l5.72174-2.66809a3.55783,3.55783,0,1,0-.84527-1.81262L8.70966,9.6839a3.50851,3.50851,0,1,0,.0111,4.63727l5.7132,2.66412a3.49763,3.49763,0,1,0,6.30493-1.526ZM18.00745,5.01056A1.49993,1.49993,0,1,1,16.39551,6.3894,1.49994,1.49994,0,0,1,18.00745,5.01056ZM5.99237,13.49536a1.49989,1.49989,0,1,1,1.61194-1.37878A1.49982,1.49982,0,0,1,5.99237,13.49536Zm11.78211,5.494a1.49993,1.49993,0,1,1,1.61193-1.37885A1.49987,1.49987,0,0,1,17.77448,18.98932Z",insertFile:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z",insertImage:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z",insertLink:"M11,17H7A5,5,0,0,1,7,7h4V9H7a3,3,0,0,0,0,6h4ZM17,7H13V9h4a3,3,0,0,1,0,6H13v2h4A5,5,0,0,0,17,7Zm-1,4H8v2h8Z",insertMore:"M16.5,13h-6v6h-2V13h-6V11h6V5h2v6h6Zm5,4.5A1.5,1.5,0,1,1,20,16,1.5,1.5,0,0,1,21.5,17.5Zm0-4A1.5,1.5,0,1,1,20,12,1.5,1.5,0,0,1,21.5,13.5Zm0-4A1.5,1.5,0,1,1,20,8,1.5,1.5,0,0,1,21.5,9.5Z",insertTable:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M9.5,13.5v-3 h5v3H9.5z M14.5,15v2.5h-5V15H14.5z M9.5,9V6.5h5V9H9.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M3.5,17 v-2H8v2.5H4C3.7,17.5,3.5,17.3,3.5,17z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M16,9V6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16z",insertVideo:"M15,8v8H5V8H15m2,2.5V7a1,1,0,0,0-1-1H4A1,1,0,0,0,3,7V17a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V13.5l2.29,2.29A1,1,0,0,0,21,15.08V8.91a1,1,0,0,0-1.71-.71Z",upload:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",uploadFiles:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",italic:"M11.76,9h2l-2.2,10h-2Zm1.68-4a1,1,0,1,0,1,1,1,1,0,0,0-1-1Z",search:"M15.5 14h-0.79l-0.28 -0.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09 -0.59 4.23 -1.57l0.27 0.28v0.79l5 4.99L20.49 19l-4.99 -5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",lineHeight:"M6.25,7h2.5L5.25,3.5,1.75,7h2.5V17H1.75l3.5,3.5L8.75,17H6.25Zm4-2V7h12V5Zm0,14h12V17h-12Zm0-6h12V11h-12Z",linkStyles:"M19,17.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L11.3,15h3.8l1.7-3.5l1.4,3.5H22L19,17.9z M20,12c0,0.3-0.1,0.7-0.2,1h2.1 c0.1-0.3,0.1-0.6,0.1-1c0-2.8-2.2-5-5-5h-4v2h4C18.7,9,20,10.3,20,12z M14.8,11H8v2h3.3h2.5L14.8,11z M9.9,16.4L8.5,15H7 c-1.7,0-3-1.3-3-3s1.3-3,3-3h4V7H7c-2.8,0-5,2.2-5,5s2.2,5,5,5h3.5L9.9,16.4z",mention:"M12.4,5c-4.1,0-7.5,3.4-7.5,7.5S8.3,20,12.4,20h3.8v-1.5h-3.8c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6v1.1 c0,0.6-0.5,1.2-1.1,1.2s-1.1-0.6-1.1-1.2v-1.1c0-2.1-1.7-3.8-3.8-3.8s-3.7,1.7-3.7,3.8s1.7,3.8,3.8,3.8c1,0,2-0.4,2.7-1.1 c0.5,0.7,1.3,1.1,2.2,1.1c1.5,0,2.6-1.2,2.6-2.7v-1.1C19.9,8.4,16.6,5,12.4,5z M12.4,14.7c-1.2,0-2.3-1-2.3-2.2s1-2.3,2.3-2.3 s2.3,1,2.3,2.3S13.6,14.7,12.4,14.7z",minimize:"M5,12h14 M19,11H5v2h14V11z",more:"M13.5,17c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,16.2,13.5,17z M13.5,12c0,0.8-0.7,1.5-1.5,1.5 s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,11.2,13.5,12z M13.5,7c0,0.8-0.7,1.5-1.5,1.5S10.5,7.8,10.5,7s0.7-1.5,1.5-1.5 S13.5,6.2,13.5,7z",openLink:"M17,17H7V7h3V5H7C6,5,5,6,5,7v10c0,1,1,2,2,2h10c1,0,2-1,2-2v-3h-2V17z M14,5v2h1.6l-5.8,5.8l1.4,1.4L17,8.4V10h2V5H14z",orderedList:"M2.5,16h2v.5h-1v1h1V18h-2v1h3V15h-3Zm1-7h1V5h-2V6h1Zm-1,2H4.3L2.5,13.1V14h3V13H3.7l1.8-2.1V10h-3Zm5-5V8h14V6Zm0,12h14V16H7.5Zm0-5h14V11H7.5Z",outdent:"M3,12l3,3V9L3,12z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",pageBreaker:"M3,9v6l3-3L3,9z M21,9H8V4h2v3h9V4h2V9z M21,20h-2v-3h-9v3H8v-5h13V20z M11,13H8v-2h3V13z M16,13h-3v-2h3V13z M21,13h-3v-2 h3V13z",paragraphFormat:"M10.15,5A4.11,4.11,0,0,0,6.08,8.18,4,4,0,0,0,10,13v6h2V7h2V19h2V7h2V5ZM8,9a2,2,0,0,1,2-2v4A2,2,0,0,1,8,9Z",paragraphMore:"M7.682,5a4.11,4.11,0,0,0-4.07,3.18,4,4,0,0,0,3.11,4.725h0l.027.005a3.766,3.766,0,0,0,.82.09v6h2V7h2V19h2V7h2V5ZM5.532,9a2,2,0,0,1,2-2v4A2,2,0,0,1,5.532,9Zm14.94,8.491a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,17.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,13.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,9.491Z",paragraphStyle:"M4,9c0-1.1,0.9-2,2-2v4C4.9,11,4,10.1,4,9z M16.7,20.5l3.2,1.9L19,18.8l3-2.9h-3.7l-1.4-3.5L15.3,16h-3.8l2.9,2.9l-0.9,3.6 L16.7,20.5z M10,17.4V19h1.6L10,17.4z M6.1,5c-1.9,0-3.6,1.3-4,3.2c-0.5,2.1,0.8,4.2,2.9,4.7c0,0,0,0,0,0h0.2C5.5,13,5.8,13,6,13v6 h2V7h2v7h2V7h2V5H6.1z",pdfExport:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z M16.3,13.5 c-0.2-0.6-1.1-0.8-2.6-0.8c-0.1,0-0.1,0-0.2,0c-0.3-0.3-0.8-0.9-1-1.2c-0.2-0.2-0.3-0.3-0.4-0.6c0.2-0.7,0.2-1,0.3-1.5 c0.1-0.9,0-1.6-0.2-1.8c-0.4-0.2-0.7-0.2-0.9-0.2c-0.1,0-0.3,0.2-0.7,0.7c-0.2,0.7-0.1,1.8,0.6,2.8c-0.2,0.8-0.7,1.6-1,2.4 c-0.8,0.2-1.5,0.7-1.9,1.1c-0.7,0.7-0.9,1.1-0.7,1.6c0,0.3,0.2,0.6,0.7,0.6c0.3-0.1,0.3-0.2,0.7-0.3c0.6-0.3,1.2-1.7,1.7-2.4 c0.8-0.2,1.7-0.3,2-0.3c0.1,0,0.3,0,0.6,0c0.8,0.8,1.2,1.1,1.8,1.2c0.1,0,0.2,0,0.3,0c0.3,0,0.8-0.1,1-0.6 C16.4,14.1,16.4,13.9,16.3,13.5z M8.3,15.7c-0.1,0.1-0.2,0.1-0.2,0.1c0-0.1,0-0.3,0.6-0.8c0.2-0.2,0.6-0.3,0.9-0.7 C9,15,8.6,15.5,8.3,15.7z M11.3,9c0-0.1,0.1-0.2,0.1-0.2S11.6,9,11.5,10c0,0.1,0,0.3-0.1,0.7C11.3,10.1,11,9.5,11.3,9z M10.9,13.1 c0.2-0.6,0.6-1,0.7-1.5c0.1,0.1,0.1,0.1,0.2,0.2c0.1,0.2,0.3,0.7,0.7,0.9C12.2,12.8,11.6,13,10.9,13.1z M15.2,14.1 c-0.1,0-0.1,0-0.2,0c-0.2,0-0.7-0.2-1-0.7c1.1,0,1.6,0.2,1.6,0.6C15.5,14.1,15.4,14.1,15.2,14.1z",print:"M16.1,17c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1s-0.4,1-1,1C16.5,18,16.1,17.6,16.1,17z M22,15v4c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2h1V5c0-1.1,0.9-2,2-2h7.4L19,7.6V13h1C21.1,13,22,13.9,22,15z M7,13h10V9h-4V5H7V13z M20,15H4 v4h16V15z",redo:"M13.6,9.4c1.7,0.3,3.2,0.9,4.6,2L21,8.5v7h-7l2.7-2.7C13,10.1,7.9,11,5.3,14.7c-0.2,0.3-0.4,0.5-0.5,0.8L3,14.6 C5.1,10.8,9.3,8.7,13.6,9.4z",removeTable:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",insertAll:"M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 ",remove:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",replaceImage:"M16,5v3H4v2h12v3l4-4L16,5z M8,19v-3h12v-2H8v-3l-4,4L8,19z",row:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M16,6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16V6.5z M9.5,6.5h5V9h-5V6.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.5 v-2H8V17.5z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z",selectAll:"M5,7h2V5C5.9,5,5,5.9,5,7z M5,11h2V9H5V11z M9,19h2v-2H9V19z M5,11h2V9H5V11z M15,5h-2v2h2V5z M17,5v2h2C19,5.9,18.1,5,17,5 z M7,19v-2H5C5,18.1,5.9,19,7,19z M5,15h2v-2H5V15z M11,5H9v2h2V5z M13,19h2v-2h-2V19z M17,11h2V9h-2V11z M17,19c1.1,0,2-0.9,2-2h-2 V19z M17,11h2V9h-2V11z M17,15h2v-2h-2V15z M13,19h2v-2h-2V19z M13,7h2V5h-2V7z M9,15h6V9H9V15z M11,11h2v2h-2V11z",smile:"M11.991,3A9,9,0,1,0,21,12,8.99557,8.99557,0,0,0,11.991,3ZM12,19a7,7,0,1,1,7-7A6.99808,6.99808,0,0,1,12,19Zm3.105-5.2h1.503a4.94542,4.94542,0,0,1-9.216,0H8.895a3.57808,3.57808,0,0,0,6.21,0ZM7.5,9.75A1.35,1.35,0,1,1,8.85,11.1,1.35,1.35,0,0,1,7.5,9.75Zm6.3,0a1.35,1.35,0,1,1,1.35,1.35A1.35,1.35,0,0,1,13.8,9.75Z",spellcheck:"M19.1,13.6l-5.6,5.6l-2.7-2.7l-1.4,1.4l4.1,4.1l7-7L19.1,13.6z M10.8,13.7l2.7,2.7l0.8-0.8L10.5,5h-2l-5,14h2l1.4-4h2.6 L10.8,13.7z M9.5,7.8l1.9,5.2H7.6L9.5,7.8z",star:"M12.1,7.7l1,2.5l0.4,0.9h1h2.4l-2.1,2l-0.6,0.6l0.2,0.9l0.6,2.3l-2.2-1.3L12,15.2l-0.8,0.5L9,17l0.5-2.5l0.1-0.8L9,13.1 l-2-2h2.5h0.9l0.4-0.8L12.1,7.7 M12.2,4L9.5,9.6H3.4L8,14.2L6.9,20l5.1-3.1l5.3,3.1l-1.5-5.8l4.8-4.6h-6.1L12.2,4L12.2,4z",strikeThrough:"M3,12.20294H21v1.5H16.63422a3.59782,3.59782,0,0,1,.34942,1.5929,3.252,3.252,0,0,1-1.31427,2.6997A5.55082,5.55082,0,0,1,12.20251,19a6.4421,6.4421,0,0,1-2.62335-.539,4.46335,4.46335,0,0,1-1.89264-1.48816,3.668,3.668,0,0,1-.67016-2.15546V14.704h.28723v-.0011h.34149v.0011H9.02v.11334a2.18275,2.18275,0,0,0,.85413,1.83069,3.69,3.69,0,0,0,2.32836.67926,3.38778,3.38778,0,0,0,2.07666-.5462,1.73346,1.73346,0,0,0,.7013-1.46655,1.69749,1.69749,0,0,0-.647-1.43439,3.00525,3.00525,0,0,0-.27491-.17725H3ZM16.34473,7.05981A4.18163,4.18163,0,0,0,14.6236,5.5462,5.627,5.627,0,0,0,12.11072,5,5.16083,5.16083,0,0,0,8.74719,6.06213,3.36315,3.36315,0,0,0,7.44006,8.76855a3.22923,3.22923,0,0,0,.3216,1.42786h2.59668c-.08338-.05365-.18537-.10577-.25269-.16064a1.60652,1.60652,0,0,1-.65283-1.30036,1.79843,1.79843,0,0,1,.68842-1.5108,3.12971,3.12971,0,0,1,1.96948-.55243,3.04779,3.04779,0,0,1,2.106.6687,2.35066,2.35066,0,0,1,.736,1.83258v.11341h2.00317V9.17346A3.90013,3.90013,0,0,0,16.34473,7.05981Z",subscript:"M10.4,12l3.6,3.6L12.6,17L9,13.4L5.4,17L4,15.6L7.6,12L4,8.4L5.4,7L9,10.6L12.6,7L14,8.4L10.4,12z M18.31234,19.674 l1.06812-1.1465c0.196-0.20141,0.37093-0.40739,0.5368-0.6088c0.15975-0.19418,0.30419-0.40046,0.432-0.617 c0.11969-0.20017,0.21776-0.41249,0.29255-0.6334c0.07103-0.21492,0.10703-0.43986,0.10662-0.66621 c0.00297-0.28137-0.04904-0.56062-0.1531-0.82206c-0.09855-0.24575-0.25264-0.46534-0.45022-0.6416 c-0.20984-0.18355-0.45523-0.32191-0.72089-0.40646c-0.63808-0.19005-1.3198-0.17443-1.94851,0.04465 c-0.28703,0.10845-0.54746,0.2772-0.76372,0.49487c-0.20881,0.20858-0.37069,0.45932-0.47483,0.73548 c-0.10002,0.26648-0.15276,0.54838-0.15585,0.833l-0.00364,0.237H17.617l0.00638-0.22692 c0.00158-0.12667,0.01966-0.25258,0.05377-0.37458c0.03337-0.10708,0.08655-0.20693,0.15679-0.29437 c0.07105-0.08037,0.15959-0.14335,0.25882-0.1841c0.22459-0.08899,0.47371-0.09417,0.7018-0.01458 c0.0822,0.03608,0.15559,0.08957,0.21509,0.15679c0.06076,0.07174,0.10745,0.15429,0.13761,0.24333 c0.03567,0.10824,0.05412,0.22141,0.05469,0.33538c-0.00111,0.08959-0.0118,0.17881-0.0319,0.26612 c-0.02913,0.10428-0.07076,0.20465-0.124,0.29893c-0.07733,0.13621-0.1654,0.26603-0.26338,0.38823 c-0.13438,0.17465-0.27767,0.34226-0.42929,0.50217l-2.15634,2.35315V21H21v-1.326H18.31234z",superscript:"M10.4,12,14,15.6,12.6,17,9,13.4,5.4,17,4,15.6,7.6,12,4,8.4,5.4,7,9,10.6,12.6,7,14,8.4Zm8.91234-3.326,1.06812-1.1465c.196-.20141.37093-.40739.5368-.6088a4.85745,4.85745,0,0,0,.432-.617,3.29,3.29,0,0,0,.29255-.6334,2.11079,2.11079,0,0,0,.10662-.66621,2.16127,2.16127,0,0,0-.1531-.82206,1.7154,1.7154,0,0,0-.45022-.6416,2.03,2.03,0,0,0-.72089-.40646,3.17085,3.17085,0,0,0-1.94851.04465,2.14555,2.14555,0,0,0-.76372.49487,2.07379,2.07379,0,0,0-.47483.73548,2.446,2.446,0,0,0-.15585.833l-.00364.237H18.617L18.62338,5.25a1.45865,1.45865,0,0,1,.05377-.37458.89552.89552,0,0,1,.15679-.29437.70083.70083,0,0,1,.25882-.1841,1.00569,1.00569,0,0,1,.7018-.01458.62014.62014,0,0,1,.21509.15679.74752.74752,0,0,1,.13761.24333,1.08893,1.08893,0,0,1,.05469.33538,1.25556,1.25556,0,0,1-.0319.26612,1.34227,1.34227,0,0,1-.124.29893,2.94367,2.94367,0,0,1-.26338.38823,6.41629,6.41629,0,0,1-.42929.50217L17.19709,8.92642V10H22V8.674Z",symbols:"M15.77493,16.98885a8.21343,8.21343,0,0,0,1.96753-2.57651,7.34824,7.34824,0,0,0,.6034-3.07618A6.09092,6.09092,0,0,0,11.99515,5a6.13347,6.13347,0,0,0-4.585,1.79187,6.417,6.417,0,0,0-1.756,4.69207,6.93955,6.93955,0,0,0,.622,2.97415,8.06587,8.06587,0,0,0,1.949,2.53076H5.41452V19h5.54114v-.04331h-.00147V16.84107a5.82825,5.82825,0,0,1-2.2052-2.2352A6.40513,6.40513,0,0,1,7.97672,11.447,4.68548,4.68548,0,0,1,9.07785,8.19191a3.73232,3.73232,0,0,1,2.9173-1.22462,3.76839,3.76839,0,0,1,2.91241,1.21489,4.482,4.482,0,0,1,1.11572,3.154,6.71141,6.71141,0,0,1-.75384,3.24732,5.83562,5.83562,0,0,1-2.22357,2.25759v2.11562H13.0444V19h5.54108V16.98885Z",tags:"M8.9749 7.47489a1.5 1.5 0 1 1 -1.5 1.5A1.5 1.5 0 0 1 8.9749 7.47489Zm3.78866 -3.12713L16.5362 8.12041l0.33565 0.33564 2.77038 2.77038a2.01988 2.01988 0 0 1 0.59 1.42 1.95518 1.95518 0 0 1 -0.5854 1.40455l0.00044 0.00043 -5.59583 5.59583 -0.00043 -0.00044a1.95518 1.95518 0 0 1 -1.40455 0.5854 1.98762 1.98762 0 0 1 -1.41 -0.58L8.45605 16.87185l-0.33564 -0.33565L4.35777 12.77357a1.99576 1.99576 0 0 1 -0.59 -1.42V9.36358l0 -3.59582a2.00579 2.00579 0 0 1 2 -2l3.59582 0h1.98995A1.98762 1.98762 0 0 1 12.76356 4.34776ZM15.46186 9.866l-0.33564 -0.33564L11.36359 5.76776H5.76776v5.59583L9.866 15.46186l2.7794 2.7794 5.5878 -5.60385 -0.001 -0.001Z",tableHeader:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 l0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M14.5,17.5h-5V15h5V17.5z M14.5,13.5h-5v-3h5V13.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5l0,0 H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9h-4.4H16h-1.5h-5H8H7.9H3.5V7c0-0.3,0.2-0.5,0.4-0.5l0,0h4l0,0h8.2l0,0H20 c0.3,0,0.5,0.2,0.5,0.4l0,0V9z",tableStyle:"M20.0171,19.89752l.9,3.6-3.2-1.9-3.3,1.9.8-3.6-2.9-2.9h3.8l1.7-3.5,1.4,3.5h3.8ZM20,5H4A2.00591,2.00591,0,0,0,2,7V17a2.00591,2.00591,0,0,0,2,2h7.49115l-.58826-.58826L9.99115,17.5H9.5V14.9975h5.36511L16,12.66089V10.5h4.5v3h-.52783l.599,1.4975H22V7A2.00591,2.00591,0,0,0,20,5ZM3.5,7A.4724.4724,0,0,1,4,6.5H8V9H3.5Zm0,3.5H8v3H3.5Zm.5,7a.4724.4724,0,0,1-.5-.5V15H8v2.5Zm10.5-4h-5v-3h5Zm0-4.5h-5V6.5h5Zm6,0H16V6.5h4a.4724.4724,0,0,1,.5.5Z",textColor:"M15.2,13.494s-3.6,3.9-3.6,6.3a3.65,3.65,0,0,0,7.3.1v-.1C18.9,17.394,15.2,13.494,15.2,13.494Zm-1.47-1.357.669-.724L12.1,5h-2l-5,14h2l1.43-4h2.943A24.426,24.426,0,0,1,13.726,12.137ZM11.1,7.8l1.86,5.2H9.244Z",textMore:"M13.55,19h2l-5-14h-2l-5,14h2l1.4-4h5.1Zm-5.9-6,1.9-5.2,1.9,5.2Zm12.8,4.5a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,17.5Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,13.5Zm0-4A1.5,1.5,0,1,1,18.95,8,1.5,1.5,0,0,1,20.45,9.5Z",underline:"M19,20v2H5V20Zm-3-6.785a4,4,0,0,1-5.74,3.4A3.75,3.75,0,0,1,8,13.085V5.005H6v8.21a6,6,0,0,0,8,5.44,5.851,5.851,0,0,0,4-5.65v-8H16ZM16,5v0h2V5ZM8,5H6v0H8Z",undo:"M10.4,9.4c-1.7,0.3-3.2,0.9-4.6,2L3,8.5v7h7l-2.7-2.7c3.7-2.6,8.8-1.8,11.5,1.9c0.2,0.3,0.4,0.5,0.5,0.8l1.8-0.9 C18.9,10.8,14.7,8.7,10.4,9.4z",unlink:"M14.4,11l1.6,1.6V11H14.4z M17,7h-4v1.9h4c1.7,0,3.1,1.4,3.1,3.1c0,1.3-0.8,2.4-1.9,2.8l1.4,1.4C21,15.4,22,13.8,22,12 C22,9.2,19.8,7,17,7z M2,4.3l3.1,3.1C3.3,8.1,2,9.9,2,12c0,2.8,2.2,5,5,5h4v-1.9H7c-1.7,0-3.1-1.4-3.1-3.1c0-1.6,1.2-2.9,2.8-3.1 L8.7,11H8v2h2.7l2.3,2.3V17h1.7l4,4l1.4-1.4L3.4,2.9L2,4.3z",unorderedList:"M4,10.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,10.5,4,10.5z M4,5.5C3.2,5.5,2.5,6.2,2.5,7 S3.2,8.5,4,8.5S5.5,7.8,5.5,7S4.8,5.5,4,5.5z M4,15.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,15.5,4,15.5z M7.5,6v2h14V6H7.5z M7.5,18h14v-2h-14V18z M7.5,13h14v-2h-14V13z",verticalAlignBottom:"M16,13h-3V3h-2v10H8l4,4L16,13z M3,19v2h18v-2H3z",verticalAlignMiddle:"M3,11v2h18v-2H3z M8,18h3v3h2v-3h3l-4-4L8,18z M16,6h-3V3h-2v3H8l4,4L16,6z",verticalAlignTop:"M8,11h3v10h2V11h3l-4-4L8,11z M21,5V3H3v2H21z",trackChanges:"M17.2 20H12.4599L13.9938 19.2076L14.0305 19.1886L14.0616 19.1612C14.1036 19.1242 14.1373 19.0786 14.1603 19.0275C14.1806 18.9825 14.1923 18.9342 14.1948 18.885H14.2H14.3384L14.4364 18.7874L14.7049 18.52H15.45C15.5747 18.52 15.6942 18.4705 15.7823 18.3823C15.8705 18.2942 15.92 18.1746 15.92 18.05C15.92 17.9253 15.8705 17.8058 15.7823 17.7176C15.7351 17.6704 15.6789 17.6343 15.6177 17.6109L17.33 15.9056V19.87C17.33 19.8871 17.3266 19.904 17.3201 19.9197C17.3136 19.9355 17.304 19.9499 17.2919 19.9619C17.2799 19.974 17.2655 19.9836 17.2497 19.9901C17.234 19.9966 17.2171 20 17.2 20ZM4.13 20H11.2508C11.2396 19.9629 11.2337 19.9242 11.2337 19.885C11.2337 19.8133 11.2533 19.7431 11.29 19.6819L11.2739 19.6734L11.8838 18.52H5C4.87535 18.52 4.7558 18.4705 4.66766 18.3823C4.57952 18.2942 4.53 18.1746 4.53 18.05C4.53 17.9253 4.57952 17.8058 4.66766 17.7176C4.7558 17.6295 4.87535 17.58 5 17.58H12.3809L12.3925 17.5582L12.4187 17.5284C12.4558 17.4864 12.5014 17.4527 12.5525 17.4297C12.5836 17.4156 12.6163 17.4057 12.6498 17.4001C12.6522 17.3065 12.6877 17.2166 12.7503 17.1467L13 17.37C12.9902 17.381 12.9847 17.3952 12.9847 17.41C12.9847 17.4247 12.9902 17.439 13 17.45L14.13 18.55H14.2L19.09 13.68V13.6L17.99 12.5C17.979 12.4902 17.9647 12.4847 17.95 12.4847C17.9352 12.4847 17.921 12.4902 17.91 12.5L13 17.37L12.7641 17.1322L15.1759 14.74H5C4.87535 14.74 4.7558 14.6905 4.66766 14.6023C4.57952 14.5142 4.53 14.3946 4.53 14.27C4.53 14.1453 4.57952 14.0258 4.66766 13.9376C4.7558 13.8495 4.87535 13.8 5 13.8H15.45C15.5747 13.8 15.6942 13.8495 15.7823 13.9376C15.8169 13.9722 15.8454 14.0115 15.8675 14.0541L17.33 12.6034V9.3H13.28C13.207 9.30976 13.133 9.30976 13.06 9.3C12.7697 9.22119 12.5113 9.05343 12.3212 8.82027C12.1311 8.58711 12.0187 8.30026 12 8V4H4.13C4.09552 4 4.06246 4.0137 4.03808 4.03808C4.0137 4.06246 4 4.09552 4 4.13V19.87C4 19.9045 4.0137 19.9375 4.03808 19.9619C4.06246 19.9863 4.09552 20 4.13 20ZM11.7889 20H11.8785C11.8902 19.9746 11.898 19.9475 11.9015 19.9197L11.8661 19.9866L11.8117 19.9578L13.84 18.91C13.8464 18.9044 13.8515 18.8974 13.855 18.8897C13.8585 18.8819 13.8603 18.8735 13.8603 18.865C13.8603 18.8565 13.8585 18.8481 13.855 18.8403C13.8515 18.8325 13.8464 18.8256 13.84 18.82L12.76 17.75C12.7544 17.7436 12.7474 17.7385 12.7397 17.735C12.7319 17.7315 12.7235 17.7297 12.715 17.7297C12.7065 17.7297 12.6981 17.7315 12.6903 17.735C12.6825 17.7385 12.6756 17.7436 12.67 17.75L11.57 19.83L11.5023 19.7942L11.58 19.85C11.5727 19.8602 11.5687 19.8724 11.5687 19.885C11.5687 19.8975 11.5727 19.9098 11.58 19.92L11.67 20H11.73L11.7642 19.9823L11.7889 20ZM13.1 4.65L16.6 8.15C16.6212 8.17232 16.6355 8.20028 16.6412 8.23051C16.6469 8.26075 16.6437 8.29199 16.6321 8.32048C16.6205 8.34898 16.6009 8.37352 16.5757 8.39117C16.5505 8.40882 16.5207 8.41883 16.49 8.42H13.06L12.83 8.19V4.76C12.8312 4.72925 12.8412 4.6995 12.8588 4.67429C12.8765 4.64909 12.901 4.62951 12.9295 4.6179C12.958 4.6063 12.9893 4.60315 13.0195 4.60884C13.0497 4.61453 13.0777 4.62882 13.1 4.65ZM11 6.72C11.0027 6.66089 10.9937 6.60183 10.9735 6.54621C10.9534 6.49058 10.9224 6.43948 10.8825 6.39582C10.8425 6.35216 10.7944 6.31681 10.7408 6.29179C10.6871 6.26677 10.6291 6.25257 10.57 6.25H5C4.88239 6.25773 4.77251 6.3113 4.69397 6.39918C4.61543 6.48707 4.57451 6.60226 4.58 6.72C4.57451 6.83774 4.61543 6.95293 4.69397 7.04082C4.77251 7.12871 4.88239 7.18227 5 7.19H10.6C10.714 7.1774 10.8189 7.12173 10.8933 7.03438C10.9676 6.94702 11.0058 6.83457 11 6.72ZM11.1 8.14001H5C4.87535 8.14001 4.7558 8.18953 4.66766 8.27767C4.57952 8.36582 4.53 8.48536 4.53 8.61001C4.53 8.73467 4.57952 8.85421 4.66766 8.94236C4.7558 9.0305 4.87535 9.08001 5 9.08001H11.1C11.2247 9.08001 11.3442 9.0305 11.4323 8.94236C11.5205 8.85421 11.57 8.73467 11.57 8.61001C11.57 8.48536 11.5205 8.36582 11.4323 8.27767C11.3442 8.18953 11.2247 8.14001 11.1 8.14001ZM5 11H15.45C15.5826 11 15.7098 10.9473 15.8036 10.8536C15.8973 10.7598 15.95 10.6326 15.95 10.5C15.95 10.3674 15.8973 10.2402 15.8036 10.1464C15.7098 10.0527 15.5826 10 15.45 10H5C4.86739 10 4.74021 10.0527 4.64645 10.1464C4.55268 10.2402 4.5 10.3674 4.5 10.5C4.5 10.6326 4.55268 10.7598 4.64645 10.8536C4.74021 10.9473 4.86739 11 5 11ZM5 12.86H11.1C11.2211 12.8523 11.3346 12.798 11.4166 12.7085C11.4986 12.6191 11.5428 12.5013 11.54 12.38C11.5427 12.2597 11.4982 12.1431 11.4159 12.0552C11.3337 11.9673 11.2202 11.9152 11.1 11.91H5C4.94089 11.9126 4.88286 11.9268 4.82924 11.9518C4.77562 11.9768 4.72746 12.0122 4.68752 12.0558C4.64758 12.0995 4.61664 12.1506 4.59648 12.2062C4.57631 12.2618 4.56731 12.3209 4.57 12.38C4.56451 12.5004 4.60649 12.6181 4.6869 12.7079C4.76731 12.7976 4.87974 12.8523 5 12.86ZM11.1 16.63H5C4.87535 16.63 4.7558 16.5805 4.66766 16.4923C4.57952 16.4042 4.53 16.2846 4.53 16.16C4.53 16.0353 4.57952 15.9158 4.66766 15.8276C4.7558 15.7395 4.87535 15.69 5 15.69H11.1C11.2247 15.69 11.3442 15.7395 11.4323 15.8276C11.5205 15.9158 11.57 16.0353 11.57 16.16C11.57 16.2846 11.5205 16.4042 11.4323 16.4923C11.3442 16.5805 11.2247 16.63 11.1 16.63ZM18.8503 11.592C18.7991 11.6175 18.7545 11.6544 18.72 11.7L18.26 12.14C18.2501 12.151 18.2447 12.1652 18.2447 12.18C18.2447 12.1947 18.2501 12.209 18.26 12.22L19.37 13.32C19.381 13.3298 19.3952 13.3353 19.41 13.3353C19.4247 13.3353 19.439 13.3298 19.45 13.32L19.86 12.91C19.9057 12.867 19.9421 12.8151 19.967 12.7575C19.9919 12.6998 20.0047 12.6377 20.0047 12.575C20.0047 12.5122 19.9919 12.4501 19.967 12.3925C19.9421 12.3349 19.9057 12.283 19.86 12.24L19.31 11.7C19.2755 11.6544 19.2309 11.6175 19.1797 11.592C19.1285 11.5666 19.0721 11.5533 19.015 11.5533C18.9578 11.5533 18.9014 11.5666 18.8503 11.592Z",showTrackChanges:"M17.2421 13.6048C17.2631 13.6136 17.2841 13.6226 17.305 13.6317V9.29505H13.2626C13.1897 9.30481 13.1159 9.30481 13.043 9.29505C12.7532 9.21632 12.4953 9.04872 12.3056 8.81577C12.1158 8.58283 12.0037 8.29625 11.985 7.99627V4H4.12976C4.09534 4 4.06234 4.01368 4.038 4.03804C4.01367 4.0624 4 4.09543 4 4.12988V19.8552C4 19.8896 4.01367 19.9227 4.038 19.947C4.06234 19.9714 4.09534 19.9851 4.12976 19.9851H13.4875C13.0501 19.8216 12.6281 19.6155 12.2277 19.3686C11.8529 19.1551 11.4911 18.9196 11.1442 18.6632C11.0697 18.6152 10.9982 18.5628 10.9302 18.5065H4.99812C4.87371 18.5065 4.75438 18.457 4.66641 18.3689C4.57843 18.2809 4.529 18.1614 4.529 18.0369C4.529 17.9124 4.57843 17.7929 4.66641 17.7049C4.75438 17.6168 4.87371 17.5673 4.99812 17.5673H10.4396C10.4472 17.4488 10.4756 17.3324 10.5235 17.2235C10.5939 17.017 10.6761 16.8149 10.7694 16.6182H4.99812C4.87371 16.6182 4.75438 16.5687 4.66641 16.4807C4.57843 16.3926 4.529 16.2732 4.529 16.1487C4.529 16.0241 4.57843 15.9047 4.66641 15.8166C4.75438 15.7286 4.87371 15.6791 4.99812 15.6791H11.0867C11.1576 15.6791 11.2268 15.6952 11.2895 15.7253C11.5204 15.361 11.7938 15.027 12.1033 14.73H4.99812C4.87371 14.73 4.75438 14.6805 4.66641 14.5924C4.57843 14.5044 4.529 14.385 4.529 14.2604C4.529 14.1359 4.57843 14.0164 4.66641 13.9284C4.75438 13.8403 4.87371 13.7909 4.99812 13.7909H13.4434C13.9833 13.525 14.5656 13.3516 15.166 13.2795L15.1923 13.2763H15.2189H15.4925C16.0923 13.2609 16.6886 13.3728 17.2421 13.6048ZM13.0829 4.64939L16.5764 8.14613C16.5975 8.16843 16.6118 8.19636 16.6174 8.22657C16.6231 8.25677 16.62 8.28798 16.6084 8.31645C16.5968 8.34492 16.5773 8.36944 16.5521 8.38707C16.527 8.40471 16.4973 8.41471 16.4666 8.41587H13.043L12.8134 8.18609V4.75929C12.8146 4.72857 12.8246 4.69884 12.8422 4.67366C12.8598 4.64849 12.8843 4.62893 12.9128 4.61733C12.9412 4.60573 12.9724 4.60259 13.0026 4.60827C13.0328 4.61396 13.0607 4.62824 13.0829 4.64939ZM10.9869 6.71746C10.9896 6.65841 10.9806 6.59941 10.9604 6.54383C10.9403 6.48825 10.9094 6.4372 10.8696 6.39358C10.8297 6.34997 10.7816 6.31465 10.7281 6.28965C10.6746 6.26466 10.6167 6.25047 10.5577 6.2479H4.99813C4.88074 6.25562 4.77106 6.30914 4.69267 6.39694C4.61428 6.48475 4.57343 6.59983 4.57891 6.71746C4.57343 6.83509 4.61428 6.95017 4.69267 7.03798C4.77106 7.12579 4.88074 7.1793 4.99813 7.18702H10.5876C10.7014 7.17444 10.8061 7.11882 10.8803 7.03154C10.9545 6.94427 10.9927 6.83192 10.9869 6.71746ZM11.0867 8.13614H4.99812C4.87371 8.13614 4.75438 8.18561 4.66641 8.27367C4.57843 8.36173 4.529 8.48116 4.529 8.6057C4.529 8.73023 4.57843 8.84967 4.66641 8.93773C4.75438 9.02579 4.87371 9.07526 4.99812 9.07526H11.0867C11.2111 9.07526 11.3304 9.02579 11.4184 8.93773C11.5064 8.84967 11.5558 8.73023 11.5558 8.6057C11.5558 8.48116 11.5064 8.36173 11.4184 8.27367C11.3304 8.18561 11.2111 8.13614 11.0867 8.13614ZM4.99812 10.9935H15.4285C15.5609 10.9935 15.6878 10.9408 15.7814 10.8472C15.875 10.7535 15.9276 10.6264 15.9276 10.4939C15.9276 10.3614 15.875 10.2344 15.7814 10.1407C15.6878 10.047 15.5609 9.9944 15.4285 9.9944H4.99812C4.86576 9.9944 4.73883 10.047 4.64523 10.1407C4.55164 10.2344 4.49906 10.3614 4.49906 10.4939C4.49906 10.6264 4.55164 10.7535 4.64523 10.8472C4.73883 10.9408 4.86576 10.9935 4.99812 10.9935ZM4.99812 12.8517H11.0867C11.2076 12.844 11.3208 12.7898 11.4027 12.7004C11.4845 12.611 11.5287 12.4934 11.5259 12.3722C11.5286 12.252 11.4841 12.1355 11.402 12.0477C11.3199 11.9599 11.2067 11.9078 11.0867 11.9026H4.99812C4.93912 11.9052 4.8812 11.9194 4.82769 11.9444C4.77417 11.9694 4.7261 12.0047 4.68623 12.0483C4.64637 12.0919 4.61549 12.143 4.59536 12.1985C4.57523 12.2541 4.56625 12.3131 4.56893 12.3722C4.56345 12.4925 4.60535 12.6101 4.68561 12.6998C4.76587 12.7894 4.87809 12.844 4.99812 12.8517ZM19.97 17.4974C19.5787 16.5636 19.0431 15.6971 18.383 14.9298C18.0152 14.5351 17.5679 14.2233 17.0706 14.0148C16.5732 13.8064 16.0373 13.7062 15.4984 13.7209H15.2189C14.4787 13.8098 13.7684 14.0666 13.1423 14.4717C12.5162 14.8769 11.9906 15.4196 11.6057 16.0587C11.3211 16.4677 11.0959 16.9151 10.937 17.3875C10.9006 17.464 10.8817 17.5476 10.8817 17.6323C10.8817 17.717 10.9006 17.8006 10.937 17.877C11.0642 18.0428 11.2196 18.1849 11.3961 18.2967C11.7346 18.5476 12.0879 18.7778 12.4541 18.986C13.4096 19.5767 14.497 19.92 15.6182 19.9851C16.4392 20.0504 17.2632 19.9005 18.0088 19.5501C18.7544 19.1998 19.3959 18.661 19.8702 17.9869C19.9311 17.923 19.9729 17.8432 19.9905 17.7566C20.0082 17.67 20.0011 17.5801 19.97 17.4974ZM15.9775 19.1758C14.3849 19.068 12.8507 18.5331 11.5358 17.6273C11.5788 17.5678 11.6255 17.5111 11.6756 17.4574C12.3061 16.569 13.1295 15.8359 14.0832 15.3126C13.8003 15.7406 13.6785 16.2566 13.7417 16.7681C13.7676 17.0339 13.8465 17.2918 13.9737 17.5265C14.1009 17.7613 14.2739 17.9681 14.4823 18.1348C14.6907 18.3016 14.9304 18.4248 15.1872 18.4972C15.4441 18.5696 15.7128 18.5897 15.9775 18.5564C16.305 18.4971 16.6137 18.3609 16.8785 18.159C17.1432 17.9572 17.3564 17.6954 17.5005 17.3951C17.6446 17.0949 17.7156 16.7647 17.7077 16.4317C17.6997 16.0987 17.613 15.7723 17.4547 15.4793C17.2614 15.3391 17.0533 15.2235 16.8351 15.1339C17.0715 15.226 17.2966 15.3485 17.5046 15.4993C18.0049 15.8976 18.4424 16.3691 18.8022 16.898L18.8927 17.0137L18.8927 17.0137C19.0823 17.2564 19.2729 17.5004 19.4709 17.7072C18.5404 18.6311 17.288 19.1576 15.9775 19.1758ZM16.3168 15.769C16.2085 15.8106 16.1171 15.8873 16.0574 15.9869C15.9977 16.0865 15.9731 16.2032 15.9875 16.3185C15.9949 16.3856 16.0156 16.4505 16.0483 16.5096C16.081 16.5686 16.1251 16.6206 16.178 16.6624C16.2309 16.7042 16.2916 16.7351 16.3566 16.7532C16.4216 16.7714 16.4895 16.7764 16.5564 16.7681H16.6063C16.5618 16.9495 16.4637 17.1132 16.3248 17.238C16.186 17.3627 16.0127 17.4427 15.8278 17.4674H15.6481C15.4335 17.4396 15.2337 17.3427 15.0789 17.1913C14.924 17.04 14.8226 16.8423 14.7897 16.6282C14.7628 16.3782 14.8311 16.1271 14.981 15.9253C15.1305 15.7238 15.3504 15.5861 15.5968 15.5395C15.3446 15.5862 15.12 15.7284 14.9697 15.9364C14.8191 16.1448 14.7547 16.4034 14.7897 16.6582C14.8226 16.8723 14.924 17.0699 15.0789 17.2213C15.2337 17.3727 15.4335 17.4696 15.6481 17.4974H15.8377C16.0209 17.4708 16.1919 17.39 16.3289 17.2654C16.4658 17.1408 16.5625 16.978 16.6063 16.7981C16.7293 16.7633 16.8359 16.686 16.9072 16.5799C16.9785 16.4737 17.0098 16.3457 16.9956 16.2186C16.9882 16.1515 16.9675 16.0865 16.9348 16.0275C16.9021 15.9685 16.858 15.9165 16.805 15.8747C16.7521 15.8329 16.6914 15.802 16.6264 15.7838C16.5615 15.7657 16.4936 15.7607 16.4266 15.769H16.3168Z",acceptAllChanges:"M9.36499 16.7348C9.38499 16.7547 9.41212 16.7659 9.44041 16.7659H10.9881C10.9028 16.6008 10.9289 16.3933 11.0663 16.2541L11.7266 15.585H10.1444C10.0549 15.5701 9.97363 15.5238 9.91498 15.4547C9.85639 15.3856 9.82422 15.298 9.82422 15.2074C9.82422 15.1169 9.85639 15.0292 9.91498 14.9601C9.97363 14.891 10.0549 14.8448 10.1444 14.8298H12.4879C12.5584 14.785 12.6407 14.7607 12.7257 14.7607C12.8106 14.7607 12.893 14.785 12.9635 14.8298H16.5295L18.3303 13.0091C18.4135 12.925 18.5271 12.8776 18.6456 12.8777C18.7642 12.8777 18.8777 12.9252 18.9609 13.0094L20 14.0621V8.25532H16.8001C16.7301 8.27288 16.6568 8.27288 16.5868 8.25532C16.3485 8.1935 16.1367 8.0565 15.9829 7.86478C15.8292 7.67306 15.7416 7.43688 15.7335 7.19149V4H9.44041C9.41293 4.0024 9.38718 4.01437 9.36767 4.03383C9.34816 4.05329 9.33615 4.07897 9.33375 4.10638V16.6596C9.33375 16.6878 9.34499 16.7148 9.36499 16.7348ZM10.0744 17.2979H11.4803L12.259 18.0957H5.06727C5.01734 18.0957 4.96838 18.1057 4.9232 18.1246C4.8788 18.1431 4.83798 18.1702 4.80335 18.2048C4.7333 18.2746 4.69398 18.3693 4.69398 18.468C4.69398 18.5668 4.7333 18.6615 4.80335 18.7313C4.87333 18.8011 4.96832 18.8404 5.06727 18.8404H12.9857L13.7947 19.6693L14.0836 19.9574H4.10733C4.09291 19.9591 4.07829 19.9576 4.06457 19.9528C4.05085 19.9481 4.03838 19.9403 4.02812 19.9301C4.01785 19.9198 4.01004 19.9074 4.00529 19.8937C4.00054 19.88 3.99896 19.8654 4.00067 19.8511V7.29787C4.00067 7.26966 4.01191 7.2426 4.03191 7.22265C4.05192 7.2027 4.07905 7.19149 4.10733 7.19149H8.70447V9.05319H5.06727C4.97294 9.05867 4.88453 9.10069 4.8208 9.17019C4.757 9.23973 4.72302 9.33135 4.72594 9.42553C4.72289 9.52082 4.75654 9.61364 4.82002 9.6849C4.88356 9.75613 4.97203 9.80038 5.06727 9.8085H8.70447V10.5638H5.06727C5.01968 10.5652 4.97274 10.5759 4.92932 10.5954C4.88583 10.6148 4.84664 10.6426 4.8139 10.6772C4.78122 10.7118 4.7557 10.7525 4.73877 10.7969C4.72184 10.8413 4.7139 10.8887 4.71527 10.9361C4.7139 10.9837 4.72184 11.031 4.73877 11.0754C4.74424 11.0897 4.75055 11.1037 4.75778 11.1171C4.76162 11.1243 4.76566 11.1313 4.76995 11.1382C4.78265 11.1585 4.79736 11.1776 4.8139 11.1951C4.84664 11.2297 4.88583 11.2575 4.92932 11.2769C4.95491 11.2884 4.98173 11.2968 5.0092 11.3021C5.02834 11.3058 5.04774 11.3079 5.06727 11.3085H8.70447V12.0638H5.06734C4.97782 12.0789 4.89651 12.1251 4.83792 12.1942C4.77926 12.2633 4.7471 12.351 4.7471 12.4415C4.7471 12.5321 4.77926 12.6197 4.83792 12.6888C4.89651 12.758 4.97782 12.8041 5.06734 12.8192H8.70447V13.5745H5.06734C4.97782 13.5895 4.89651 13.6357 4.83792 13.7048C4.81383 13.7332 4.79424 13.7647 4.77946 13.7983C4.7583 13.8465 4.7471 13.8988 4.7471 13.9522C4.7471 14.0427 4.77926 14.1303 4.83792 14.1994C4.89651 14.2686 4.97782 14.3147 5.06734 14.3298H8.70447V15.0744H5.06727C4.97776 15.0895 4.89651 15.1357 4.83785 15.2048C4.77926 15.2739 4.7471 15.3616 4.7471 15.4521C4.7471 15.5043 4.75778 15.5556 4.77809 15.6029C4.793 15.6376 4.81305 15.6701 4.83785 15.6994C4.89651 15.7685 4.97776 15.8147 5.06727 15.8298H8.70447V16.5851H5.06727C4.97776 16.6001 4.89651 16.6463 4.83785 16.7154C4.79489 16.7661 4.76618 16.8267 4.75387 16.8912C4.74938 16.9146 4.7471 16.9386 4.7471 16.9628C4.7471 17.0533 4.77926 17.1409 4.83785 17.21C4.89651 17.2792 4.97776 17.3253 5.06727 17.3404H9.95241C9.99552 17.3331 10.0367 17.3187 10.0744 17.2979ZM20 15.3204L18.5709 16.7659H19.8933C19.9216 16.7659 19.9487 16.7547 19.9687 16.7348C19.9887 16.7148 20 16.6878 20 16.6596V15.3204ZM14.7526 16.6264L13.7248 15.585H15.7825L14.7526 16.6264ZM14.9498 6.08721C14.9465 6.06854 14.9416 6.05023 14.9353 6.03244C14.9202 5.98939 14.897 5.94929 14.8665 5.91442C14.8145 5.85488 14.7444 5.81394 14.6669 5.79787H10.1337C10.0348 5.79787 9.93978 5.83709 9.8698 5.90693C9.79975 5.97676 9.76043 6.07146 9.76043 6.17022C9.76043 6.19463 9.76283 6.21879 9.76752 6.24239C9.77462 6.2782 9.78692 6.31268 9.80398 6.34479C9.82123 6.37716 9.8433 6.40709 9.8698 6.43348C9.93978 6.50332 10.0348 6.54257 10.1337 6.54257H14.6669C14.6811 6.54023 14.6951 6.53702 14.7088 6.53299C14.7206 6.52955 14.7322 6.52549 14.7436 6.52082C14.7624 6.51309 14.7806 6.50371 14.7979 6.4928C14.8378 6.46764 14.8722 6.43468 14.8991 6.39599C14.9259 6.35729 14.9447 6.31359 14.9543 6.26749C14.9554 6.26232 14.9563 6.25716 14.9571 6.25197C14.9579 6.24739 14.9586 6.24281 14.9591 6.23824C14.9612 6.22129 14.962 6.20424 14.9616 6.18723C14.961 6.16727 14.9588 6.14733 14.9549 6.12766C14.9539 6.11406 14.9523 6.10055 14.9498 6.08721ZM15.0189 7.29788H10.1445C10.0549 7.31291 9.97363 7.35911 9.91504 7.42823C9.85639 7.49738 9.82422 7.585 9.82422 7.67555C9.82422 7.76609 9.85639 7.85369 9.91504 7.92284C9.97363 7.99196 10.0549 8.03815 10.1445 8.05319H15.0189C15.0321 8.05241 15.0451 8.05095 15.058 8.04877C15.0745 8.04601 15.0906 8.04212 15.1064 8.03718C15.1669 8.01822 15.2219 7.98361 15.2654 7.93618C15.3291 7.86664 15.3632 7.77502 15.3602 7.68084C15.3606 7.67392 15.3608 7.66701 15.3608 7.66009C15.3609 7.65087 15.3606 7.64165 15.3599 7.63247C15.3592 7.62263 15.358 7.61279 15.3565 7.60302C15.3532 7.58188 15.3479 7.56104 15.3409 7.54072C15.3254 7.49575 15.301 7.45426 15.2693 7.41868C15.2492 7.39621 15.2265 7.37638 15.2017 7.35959C15.1872 7.34979 15.172 7.34102 15.1562 7.33339C15.1132 7.31265 15.0665 7.3006 15.0189 7.29788ZM10.1445 9.56381H18.496C18.5856 9.54877 18.6669 9.50258 18.7255 9.43346C18.7841 9.3643 18.8163 9.27671 18.8163 9.18617C18.8163 9.09562 18.7841 9.008 18.7255 8.93884C18.6669 8.86973 18.5856 8.82353 18.496 8.8085H10.1445C10.0549 8.82353 9.97363 8.86973 9.91504 8.93884C9.85639 9.008 9.82422 9.09562 9.82422 9.18617C9.82422 9.24412 9.83738 9.30087 9.86224 9.35236C9.87624 9.38132 9.89395 9.40859 9.91504 9.43346C9.97363 9.50258 10.0549 9.54877 10.1445 9.56381ZM10.1445 11.0638H15.0189C15.1084 11.0488 15.1897 11.0026 15.2483 10.9335C15.2854 10.8898 15.3118 10.8387 15.3263 10.7842C15.3347 10.7525 15.3391 10.7195 15.3391 10.6861C15.3391 10.5956 15.3069 10.508 15.2483 10.4389C15.1897 10.3697 15.1084 10.3235 15.0189 10.3085H10.1445C10.0549 10.3235 9.97363 10.3697 9.91504 10.4389C9.85639 10.508 9.82422 10.5956 9.82422 10.6861C9.82422 10.7424 9.83666 10.7976 9.8601 10.8478C9.87442 10.8785 9.89284 10.9073 9.91504 10.9335C9.97363 11.0026 10.0549 11.0488 10.1445 11.0638ZM18.496 12.5745H10.1444C10.0549 12.5594 9.97363 12.5132 9.91498 12.4441C9.85639 12.3749 9.82422 12.2873 9.82422 12.1968C9.82422 12.1062 9.85639 12.0186 9.91498 11.9495C9.97363 11.8803 10.0549 11.8342 10.1444 11.8191H18.496C18.5856 11.8342 18.6669 11.8803 18.7255 11.9495C18.7841 12.0186 18.8163 12.1062 18.8163 12.1968C18.8163 12.2873 18.7841 12.3749 18.7255 12.4441C18.6971 12.4776 18.6633 12.5058 18.6259 12.5276C18.5861 12.5507 18.5421 12.5667 18.496 12.5745ZM15.0189 14.0744H10.1444C10.0968 14.0731 10.0499 14.0624 10.0064 14.0429C9.96296 14.0234 9.92376 13.9956 9.89102 13.961C9.85834 13.9265 9.83282 13.8857 9.81589 13.8413C9.79897 13.7969 9.79102 13.7496 9.79239 13.7021C9.79102 13.6546 9.79897 13.6073 9.81589 13.5628C9.83282 13.5184 9.85834 13.4778 9.89102 13.4432C9.92376 13.4086 9.96296 13.3808 10.0064 13.3613C10.0499 13.3419 10.0968 13.3311 10.1444 13.3297H15.0189C15.0661 13.3311 15.1125 13.3419 15.1554 13.3615C15.1983 13.381 15.2368 13.4091 15.2686 13.4438C15.3005 13.4785 15.325 13.5193 15.3407 13.5637C15.3564 13.608 15.363 13.6551 15.3602 13.7021C15.3631 13.7963 15.3291 13.8879 15.2653 13.9574C15.2016 14.027 15.1132 14.0689 15.0189 14.0744ZM16.6188 4.52128L19.4133 7.30852C19.4293 7.32624 19.4401 7.34808 19.4443 7.37157C19.4485 7.39506 19.446 7.41925 19.4371 7.4414C19.4282 7.46356 19.4133 7.48278 19.394 7.4969C19.3747 7.51102 19.3518 7.51947 19.328 7.52128H16.5868L16.4054 7.34043V4.60639C16.4073 4.5826 16.4157 4.55979 16.4299 4.54056C16.444 4.52133 16.4633 4.50644 16.4855 4.49757C16.5077 4.48871 16.532 4.48624 16.5556 4.49043C16.5791 4.49462 16.601 4.50531 16.6188 4.52128ZM18.6454 13.3192L20 14.6915L14.7522 20L14.7416 19.9894L14.1123 19.3617L13.3976 18.6277L11.3817 16.5638L12.7257 15.2021L14.7522 17.2553L18.6454 13.3192Z",rejectAllChanges:"M9.54637 16.5847H8.96997V15.8295H12.786C12.8024 15.8265 12.8186 15.8223 12.8343 15.817C12.8535 15.8105 12.8719 15.8023 12.8897 15.7926C12.9315 15.7697 12.969 15.738 12.9997 15.6991C13.0268 15.6649 13.0478 15.6261 13.0621 15.5847H13.571V16.7656H9.79386C9.78396 16.7479 9.77269 16.731 9.76011 16.7151C9.70552 16.6459 9.62976 16.5998 9.54637 16.5847ZM13.4717 12.9573V13.3295H9.72523C9.6809 13.3309 9.63716 13.3416 9.59671 13.361C9.57578 13.3711 9.55595 13.3834 9.53745 13.3977C9.5201 13.411 9.50391 13.4262 9.48917 13.4429C9.45872 13.4775 9.43494 13.5182 9.41917 13.5626C9.41778 13.5664 9.41644 13.5703 9.41523 13.5742H8.96997V12.8189H12.786C12.8694 12.8039 12.9452 12.7577 12.9997 12.6886C13.0078 12.6784 13.0153 12.6677 13.0223 12.6568L13.029 12.6458L13.033 12.6389L13.0397 12.6266C13.0452 12.6157 13.0503 12.6046 13.055 12.5931C13.0576 12.5869 13.0599 12.5806 13.0621 12.5742H13.6872C13.6453 12.5965 13.607 12.6269 13.5746 12.6644C13.5059 12.7439 13.469 12.849 13.4717 12.9573ZM9.82598 14.0742H13.4758C13.4809 14.0932 13.4904 14.1108 13.5037 14.1251C13.5242 14.147 13.552 14.1593 13.581 14.1593H13.6008L13.571 14.1912V14.8295H9.72523C9.64183 14.8445 9.56614 14.8907 9.51149 14.9598C9.4845 14.994 9.46351 15.0328 9.4492 15.0741H8.96997V14.3295H9.54637C9.62976 14.3145 9.70552 14.2683 9.76011 14.1992C9.78947 14.162 9.81166 14.1195 9.82598 14.0742ZM18.9075 8.2552V12.5317H17.7846V12.323C17.7978 12.2827 17.8047 12.2399 17.8047 12.1965C17.8047 12.106 17.7747 12.0184 17.7201 11.9493C17.6655 11.8801 17.5897 11.834 17.5063 11.8189H9.72523C9.64183 11.834 9.56614 11.8801 9.51149 11.9493C9.48444 11.9835 9.46351 12.0222 9.4492 12.0636H8.96997V11.3083H9.54637C9.63425 11.3028 9.71662 11.2608 9.776 11.1913C9.80687 11.1551 9.83029 11.113 9.84527 11.0676L9.84654 11.0637H14.2667C14.3501 11.0486 14.4258 11.0024 14.4805 10.9333C14.5231 10.8794 14.5507 10.8142 14.5607 10.7452C14.5636 10.7258 14.565 10.706 14.565 10.686C14.565 10.6658 14.5635 10.6458 14.5606 10.626C14.5572 10.6026 14.5516 10.5796 14.5442 10.5573C14.5299 10.5144 14.5084 10.4741 14.4805 10.4387C14.4258 10.3696 14.3501 10.3234 14.2667 10.3083H9.72529C9.6832 10.3159 9.64299 10.3314 9.60653 10.3538C9.57081 10.3759 9.5386 10.4045 9.51155 10.4387C9.49639 10.4579 9.4831 10.4785 9.47182 10.5002C9.46133 10.5205 9.45259 10.5417 9.44568 10.5636H8.96997V9.80838H9.16873C9.25656 9.80286 9.33899 9.76085 9.39837 9.69131C9.45775 9.62177 9.48947 9.53022 9.48674 9.43601C9.48711 9.42951 9.48735 9.42302 9.48741 9.41653C9.48741 9.41049 9.48729 9.40445 9.48705 9.39848C9.49457 9.41055 9.50269 9.42218 9.51155 9.43334C9.56614 9.50249 9.64189 9.54866 9.72529 9.56372H17.5063C17.5897 9.54866 17.6655 9.50249 17.7201 9.43334C17.7747 9.36419 17.8047 9.2766 17.8047 9.18603C17.8047 9.09552 17.7747 9.00786 17.7201 8.93878C17.6655 8.86963 17.5897 8.82346 17.5063 8.8084H9.72529C9.64189 8.82346 9.56614 8.86963 9.51155 8.93878C9.4569 9.00786 9.42694 9.09552 9.42694 9.18603L9.427 9.19707L9.42754 9.20875C9.41972 9.19661 9.41123 9.18499 9.40201 9.17389C9.38478 9.15311 9.36537 9.1346 9.34427 9.11863C9.33735 9.11344 9.33026 9.1085 9.32298 9.10383C9.31855 9.10097 9.31406 9.09824 9.30951 9.09565L9.30424 9.09266L9.29659 9.08857C9.28792 9.08402 9.27906 9.07993 9.27009 9.07623C9.2616 9.07279 9.25298 9.06974 9.24431 9.06701C9.21974 9.05935 9.19439 9.05461 9.16873 9.05305H8.96997V4.10638C8.97221 4.07897 8.9834 4.05328 9.00157 4.03383C9.01975 4.01437 9.04374 4.0024 9.06935 4H14.9325V7.1914C14.9401 7.43679 15.0216 7.67296 15.1649 7.86468C15.3082 8.0564 15.5055 8.19338 15.7275 8.2552C15.7927 8.27277 15.861 8.27277 15.9262 8.2552H18.9075ZM13.571 17.2975V19.4251L13.5722 19.4615C13.5835 19.6376 13.6323 19.8068 13.7133 19.957H4.10061C4.08718 19.9587 4.07355 19.9571 4.06077 19.9524C4.04799 19.9477 4.03637 19.9399 4.02681 19.9296C4.01724 19.9194 4.00997 19.907 4.00554 19.8933C4.00111 19.8796 3.99964 19.865 4.00124 19.8506V7.29778C4.00124 7.26957 4.01171 7.24251 4.03034 7.22256C4.04898 7.20261 4.07426 7.1914 4.10061 7.1914H8.38368V9.05305H4.99497C4.90708 9.05857 4.82471 9.10052 4.76533 9.17006C4.70589 9.2396 4.67423 9.33121 4.67696 9.42536C4.67411 9.52067 4.70547 9.61346 4.76461 9.68475C4.8238 9.75598 4.90623 9.80026 4.99497 9.80838H8.38368V10.5636H4.99497C4.96682 10.5645 4.93898 10.5692 4.91199 10.5774C4.89647 10.5821 4.88124 10.588 4.86644 10.5952C4.8494 10.6034 4.83308 10.613 4.81762 10.6241C4.79627 10.6393 4.77655 10.657 4.7589 10.6771C4.72846 10.7116 4.70468 10.7523 4.68891 10.7967C4.67314 10.8411 4.66574 10.8885 4.66701 10.9359C4.66641 10.9597 4.66792 10.9834 4.67156 11.0067C4.6752 11.03 4.68102 11.053 4.68891 11.0752C4.70468 11.1196 4.72846 11.1603 4.7589 11.1949C4.7731 11.211 4.78862 11.2256 4.80524 11.2386C4.81452 11.2459 4.82417 11.2527 4.83417 11.259C4.84461 11.2655 4.85534 11.2714 4.86644 11.2767C4.9069 11.2962 4.95063 11.3069 4.99497 11.3083H8.38368V12.0636H4.99503C4.91163 12.0787 4.83587 12.1249 4.78128 12.194C4.7526 12.2303 4.7307 12.2717 4.71639 12.3159C4.70347 12.3559 4.69667 12.3983 4.69667 12.4413C4.69667 12.5318 4.72664 12.6194 4.78128 12.6886C4.809 12.7237 4.84218 12.7529 4.87906 12.7751C4.89416 12.7842 4.90993 12.7921 4.92619 12.7988C4.94833 12.8079 4.97137 12.8147 4.99503 12.8189H8.38368V13.5742H4.99503C4.95275 13.5819 4.91242 13.5975 4.87584 13.62C4.8403 13.642 4.80822 13.6705 4.78128 13.7046C4.72664 13.7737 4.69667 13.8613 4.69667 13.9519C4.69667 14.0424 4.72664 14.13 4.78128 14.1992C4.83587 14.2683 4.91163 14.3145 4.99503 14.3295H8.38368V15.0741H4.99497C4.94644 15.0829 4.90047 15.1022 4.85977 15.1304C4.83878 15.145 4.81919 15.162 4.80136 15.1811C4.79439 15.1885 4.78765 15.1964 4.78122 15.2045C4.77188 15.2163 4.76327 15.2287 4.75539 15.2416C4.74441 15.2594 4.73495 15.2781 4.727 15.2975C4.71924 15.3163 4.71293 15.3358 4.70808 15.3558C4.70407 15.3723 4.7011 15.389 4.69922 15.4061C4.69752 15.4212 4.69667 15.4364 4.69667 15.4518C4.69667 15.5423 4.72664 15.6299 4.78122 15.6991C4.83587 15.7682 4.91157 15.8144 4.99497 15.8295H8.38368V16.5847H4.99497C4.91157 16.5998 4.83587 16.6459 4.78122 16.7151C4.72664 16.7842 4.69667 16.8718 4.69667 16.9624C4.69667 17.0529 4.72664 17.1405 4.78122 17.2097C4.83587 17.2788 4.91157 17.325 4.99497 17.34H9.54637C9.58655 17.3328 9.62496 17.3183 9.66008 17.2975H13.571ZM15.7573 4.52124L18.3609 7.30839C18.3758 7.32612 18.3858 7.34796 18.3897 7.37145C18.3937 7.39493 18.3914 7.41913 18.3831 7.44128C18.3748 7.46343 18.3609 7.48266 18.3429 7.49678C18.325 7.51089 18.3036 7.51934 18.2814 7.52115H15.7275L15.5585 7.34031V4.60634C15.5602 4.58255 15.5681 4.55975 15.5813 4.54051C15.5945 4.52128 15.6125 4.50639 15.6332 4.49753C15.6539 4.48867 15.6765 4.48619 15.6984 4.49038C15.7203 4.49457 15.7407 4.50526 15.7573 4.52124ZM14.1248 5.91437C14.1732 5.97391 14.2021 6.04884 14.2071 6.1276C14.2157 6.17377 14.2155 6.22129 14.2065 6.26739C14.2045 6.27778 14.2021 6.28804 14.1992 6.29817L14.1944 6.31388C14.1847 6.34291 14.1715 6.3705 14.1551 6.39595C14.13 6.43465 14.098 6.46757 14.0608 6.49276C14.0354 6.5099 14.008 6.52328 13.9794 6.53244C13.9661 6.53672 13.9525 6.5401 13.9387 6.5425H9.71529C9.62309 6.5425 9.5346 6.50328 9.4694 6.43342C9.40413 6.36362 9.3675 6.26889 9.3675 6.17013C9.3675 6.07144 9.40413 5.97671 9.4694 5.90691C9.5346 5.83704 9.62309 5.79783 9.71529 5.79783H13.9387C13.9718 5.80516 14.0034 5.81769 14.0326 5.83484C14.0672 5.85522 14.0984 5.88204 14.1248 5.91437ZM14.2667 7.29776H9.72529C9.69606 7.30302 9.66773 7.31211 9.64092 7.3247C9.62612 7.33171 9.61175 7.33977 9.59798 7.34879C9.56565 7.36996 9.53642 7.39664 9.51155 7.42813C9.4569 7.49722 9.42694 7.58487 9.42694 7.67538C9.42694 7.70155 9.42942 7.72752 9.43434 7.75285C9.44635 7.81505 9.47273 7.87355 9.51155 7.9227C9.55292 7.9751 9.60647 8.01432 9.66628 8.03678C9.67762 8.04107 9.6892 8.04477 9.70097 8.04775C9.70898 8.04983 9.71711 8.05158 9.72529 8.05308H14.2667C14.3546 8.04756 14.437 8.00555 14.4964 7.93601C14.5558 7.86647 14.5875 7.77492 14.5847 7.68071C14.5874 7.63318 14.5813 7.58559 14.5667 7.54059C14.5522 7.4956 14.5296 7.45417 14.5 7.41859C14.4704 7.38301 14.4346 7.35398 14.3946 7.33327C14.3546 7.31256 14.3111 7.30048 14.2667 7.29776ZM4.99497 18.84H12.786C12.8783 18.84 12.9667 18.8008 13.032 18.731C13.0972 18.6611 13.1338 18.5664 13.1338 18.4677C13.1338 18.3689 13.0972 18.2742 13.032 18.2044C12.9667 18.1346 12.8783 18.0954 12.786 18.0954H4.99497C4.90277 18.0954 4.81428 18.1346 4.74908 18.2044C4.68381 18.2742 4.64718 18.3689 4.64718 18.4677C4.64718 18.5664 4.68381 18.6611 4.74908 18.731C4.81428 18.8008 4.90277 18.84 4.99497 18.84ZM17.5858 12.7444H19.5733H19.623C19.7249 12.7499 19.821 12.7971 19.8913 12.8764C19.9616 12.9556 20.0007 13.0607 20.0006 13.17V13.8295C20.0007 13.8458 19.9976 13.862 19.9914 13.8769C19.9853 13.8918 19.9764 13.9052 19.9652 13.9163C19.9539 13.9273 19.9407 13.9357 19.9262 13.9409C19.9118 13.9461 19.8965 13.948 19.8814 13.9465H13.7797C13.7507 13.9465 13.7229 13.9342 13.7024 13.9123C13.6819 13.8903 13.6704 13.8606 13.6704 13.8295V13.17C13.6677 13.0617 13.7046 12.9566 13.7733 12.8771C13.842 12.7976 13.9371 12.75 14.0381 12.7444H16.0256V12.5104C16.0352 12.439 16.0687 12.3737 16.1199 12.3268C16.1711 12.2798 16.2365 12.2544 16.3039 12.2551H17.2976C17.3667 12.2517 17.4345 12.276 17.4878 12.3232C17.541 12.3704 17.576 12.4371 17.5858 12.5104V12.7444ZM14.0679 19.4251V14.1912H19.5037V19.4251C19.4935 19.585 19.4256 19.7344 19.3143 19.8416C19.203 19.9488 19.0571 20.0055 18.9075 19.9996H14.6642C14.5146 20.0055 14.3687 19.9488 14.2574 19.8416C14.1461 19.7344 14.0781 19.585 14.0679 19.4251ZM15.5983 15.1593H15.2505C15.0969 15.1593 14.9723 15.2926 14.9723 15.4572V18.7336C14.9723 18.8981 15.0969 19.0315 15.2505 19.0315H15.5983C15.752 19.0315 15.8766 18.8981 15.8766 18.7336V15.4572C15.8766 15.2926 15.752 15.1593 15.5983 15.1593ZM16.9598 15.1593H16.612C16.4583 15.1593 16.3337 15.2926 16.3337 15.4572V18.7336C16.3337 18.8981 16.4583 19.0315 16.612 19.0315H16.9598C17.1135 19.0315 17.238 18.8981 17.238 18.7336V15.4572C17.238 15.2926 17.1135 15.1593 16.9598 15.1593ZM17.9635 15.1593H18.3113C18.465 15.1593 18.5895 15.2926 18.5895 15.4572V18.7336C18.5895 18.8981 18.465 19.0315 18.3113 19.0315H17.9635C17.8098 19.0315 17.6852 18.8981 17.6852 18.7336V15.4572C17.6852 15.2926 17.8098 15.1593 17.9635 15.1593Z",acceptSingleChange:"M17.2 20H15.6628L17.33 18.3091V19.87C17.33 19.8871 17.3266 19.904 17.3201 19.9197C17.3136 19.9355 17.304 19.9499 17.2919 19.9619C17.2799 19.974 17.2655 19.9836 17.2497 19.9901C17.234 19.9966 17.2171 20 17.2 20ZM4.13 20H14.4978L14.1823 19.6791L13.5135 18.9904L13.5123 18.9891L13.0529 18.52H5C4.87537 18.52 4.75586 18.4705 4.66766 18.3823C4.57953 18.2942 4.53003 18.1747 4.53003 18.05C4.53003 17.9253 4.57953 17.8058 4.66766 17.7177C4.75586 17.6295 4.87537 17.58 5 17.58H12.1323L11.6235 17.0604L11.6231 16.48L12.8831 15.19L13.4765 15.1896L15.0807 16.8276L17.33 14.5413V9.3H13.28C13.207 9.30976 13.133 9.30976 13.06 9.3C12.7697 9.22119 12.5113 9.05343 12.3212 8.82027C12.1311 8.58711 12.0187 8.30026 12 8V4H4.13C4.09552 4 4.06246 4.0137 4.03808 4.03808C4.0137 4.06246 4 4.09552 4 4.13V19.87C4 19.9045 4.0137 19.9375 4.03808 19.9619C4.06246 19.9863 4.09552 20 4.13 20ZM13.1 4.65L16.6 8.15C16.6212 8.17232 16.6355 8.20028 16.6412 8.23051C16.6469 8.26075 16.6437 8.29199 16.6321 8.32048C16.6205 8.34898 16.6009 8.37352 16.5757 8.39117C16.5505 8.40882 16.5208 8.41883 16.49 8.42H13.06L12.83 8.19V4.76C12.8312 4.72925 12.8412 4.6995 12.8588 4.67429C12.8765 4.64909 12.901 4.62951 12.9295 4.6179C12.958 4.6063 12.9893 4.60315 13.0195 4.60884C13.0497 4.61453 13.0777 4.62882 13.1 4.65ZM11 6.72C11.0027 6.66089 10.9937 6.60184 10.9735 6.5462C10.9534 6.49057 10.9224 6.43948 10.8825 6.39581C10.8425 6.35217 10.7944 6.3168 10.7408 6.29178C10.6871 6.26678 10.6292 6.25256 10.57 6.25H5C4.88239 6.25772 4.77252 6.31131 4.69397 6.39917C4.61542 6.48706 4.57452 6.60226 4.58002 6.72C4.57452 6.83774 4.61542 6.95294 4.69397 7.04083C4.77252 7.12869 4.88239 7.18228 5 7.19H10.6C10.7141 7.1774 10.8189 7.12173 10.8933 7.03436C10.9677 6.94702 11.0058 6.83456 11 6.72ZM11.1 8.14001H5C4.87537 8.14001 4.75586 8.18954 4.66766 8.27768C4.57953 8.36581 4.53003 8.48535 4.53003 8.61002C4.53003 8.73468 4.57953 8.85422 4.66766 8.94235C4.71558 8.99023 4.77277 9.02673 4.83496 9.05008C4.86932 9.06296 4.90521 9.07184 4.94189 9.07642C4.96106 9.0788 4.98047 9.08002 5 9.08002H11.1C11.2247 9.08002 11.3442 9.03049 11.4324 8.94235C11.5205 8.85422 11.57 8.73468 11.57 8.61002C11.57 8.48535 11.5205 8.36581 11.4324 8.27768C11.3442 8.18954 11.2247 8.14001 11.1 8.14001ZM5 11H15.45C15.5826 11 15.7098 10.9473 15.8035 10.8535C15.8973 10.7598 15.95 10.6326 15.95 10.5C15.95 10.3674 15.8973 10.2402 15.8035 10.1465C15.7098 10.0527 15.5826 10 15.45 10H5C4.86737 10 4.74023 10.0527 4.64642 10.1465C4.55267 10.2402 4.5 10.3674 4.5 10.5C4.5 10.6326 4.55267 10.7598 4.64642 10.8535C4.74023 10.9473 4.86737 11 5 11ZM5 12.86H11.1C11.2211 12.8523 11.3346 12.798 11.4166 12.7085C11.4986 12.6191 11.5428 12.5013 11.54 12.38C11.5427 12.2597 11.4982 12.1431 11.416 12.0552C11.3337 11.9673 11.2203 11.9152 11.1 11.91H5C4.94086 11.9126 4.88287 11.9268 4.82922 11.9518C4.77563 11.9768 4.72748 12.0122 4.6875 12.0558C4.65833 12.0878 4.63391 12.1237 4.61505 12.1624C4.60809 12.1767 4.60193 12.1913 4.5965 12.2062C4.58264 12.2443 4.5741 12.2841 4.57092 12.3243C4.56946 12.3428 4.56915 12.3614 4.57001 12.38C4.56451 12.5004 4.60651 12.6181 4.68689 12.7079C4.76733 12.7976 4.87976 12.8523 5 12.86ZM15.45 14.74H5C4.87537 14.74 4.75586 14.6905 4.66766 14.6023C4.57953 14.5142 4.53003 14.3947 4.53003 14.27C4.53003 14.1453 4.57953 14.0258 4.66766 13.9377C4.75586 13.8495 4.87537 13.8 5 13.8H15.45C15.5747 13.8 15.6942 13.8495 15.7823 13.9377C15.8705 14.0258 15.92 14.1453 15.92 14.27C15.92 14.3947 15.8705 14.5142 15.7823 14.6023C15.6942 14.6905 15.5747 14.74 15.45 14.74ZM11.1 16.63H5C4.87537 16.63 4.75586 16.5805 4.66766 16.4923C4.57953 16.4042 4.53003 16.2846 4.53003 16.16C4.53003 16.0353 4.57953 15.9158 4.66766 15.8276C4.75586 15.7395 4.87537 15.69 5 15.69H11.1C11.2247 15.69 11.3442 15.7395 11.4324 15.8276C11.5205 15.9158 11.57 16.0353 11.57 16.16C11.57 16.2846 11.5205 16.4042 11.4324 16.4923C11.3442 16.5805 11.2247 16.63 11.1 16.63ZM18.73 13.71L20 15.01L15.08 20L15.07 19.99L14.48 19.39L13.81 18.7L11.92 16.77L13.18 15.48L15.08 17.42L18.73 13.71Z",rejectSingleChange:"M17.0495 11.5C17.1461 11.5 17.241 11.5173 17.33 11.5501V9.3H13.28C13.207 9.30976 13.133 9.30976 13.06 9.3C12.7697 9.22119 12.5113 9.05343 12.3212 8.82027C12.1311 8.58711 12.0187 8.30026 12 8V4H4.13C4.09552 4 4.06246 4.0137 4.03808 4.03808C4.0137 4.06246 4 4.09552 4 4.13V19.87C4 19.9045 4.0137 19.9375 4.03808 19.9619C4.06246 19.9863 4.09552 20 4.13 20H13.2305C13.1075 19.8287 13.0338 19.6249 13.0205 19.4112L13.0195 19.3956V18.52H5C4.87537 18.52 4.75586 18.4705 4.66772 18.3823C4.57959 18.2942 4.53003 18.1747 4.53003 18.05C4.53003 18.0119 4.53467 17.9742 4.54358 17.9378C4.56396 17.8552 4.60657 17.7788 4.66772 17.7177C4.75586 17.6295 4.87537 17.58 5 17.58H13.0195V14.74H5C4.87537 14.74 4.75586 14.6905 4.66772 14.6023C4.57959 14.5142 4.53003 14.3947 4.53003 14.27C4.53003 14.1453 4.57959 14.0258 4.66772 13.9377C4.75586 13.8495 4.87537 13.8 5 13.8H12.8393C12.6229 13.6377 12.4998 13.3897 12.4998 13.1032C12.4997 12.8414 12.6008 12.5847 12.7513 12.3911C12.9 12.1998 13.1561 12 13.4994 12L15.2519 12C15.2928 11.8972 15.3589 11.7915 15.4649 11.6992C15.6135 11.5698 15.8041 11.499 16.0011 11.5H17.0495ZM13.1 4.65L16.6 8.15C16.6211 8.17232 16.6354 8.20028 16.6411 8.23051C16.6468 8.26075 16.6437 8.29199 16.6321 8.32048C16.6204 8.34898 16.6009 8.37352 16.5757 8.39117C16.5505 8.40882 16.5207 8.41883 16.49 8.42H13.06L12.83 8.19V4.76C12.8311 4.72925 12.8411 4.6995 12.8588 4.67429C12.8764 4.64909 12.901 4.62951 12.9295 4.6179C12.958 4.6063 12.9892 4.60315 13.0194 4.60884C13.0497 4.61453 13.0776 4.62882 13.1 4.65ZM11 6.72C11.0027 6.66089 10.9937 6.60184 10.9735 6.5462C10.9716 6.5408 10.9695 6.53543 10.9673 6.53012C10.9626 6.51852 10.9575 6.50717 10.9518 6.49603C10.9406 6.47391 10.9275 6.45273 10.9127 6.43274C10.9033 6.41992 10.8932 6.40759 10.8824 6.39581C10.8425 6.35217 10.7943 6.3168 10.7407 6.29178C10.6871 6.26678 10.629 6.25256 10.5699 6.25H5C4.88232 6.25772 4.77246 6.31131 4.69397 6.39917C4.61536 6.48706 4.57446 6.60226 4.57996 6.72C4.57715 6.7811 4.58679 6.84152 4.60767 6.8978C4.61523 6.91803 4.62415 6.93771 4.63452 6.9567C4.65088 6.98669 4.67078 7.01495 4.69397 7.04083C4.77246 7.12869 4.88232 7.18228 5 7.19H10.6C10.714 7.1774 10.8188 7.12173 10.8932 7.03436C10.922 7.00049 10.9454 6.96283 10.9629 6.92273C10.9725 6.9006 10.9805 6.87775 10.9865 6.8544C10.9933 6.82791 10.9977 6.80075 10.9995 6.77325C11.0001 6.76453 11.0004 6.75574 11.0005 6.74695C11.0006 6.73798 11.0005 6.729 11 6.72ZM11.1 8.14001H5C4.97534 8.14001 4.95081 8.14194 4.92676 8.14575C4.89587 8.15063 4.8656 8.15857 4.83643 8.1694C4.77368 8.19272 4.71606 8.2294 4.66772 8.27768C4.57959 8.36581 4.53003 8.48535 4.53003 8.61002C4.53003 8.73468 4.57959 8.85422 4.66772 8.94235C4.75586 9.03049 4.87537 9.08002 5 9.08002H11.1C11.2247 9.08002 11.3442 9.03049 11.4324 8.94235C11.4617 8.91306 11.4867 8.88028 11.5071 8.845C11.5349 8.79691 11.554 8.74414 11.5634 8.68915C11.5677 8.66318 11.5701 8.63672 11.5701 8.61002C11.5701 8.48535 11.5205 8.36581 11.4324 8.27768C11.3929 8.23831 11.3474 8.20663 11.2979 8.18365C11.2365 8.15518 11.1689 8.14001 11.1 8.14001ZM5 11H15.45C15.5826 11 15.7098 10.9473 15.8036 10.8535C15.8973 10.7598 15.95 10.6326 15.95 10.5C15.95 10.3674 15.8973 10.2402 15.8036 10.1465C15.7098 10.0527 15.5826 10 15.45 10H5C4.86743 10 4.74023 10.0527 4.64648 10.1465C4.55273 10.2402 4.5 10.3674 4.5 10.5C4.5 10.6326 4.55273 10.7598 4.64648 10.8535C4.74023 10.9473 4.86743 11 5 11ZM5 12.86H11.1C11.2211 12.8523 11.3346 12.798 11.4166 12.7085C11.4987 12.6191 11.5428 12.5013 11.54 12.38C11.5427 12.2597 11.4982 12.1431 11.4159 12.0552C11.3336 11.9673 11.2202 11.9152 11.1 11.91H5C4.94092 11.9126 4.88281 11.9268 4.82922 11.9518C4.77563 11.9768 4.72742 12.0122 4.6875 12.0558C4.64758 12.0995 4.6167 12.1506 4.59644 12.2062C4.58899 12.2266 4.58313 12.2475 4.57874 12.2687C4.57129 12.3052 4.56824 12.3426 4.56995 12.38C4.56445 12.5004 4.60645 12.6181 4.68689 12.7079C4.76733 12.7976 4.87976 12.8523 5 12.86ZM11.1 16.63H5C4.87537 16.63 4.75586 16.5805 4.66772 16.4923C4.57959 16.4042 4.53003 16.2846 4.53003 16.16C4.53003 16.0353 4.57959 15.9158 4.66772 15.8276C4.75586 15.7395 4.87537 15.69 5 15.69H11.1C11.2247 15.69 11.3442 15.7395 11.4324 15.8276C11.5205 15.9158 11.5701 16.0353 11.5701 16.16C11.5701 16.2846 11.5205 16.4042 11.4324 16.4923C11.3442 16.5805 11.2247 16.63 11.1 16.63ZM19.59 12.53H17.36V12.3C17.3574 12.2195 17.3236 12.1432 17.2657 12.0872C17.2078 12.0313 17.1305 12 17.05 12H16C15.9242 11.9994 15.8509 12.0265 15.7938 12.0762C15.7367 12.126 15.6997 12.1949 15.69 12.27V12.5H13.44C13.3768 12.4994 13.3142 12.5125 13.2565 12.5382C13.1988 12.564 13.1473 12.6019 13.1055 12.6493C13.0638 12.6968 13.0327 12.7526 13.0145 12.8132C12.9963 12.8737 12.9913 12.9374 13 13V13.67C13 13.6871 13.0033 13.704 13.0099 13.7198C13.0164 13.7355 13.026 13.7499 13.038 13.7619C13.0501 13.774 13.0644 13.7836 13.0802 13.7901C13.096 13.7966 13.1129 13.8 13.13 13.8H19.84C19.8611 13.8054 19.8834 13.8054 19.9045 13.8C19.9257 13.7946 19.9452 13.7839 19.9611 13.7689C19.9771 13.754 19.989 13.7352 19.9958 13.7144C20.0026 13.6937 20.004 13.6715 20 13.65V13C20.0028 12.8866 19.9617 12.7765 19.8853 12.6927C19.809 12.6088 19.7031 12.5577 19.59 12.55V12.53ZM13.52 14V19.38C13.5303 19.5454 13.6054 19.7 13.7289 19.8105C13.8525 19.9209 14.0145 19.9782 14.18 19.97H18.84C19.0055 19.9782 19.1676 19.9209 19.2911 19.8105C19.4146 19.7 19.4897 19.5454 19.5 19.38V14H13.52ZM15.52 18.67C15.52 18.7522 15.4874 18.8311 15.4292 18.8892C15.3711 18.9473 15.2922 18.98 15.21 18.98H14.83C14.7478 18.98 14.669 18.9473 14.6108 18.8892C14.5527 18.8311 14.52 18.7522 14.52 18.67V15.33C14.52 15.2893 14.528 15.249 14.5436 15.2114C14.5592 15.1738 14.582 15.1396 14.6108 15.1108C14.6396 15.082 14.6738 15.0592 14.7114 15.0436C14.749 15.028 14.7893 15.02 14.83 15.02H15.21C15.2507 15.02 15.291 15.028 15.3287 15.0436C15.3663 15.0592 15.4004 15.082 15.4292 15.1108C15.458 15.1396 15.4808 15.1738 15.4964 15.2114C15.512 15.249 15.52 15.2893 15.52 15.33V18.67ZM17.01 18.67C17.01 18.7522 16.9774 18.8311 16.9192 18.8892C16.8611 18.9473 16.7822 18.98 16.7 18.98H16.32C16.2798 18.98 16.2399 18.9719 16.2029 18.9562C16.1658 18.9405 16.1323 18.9176 16.1043 18.8886C16.0763 18.8597 16.0544 18.8254 16.0399 18.7879C16.0254 18.7503 16.0187 18.7102 16.02 18.67V15.33C16.0187 15.2898 16.0254 15.2497 16.0399 15.2121C16.0544 15.1746 16.0763 15.1403 16.1043 15.1114C16.1323 15.0824 16.1658 15.0595 16.2029 15.0438C16.2399 15.0281 16.2798 15.02 16.32 15.02H16.7C16.7407 15.02 16.781 15.028 16.8187 15.0436C16.8563 15.0592 16.8904 15.082 16.9192 15.1108C16.948 15.1396 16.9708 15.1738 16.9864 15.2114C17.002 15.249 17.01 15.2893 17.01 15.33V18.67ZM18.51 18.67C18.51 18.7107 18.502 18.751 18.4864 18.7886C18.4708 18.8262 18.448 18.8604 18.4192 18.8892C18.3904 18.918 18.3563 18.9408 18.3187 18.9564C18.281 18.972 18.2407 18.98 18.2 18.98H17.82C17.7378 18.98 17.659 18.9473 17.6008 18.8892C17.5427 18.8311 17.51 18.7522 17.51 18.67V15.33C17.51 15.2893 17.518 15.249 17.5336 15.2114C17.5492 15.1738 17.572 15.1396 17.6008 15.1108C17.6296 15.082 17.6638 15.0592 17.7014 15.0436C17.739 15.028 17.7793 15.02 17.82 15.02H18.2C18.2407 15.02 18.281 15.028 18.3187 15.0436C18.3563 15.0592 18.3904 15.082 18.4192 15.1108C18.448 15.1396 18.4708 15.1738 18.4864 15.2114C18.502 15.249 18.51 15.2893 18.51 15.33V18.67Z"},xt.FILEICONS={docIcon:{extension:".doc",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.617188 46.875 C 13.234375 46.875 16.160156 43.929688 16.160156 40.292969 C 16.160156 36.695312 13.234375 33.75 9.617188 33.75 L 7.402344 33.75 C 6.820312 33.75 6.371094 34.199219 6.371094 34.78125 L 6.371094 45.84375 C 6.371094 46.335938 6.714844 46.757812 7.191406 46.855469 L 7.402344 46.875 Z M 9.617188 44.792969 L 8.453125 44.792969 L 8.453125 35.832031 L 9.617188 35.832031 C 12.089844 35.832031 14.078125 37.835938 14.078125 40.292969 C 14.078125 42.789062 12.089844 44.773438 9.617188 44.792969 Z M 24.816406 46.875 C 26.539062 46.875 28.191406 46.085938 29.296875 44.867188 C 30.460938 43.648438 31.191406 41.980469 31.191406 40.125 C 31.191406 38.269531 30.460938 36.617188 29.296875 35.382812 C 28.191406 34.144531 26.539062 33.375 24.816406 33.375 C 23.015625 33.375 21.367188 34.144531 20.222656 35.382812 C 19.058594 36.617188 18.367188 38.269531 18.367188 40.125 C 18.367188 41.980469 19.058594 43.648438 20.222656 44.867188 C 21.367188 46.085938 23.015625 46.875 24.816406 46.875 Z M 24.816406 44.738281 C 23.617188 44.738281 22.566406 44.230469 21.777344 43.386719 C 20.992188 42.582031 20.503906 41.398438 20.503906 40.125 C 20.503906 38.851562 20.992188 37.667969 21.777344 36.84375 C 22.566406 36 23.617188 35.511719 24.816406 35.511719 C 25.941406 35.511719 26.992188 36 27.777344 36.84375 C 28.546875 37.667969 29.054688 38.851562 29.054688 40.125 C 29.054688 41.398438 28.546875 42.582031 27.777344 43.386719 C 26.992188 44.230469 25.941406 44.738281 24.816406 44.738281 Z M 39.996094 46.875 C 41.648438 46.875 43.148438 46.332031 44.328125 45.414062 C 44.777344 45.054688 44.851562 44.382812 44.515625 43.914062 C 44.140625 43.460938 43.445312 43.386719 43.015625 43.707031 C 42.171875 44.382812 41.160156 44.738281 39.996094 44.738281 C 38.703125 44.738281 37.503906 44.210938 36.621094 43.386719 C 35.777344 42.5625 35.253906 41.398438 35.253906 40.125 C 35.253906 38.851562 35.777344 37.726562 36.621094 36.863281 C 37.503906 36.039062 38.703125 35.511719 39.996094 35.511719 C 41.160156 35.511719 42.191406 35.867188 43.015625 36.542969 C 43.445312 36.882812 44.140625 36.804688 44.515625 36.335938 C 44.851562 35.867188 44.777344 35.210938 44.328125 34.835938 C 43.148438 33.917969 41.648438 33.375 39.996094 33.375 C 36.246094 33.394531 33.132812 36.414062 33.117188 40.125 C 33.132812 43.855469 36.246094 46.875 39.996094 46.875 Z M 39.996094 46.875 "/>\n </g>'},gifIcon:{extension:".gif",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.394531 46.875 C 18.988281 46.875 20.46875 46.332031 21.648438 45.414062 C 21.835938 45.28125 21.949219 45.132812 22.003906 44.960938 L 22.003906 44.945312 C 22.023438 44.90625 22.023438 44.886719 22.042969 44.851562 C 22.0625 44.738281 22.097656 44.664062 22.097656 44.53125 L 22.097656 40.386719 C 22.097656 39.789062 21.613281 39.335938 21.011719 39.335938 L 17.28125 39.335938 C 16.699219 39.335938 16.210938 39.789062 16.210938 40.386719 C 16.210938 40.96875 16.699219 41.457031 17.28125 41.457031 L 19.960938 41.457031 L 19.960938 44.023438 C 19.210938 44.457031 18.332031 44.738281 17.394531 44.738281 C 16.042969 44.738281 14.863281 44.230469 14.019531 43.367188 C 13.136719 42.523438 12.613281 41.382812 12.613281 40.144531 C 12.613281 38.867188 13.136719 37.726562 14.019531 36.882812 C 14.863281 36.019531 16.042969 35.511719 17.394531 35.511719 C 18.519531 35.511719 19.550781 35.90625 20.355469 36.523438 C 20.824219 36.898438 21.519531 36.804688 21.875 36.355469 C 22.230469 35.886719 22.15625 35.195312 21.667969 34.835938 C 20.503906 33.917969 18.988281 33.375 17.394531 33.375 C 13.585938 33.375 10.472656 36.375 10.472656 40.144531 C 10.472656 43.894531 13.585938 46.875 17.394531 46.875 Z M 26.945312 46.875 C 27.507812 46.875 27.996094 46.425781 27.996094 45.84375 L 27.996094 34.78125 C 27.996094 34.199219 27.507812 33.75 26.945312 33.75 C 26.363281 33.75 25.914062 34.199219 25.914062 34.78125 L 25.914062 45.84375 C 25.914062 46.425781 26.363281 46.875 26.945312 46.875 Z M 33.066406 46.875 C 33.648438 46.875 34.117188 46.40625 34.117188 45.84375 L 34.117188 41.34375 L 38.488281 41.34375 C 39.050781 41.34375 39.519531 40.875 39.519531 40.292969 C 39.519531 39.75 39.050781 39.261719 38.488281 39.261719 L 34.117188 39.261719 L 34.117188 35.832031 L 39.199219 35.832031 C 39.742188 35.832031 40.230469 35.363281 40.230469 34.78125 C 40.230469 34.21875 39.742188 33.75 39.199219 33.75 L 33.066406 33.75 C 32.488281 33.75 32.035156 34.21875 32.035156 34.78125 L 32.035156 45.84375 C 32.035156 46.40625 32.488281 46.875 33.066406 46.875 Z M 33.066406 46.875 "/>\n </g>'},jpegIcon:{extension:".jpeg",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9 43.75 C 11.140625 43.75 12.890625 42.015625 12.890625 39.875 L 12.890625 33.671875 C 12.890625 33.1875 12.5 32.8125 12.03125 32.8125 C 11.546875 32.8125 11.15625 33.1875 11.15625 33.671875 L 11.15625 39.875 C 11.15625 41.046875 10.1875 42.015625 9 42.015625 C 8.046875 42.015625 7.234375 41.390625 6.953125 40.53125 C 6.8125 40.078125 6.328125 39.828125 5.859375 39.984375 C 5.421875 40.109375 5.15625 40.59375 5.3125 41.0625 C 5.8125 42.625 7.28125 43.75 9 43.75 Z M 15.640625 43.75 C 16.125 43.75 16.515625 43.359375 16.515625 42.890625 L 16.515625 39.5 L 18.4375 39.5 C 20.296875 39.5 21.796875 38 21.796875 36.171875 C 21.796875 34.3125 20.296875 32.8125 18.4375 32.8125 L 15.640625 32.8125 C 15.171875 32.8125 14.78125 33.1875 14.78125 33.671875 L 14.78125 42.890625 C 14.78125 43.359375 15.171875 43.75 15.640625 43.75 Z M 18.4375 37.765625 L 16.515625 37.765625 L 16.515625 34.546875 L 18.4375 34.546875 C 19.34375 34.546875 20.046875 35.265625 20.0625 36.171875 C 20.046875 37.046875 19.34375 37.765625 18.4375 37.765625 Z M 29.234375 43.75 C 29.6875 43.75 30.09375 43.359375 30.09375 42.890625 C 30.09375 42.40625 29.6875 42.015625 29.234375 42.015625 L 25 42.015625 L 25 39.140625 L 28.640625 39.140625 C 29.109375 39.140625 29.5 38.75 29.5 38.265625 C 29.5 37.8125 29.109375 37.40625 28.640625 37.40625 L 25 37.40625 L 25 34.546875 L 29.234375 34.546875 C 29.6875 34.546875 30.09375 34.15625 30.09375 33.671875 C 30.09375 33.1875 29.6875 32.8125 29.234375 32.8125 L 24.125 32.8125 C 23.640625 32.8125 23.265625 33.1875 23.265625 33.671875 L 23.265625 42.890625 C 23.265625 43.359375 23.640625 43.75 24.125 43.75 C 24.125 43.75 24.140625 43.734375 24.140625 43.734375 C 24.140625 43.734375 24.140625 43.75 24.171875 43.75 Z M 37.1875 43.75 C 38.515625 43.75 39.75 43.296875 40.734375 42.53125 C 40.890625 42.421875 40.984375 42.296875 41.03125 42.15625 L 41.03125 42.140625 C 41.046875 42.109375 41.046875 42.09375 41.0625 42.0625 C 41.078125 41.96875 41.109375 41.90625 41.109375 41.796875 L 41.109375 38.34375 C 41.109375 37.914062 40.8125 37.578125 40.410156 37.492188 L 40.203125 37.46875 L 37.09375 37.46875 C 36.609375 37.46875 36.203125 37.84375 36.203125 38.34375 C 36.203125 38.828125 36.609375 39.234375 37.09375 39.234375 L 39.328125 39.234375 L 39.328125 41.375 C 38.703125 41.734375 37.96875 41.96875 37.1875 41.96875 C 36.0625 41.96875 35.078125 41.546875 34.375 40.828125 C 33.640625 40.125 33.203125 39.171875 33.203125 38.140625 C 33.203125 37.078125 33.640625 36.125 34.375 35.421875 C 35.078125 34.703125 36.0625 34.28125 37.1875 34.28125 C 38.125 34.28125 38.984375 34.609375 39.65625 35.125 C 40.046875 35.4375 40.625 35.359375 40.921875 34.984375 C 41.21875 34.59375 41.15625 34.015625 40.75 33.71875 C 39.78125 32.953125 38.515625 32.5 37.1875 32.5 C 34.015625 32.5 31.421875 35 31.421875 38.140625 C 31.421875 41.265625 34.015625 43.75 37.1875 43.75 Z M 37.1875 43.75 "/>\n </g>'},logIcon:{extension:".log",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.542969 46.875 C 14.085938 46.875 14.574219 46.40625 14.574219 45.84375 C 14.574219 45.261719 14.085938 44.792969 13.542969 44.792969 L 8.460938 44.792969 L 8.460938 34.78125 C 8.460938 34.21875 7.992188 33.75 7.410156 33.75 C 6.828125 33.75 6.378906 34.21875 6.378906 34.78125 L 6.378906 45.84375 C 6.378906 46.40625 6.828125 46.875 7.410156 46.875 Z M 21.742188 46.875 C 23.46875 46.875 25.117188 46.085938 26.222656 44.867188 C 27.386719 43.648438 28.117188 41.980469 28.117188 40.125 C 28.117188 38.269531 27.386719 36.617188 26.222656 35.382812 C 25.117188 34.144531 23.46875 33.375 21.742188 33.375 C 19.941406 33.375 18.292969 34.144531 17.148438 35.382812 C 15.984375 36.617188 15.292969 38.269531 15.292969 40.125 C 15.292969 41.980469 15.984375 43.648438 17.148438 44.867188 C 18.292969 46.085938 19.941406 46.875 21.742188 46.875 Z M 21.742188 44.738281 C 20.542969 44.738281 19.492188 44.230469 18.703125 43.386719 C 17.917969 42.582031 17.429688 41.398438 17.429688 40.125 C 17.429688 38.851562 17.917969 37.667969 18.703125 36.84375 C 19.492188 36 20.542969 35.511719 21.742188 35.511719 C 22.867188 35.511719 23.917969 36 24.703125 36.84375 C 25.472656 37.667969 25.980469 38.851562 25.980469 40.125 C 25.980469 41.398438 25.472656 42.582031 24.703125 43.386719 C 23.917969 44.230469 22.867188 44.738281 21.742188 44.738281 Z M 37.300781 46.875 C 38.894531 46.875 40.375 46.332031 41.558594 45.414062 C 41.746094 45.28125 41.855469 45.132812 41.914062 44.960938 L 41.914062 44.945312 L 41.949219 44.851562 C 41.96875 44.738281 42.007812 44.664062 42.007812 44.53125 L 42.007812 40.386719 C 42.007812 39.789062 41.519531 39.335938 40.917969 39.335938 L 37.1875 39.335938 C 36.605469 39.335938 36.121094 39.789062 36.121094 40.386719 C 36.121094 40.96875 36.605469 41.457031 37.1875 41.457031 L 39.871094 41.457031 L 39.871094 44.023438 C 39.121094 44.457031 38.238281 44.738281 37.300781 44.738281 C 35.949219 44.738281 34.769531 44.230469 33.925781 43.367188 C 33.042969 42.523438 32.519531 41.382812 32.519531 40.144531 C 32.519531 38.867188 33.042969 37.726562 33.925781 36.882812 C 34.769531 36.019531 35.949219 35.511719 37.300781 35.511719 C 38.425781 35.511719 39.457031 35.90625 40.261719 36.523438 C 40.730469 36.898438 41.425781 36.804688 41.78125 36.355469 C 42.136719 35.886719 42.0625 35.195312 41.574219 34.835938 C 40.414062 33.917969 38.894531 33.375 37.300781 33.375 C 33.496094 33.375 30.382812 36.375 30.382812 40.144531 C 30.382812 43.894531 33.496094 46.875 37.300781 46.875 Z M 37.300781 46.875 "/>\n </g>'},movIcon:{extension:".mov",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 15.472656 46.875 C 16.035156 46.875 16.523438 46.40625 16.523438 45.84375 L 16.523438 34.78125 C 16.523438 34.289062 16.152344 33.882812 15.679688 33.777344 L 15.472656 33.75 L 15.453125 33.75 C 15.117188 33.75 14.816406 33.898438 14.609375 34.179688 L 10.878906 39.355469 L 7.148438 34.179688 C 6.960938 33.898438 6.625 33.75 6.324219 33.75 L 6.265625 33.75 C 5.703125 33.75 5.234375 34.21875 5.234375 34.78125 L 5.234375 45.84375 C 5.234375 46.40625 5.703125 46.875 6.265625 46.875 C 6.847656 46.875 7.316406 46.40625 7.316406 45.84375 L 7.316406 37.949219 L 10 41.699219 C 10.203125 41.980469 10.523438 42.132812 10.859375 42.132812 L 10.898438 42.132812 C 11.234375 42.132812 11.535156 41.980469 11.742188 41.699219 L 14.441406 37.949219 L 14.441406 45.84375 C 14.441406 46.40625 14.890625 46.875 15.472656 46.875 Z M 25.460938 46.875 C 27.1875 46.875 28.835938 46.085938 29.941406 44.867188 C 31.105469 43.648438 31.835938 41.980469 31.835938 40.125 C 31.835938 38.269531 31.105469 36.617188 29.941406 35.382812 C 28.835938 34.144531 27.1875 33.375 25.460938 33.375 C 23.660156 33.375 22.011719 34.144531 20.867188 35.382812 C 19.703125 36.617188 19.011719 38.269531 19.011719 40.125 C 19.011719 41.980469 19.703125 43.648438 20.867188 44.867188 C 22.011719 46.085938 23.660156 46.875 25.460938 46.875 Z M 25.460938 44.738281 C 24.261719 44.738281 23.210938 44.230469 22.421875 43.386719 C 21.636719 42.582031 21.148438 41.398438 21.148438 40.125 C 21.148438 38.851562 21.636719 37.667969 22.421875 36.84375 C 23.210938 36 24.261719 35.511719 25.460938 35.511719 C 26.585938 35.511719 27.636719 36 28.421875 36.84375 C 29.191406 37.667969 29.699219 38.851562 29.699219 40.125 C 29.699219 41.398438 29.191406 42.582031 28.421875 43.386719 C 27.636719 44.230469 26.585938 44.738281 25.460938 44.738281 Z M 38.683594 46.855469 L 38.71875 46.855469 C 38.777344 46.835938 38.8125 46.820312 38.871094 46.820312 C 38.886719 46.800781 38.886719 46.800781 38.90625 46.800781 C 38.964844 46.78125 39.019531 46.726562 39.058594 46.707031 L 39.09375 46.6875 L 39.207031 46.59375 C 39.226562 46.574219 39.226562 46.574219 39.246094 46.539062 L 39.339844 46.425781 C 39.355469 46.425781 39.355469 46.425781 39.355469 46.40625 C 39.394531 46.367188 39.414062 46.292969 39.433594 46.257812 L 44.0625 35.304688 C 44.269531 34.800781 44.027344 34.179688 43.5 33.976562 C 42.996094 33.75 42.375 33.992188 42.152344 34.519531 L 38.496094 43.199219 L 34.839844 34.519531 C 34.613281 33.992188 34.011719 33.75 33.507812 33.976562 C 32.964844 34.179688 32.71875 34.800781 32.945312 35.304688 L 37.539062 46.257812 C 37.574219 46.292969 37.613281 46.367188 37.632812 46.40625 C 37.632812 46.425781 37.652344 46.425781 37.652344 46.425781 C 37.667969 46.460938 37.707031 46.5 37.746094 46.539062 C 37.746094 46.574219 37.761719 46.574219 37.761719 46.59375 C 37.820312 46.632812 37.855469 46.648438 37.894531 46.6875 L 37.914062 46.6875 C 37.96875 46.726562 38.042969 46.78125 38.082031 46.800781 L 38.101562 46.800781 C 38.101562 46.800781 38.121094 46.800781 38.121094 46.820312 C 38.15625 46.820312 38.230469 46.835938 38.269531 46.855469 L 38.308594 46.855469 L 38.402344 46.871094 L 38.496094 46.875 C 38.550781 46.875 38.605469 46.875 38.683594 46.855469 Z M 38.683594 46.855469 "/>\n </g>'},ogvIcon:{extension:".ogv",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 11.511719 46.875 C 13.238281 46.875 14.886719 46.085938 15.996094 44.867188 C 17.15625 43.648438 17.886719 41.980469 17.886719 40.125 C 17.886719 38.269531 17.15625 36.617188 15.996094 35.382812 C 14.886719 34.144531 13.238281 33.375 11.511719 33.375 C 9.714844 33.375 8.0625 34.144531 6.917969 35.382812 C 5.757812 36.617188 5.0625 38.269531 5.0625 40.125 C 5.0625 41.980469 5.757812 43.648438 6.917969 44.867188 C 8.0625 46.085938 9.714844 46.875 11.511719 46.875 Z M 11.511719 44.738281 C 10.3125 44.738281 9.261719 44.230469 8.476562 43.386719 C 7.6875 42.582031 7.199219 41.398438 7.199219 40.125 C 7.199219 38.851562 7.6875 37.667969 8.476562 36.84375 C 9.261719 36 10.3125 35.511719 11.511719 35.511719 C 12.636719 35.511719 13.6875 36 14.476562 36.84375 C 15.246094 37.667969 15.75 38.851562 15.75 40.125 C 15.75 41.398438 15.246094 42.582031 14.476562 43.386719 C 13.6875 44.230469 12.636719 44.738281 11.511719 44.738281 Z M 27.25 46.875 C 28.84375 46.875 30.324219 46.332031 31.507812 45.414062 C 31.695312 45.28125 31.804688 45.132812 31.863281 44.960938 L 31.863281 44.945312 C 31.882812 44.90625 31.882812 44.886719 31.898438 44.851562 C 31.917969 44.738281 31.957031 44.664062 31.957031 44.53125 L 31.957031 40.386719 C 31.957031 39.789062 31.46875 39.335938 30.867188 39.335938 L 27.136719 39.335938 C 26.554688 39.335938 26.070312 39.789062 26.070312 40.386719 C 26.070312 40.96875 26.554688 41.457031 27.136719 41.457031 L 29.820312 41.457031 L 29.820312 44.023438 C 29.070312 44.457031 28.1875 44.738281 27.25 44.738281 C 25.898438 44.738281 24.71875 44.230469 23.875 43.367188 C 22.992188 42.523438 22.46875 41.382812 22.46875 40.144531 C 22.46875 38.867188 22.992188 37.726562 23.875 36.882812 C 24.71875 36.019531 25.898438 35.511719 27.25 35.511719 C 28.375 35.511719 29.40625 35.90625 30.210938 36.523438 C 30.679688 36.898438 31.375 36.804688 31.730469 36.355469 C 32.085938 35.886719 32.011719 35.195312 31.523438 34.835938 C 30.363281 33.917969 28.84375 33.375 27.25 33.375 C 23.445312 33.375 20.332031 36.375 20.332031 40.144531 C 20.332031 43.894531 23.445312 46.875 27.25 46.875 Z M 40.191406 46.855469 L 40.230469 46.855469 C 40.285156 46.835938 40.324219 46.820312 40.378906 46.820312 C 40.398438 46.800781 40.398438 46.800781 40.417969 46.800781 C 40.472656 46.78125 40.53125 46.726562 40.566406 46.707031 C 40.605469 46.6875 40.605469 46.6875 40.605469 46.6875 L 40.71875 46.59375 C 40.738281 46.574219 40.738281 46.574219 40.753906 46.539062 L 40.847656 46.425781 C 40.867188 46.425781 40.867188 46.425781 40.867188 46.40625 C 40.90625 46.367188 40.925781 46.292969 40.941406 46.257812 L 45.574219 35.304688 C 45.78125 34.800781 45.535156 34.179688 45.011719 33.976562 C 44.503906 33.75 43.886719 33.992188 43.660156 34.519531 L 40.003906 43.199219 L 36.347656 34.519531 C 36.125 33.992188 35.523438 33.75 35.019531 33.976562 C 34.472656 34.179688 34.230469 34.800781 34.457031 35.304688 L 39.050781 46.257812 C 39.085938 46.292969 39.125 46.367188 39.144531 46.40625 C 39.144531 46.425781 39.160156 46.425781 39.160156 46.425781 C 39.179688 46.460938 39.21875 46.5 39.253906 46.539062 C 39.253906 46.574219 39.273438 46.574219 39.273438 46.59375 C 39.332031 46.632812 39.367188 46.648438 39.40625 46.6875 L 39.425781 46.6875 C 39.480469 46.726562 39.554688 46.78125 39.59375 46.800781 L 39.613281 46.800781 C 39.613281 46.800781 39.628906 46.800781 39.628906 46.820312 C 39.667969 46.820312 39.742188 46.835938 39.78125 46.855469 L 39.816406 46.855469 L 39.910156 46.871094 L 40.003906 46.875 C 40.0625 46.875 40.117188 46.875 40.191406 46.855469 Z M 40.191406 46.855469 "/>\n </g>'},pngIcon:{extension:".png",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.523438 46.875 C 8.105469 46.875 8.574219 46.40625 8.574219 45.84375 L 8.574219 41.773438 L 10.878906 41.773438 C 13.109375 41.773438 14.910156 39.976562 14.910156 37.78125 C 14.910156 35.550781 13.109375 33.75 10.878906 33.75 L 7.523438 33.75 C 6.960938 33.75 6.492188 34.199219 6.492188 34.78125 L 6.492188 45.84375 C 6.492188 46.40625 6.960938 46.875 7.523438 46.875 Z M 10.878906 39.695312 L 8.574219 39.695312 L 8.574219 35.832031 L 10.878906 35.832031 C 11.964844 35.832031 12.808594 36.695312 12.828125 37.78125 C 12.808594 38.832031 11.964844 39.695312 10.878906 39.695312 Z M 26.75 46.875 C 27.3125 46.875 27.78125 46.40625 27.78125 45.84375 L 27.78125 34.949219 C 27.78125 34.40625 27.3125 33.9375 26.75 33.9375 C 26.1875 33.9375 25.738281 34.40625 25.738281 34.949219 L 25.738281 42.675781 L 19.679688 34.292969 C 19.363281 33.84375 18.722656 33.75 18.253906 34.070312 C 17.972656 34.273438 17.824219 34.613281 17.84375 34.929688 L 17.84375 45.84375 C 17.84375 46.40625 18.292969 46.875 18.875 46.875 C 19.417969 46.875 19.886719 46.40625 19.886719 45.84375 L 19.886719 38.0625 L 25.886719 46.386719 C 25.90625 46.425781 25.941406 46.460938 25.980469 46.5 C 26.167969 46.726562 26.449219 46.875 26.75 46.875 Z M 38.082031 46.875 C 39.675781 46.875 41.15625 46.332031 42.339844 45.414062 C 42.527344 45.28125 42.636719 45.132812 42.695312 44.960938 L 42.695312 44.945312 C 42.714844 44.90625 42.714844 44.886719 42.730469 44.851562 C 42.75 44.738281 42.789062 44.664062 42.789062 44.53125 L 42.789062 40.386719 C 42.789062 39.789062 42.300781 39.335938 41.699219 39.335938 L 37.96875 39.335938 C 37.386719 39.335938 36.902344 39.789062 36.902344 40.386719 C 36.902344 40.96875 37.386719 41.457031 37.96875 41.457031 L 40.652344 41.457031 L 40.652344 44.023438 C 39.902344 44.457031 39.019531 44.738281 38.082031 44.738281 C 36.730469 44.738281 35.550781 44.230469 34.707031 43.367188 C 33.824219 42.523438 33.300781 41.382812 33.300781 40.144531 C 33.300781 38.867188 33.824219 37.726562 34.707031 36.882812 C 35.550781 36.019531 36.730469 35.511719 38.082031 35.511719 C 39.207031 35.511719 40.238281 35.90625 41.042969 36.523438 C 41.511719 36.898438 42.207031 36.804688 42.5625 36.355469 C 42.917969 35.886719 42.84375 35.195312 42.355469 34.835938 C 41.195312 33.917969 39.675781 33.375 38.082031 33.375 C 34.277344 33.375 31.164062 36.375 31.164062 40.144531 C 31.164062 43.894531 34.277344 46.875 38.082031 46.875 Z M 38.082031 46.875 "/>\n </g>'},txtIcon:{extension:".txt",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 12.847656 46.875 C 13.429688 46.875 13.878906 46.425781 13.878906 45.84375 L 13.878906 35.832031 L 16.859375 35.832031 C 17.421875 35.832031 17.890625 35.34375 17.890625 34.78125 C 17.890625 34.199219 17.421875 33.75 16.859375 33.75 L 8.855469 33.75 C 8.273438 33.75 7.824219 34.199219 7.824219 34.78125 C 7.824219 35.34375 8.273438 35.832031 8.855469 35.832031 L 11.816406 35.832031 L 11.816406 45.84375 C 11.816406 46.425781 12.285156 46.875 12.847656 46.875 Z M 29.019531 46.875 C 29.222656 46.875 29.429688 46.800781 29.617188 46.667969 C 30.085938 46.351562 30.160156 45.695312 29.84375 45.242188 L 26.28125 40.367188 L 29.84375 35.53125 C 30.160156 35.0625 30.085938 34.425781 29.617188 34.105469 C 29.148438 33.75 28.53125 33.84375 28.175781 34.332031 L 25.023438 38.644531 L 21.855469 34.332031 C 21.535156 33.84375 20.878906 33.75 20.429688 34.105469 C 19.960938 34.425781 19.867188 35.0625 20.1875 35.53125 L 23.75 40.367188 L 20.1875 45.242188 C 19.867188 45.695312 19.960938 46.351562 20.429688 46.667969 C 20.597656 46.800781 20.804688 46.875 21.03125 46.875 C 21.347656 46.875 21.648438 46.707031 21.855469 46.445312 L 25.023438 42.113281 L 28.175781 46.445312 C 28.378906 46.707031 28.679688 46.875 29.019531 46.875 Z M 37.464844 46.875 C 38.042969 46.875 38.496094 46.425781 38.496094 45.84375 L 38.496094 35.832031 L 41.476562 35.832031 C 42.039062 35.832031 42.507812 35.34375 42.507812 34.78125 C 42.507812 34.199219 42.039062 33.75 41.476562 33.75 L 33.46875 33.75 C 32.886719 33.75 32.4375 34.199219 32.4375 34.78125 C 32.4375 35.34375 32.886719 35.832031 33.46875 35.832031 L 36.433594 35.832031 L 36.433594 45.84375 C 36.433594 46.425781 36.902344 46.875 37.464844 46.875 Z M 37.464844 46.875 "/>\n </g>'},webmIcon:{extension:".webm",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.195312 43.734375 L 7.242188 43.734375 C 7.273438 43.71875 7.304688 43.703125 7.367188 43.703125 C 7.367188 43.6875 7.382812 43.6875 7.382812 43.6875 L 7.398438 43.6875 C 7.429688 43.671875 7.476562 43.625 7.523438 43.59375 L 7.554688 43.59375 C 7.585938 43.5625 7.617188 43.53125 7.648438 43.515625 C 7.648438 43.5 7.664062 43.5 7.664062 43.46875 L 7.757812 43.375 C 7.757812 43.375 7.757812 43.359375 7.773438 43.359375 C 7.789062 43.328125 7.820312 43.265625 7.835938 43.21875 L 9.882812 38.375 L 11.929688 43.21875 C 11.945312 43.265625 11.960938 43.328125 11.992188 43.359375 C 11.992188 43.359375 11.992188 43.375 12.023438 43.375 L 12.085938 43.46875 C 12.101562 43.5 12.101562 43.5 12.117188 43.515625 C 12.148438 43.53125 12.179688 43.5625 12.226562 43.59375 L 12.242188 43.59375 C 12.273438 43.625 12.320312 43.671875 12.382812 43.6875 C 12.398438 43.6875 12.398438 43.6875 12.414062 43.703125 C 12.445312 43.703125 12.476562 43.71875 12.523438 43.734375 L 12.570312 43.734375 L 12.640625 43.746094 L 12.710938 43.75 C 12.773438 43.75 12.820312 43.75 12.867188 43.734375 L 12.898438 43.734375 C 12.945312 43.71875 12.992188 43.703125 13.023438 43.703125 C 13.023438 43.6875 13.039062 43.6875 13.039062 43.6875 L 13.054688 43.6875 C 13.117188 43.671875 13.148438 43.625 13.195312 43.59375 L 13.210938 43.59375 C 13.242188 43.5625 13.289062 43.53125 13.320312 43.515625 C 13.320312 43.5 13.335938 43.5 13.335938 43.46875 C 13.367188 43.4375 13.398438 43.40625 13.414062 43.375 C 13.414062 43.375 13.429688 43.359375 13.429688 43.359375 C 13.460938 43.328125 13.492188 43.265625 13.507812 43.21875 L 17.335938 34.109375 C 17.523438 33.6875 17.320312 33.171875 16.898438 33 C 16.445312 32.8125 15.945312 33.015625 15.757812 33.453125 L 12.710938 40.6875 L 10.695312 35.890625 C 10.539062 35.546875 10.210938 35.359375 9.882812 35.359375 C 9.539062 35.359375 9.210938 35.546875 9.070312 35.890625 L 7.054688 40.6875 L 3.992188 33.453125 C 3.820312 33.015625 3.304688 32.8125 2.882812 33 C 2.429688 33.171875 2.242188 33.6875 2.414062 34.109375 L 6.257812 43.21875 C 6.289062 43.265625 6.304688 43.328125 6.335938 43.359375 L 6.335938 43.375 C 6.367188 43.40625 6.382812 43.4375 6.414062 43.46875 C 6.429688 43.5 6.429688 43.5 6.445312 43.515625 C 6.492188 43.53125 6.507812 43.5625 6.554688 43.59375 L 6.570312 43.59375 C 6.601562 43.625 6.664062 43.671875 6.710938 43.6875 C 6.726562 43.6875 6.726562 43.6875 6.742188 43.703125 C 6.773438 43.703125 6.804688 43.71875 6.851562 43.734375 L 6.898438 43.734375 L 6.976562 43.746094 L 7.054688 43.75 C 7.101562 43.75 7.148438 43.75 7.195312 43.734375 Z M 25.179688 43.75 C 25.632812 43.75 26.039062 43.359375 26.039062 42.890625 C 26.039062 42.40625 25.632812 42.015625 25.179688 42.015625 L 20.945312 42.015625 L 20.945312 39.140625 L 24.585938 39.140625 C 25.054688 39.140625 25.445312 38.75 25.445312 38.265625 C 25.445312 37.8125 25.054688 37.40625 24.585938 37.40625 L 20.945312 37.40625 L 20.945312 34.546875 L 25.179688 34.546875 C 25.632812 34.546875 26.039062 34.15625 26.039062 33.671875 C 26.039062 33.1875 25.632812 32.8125 25.179688 32.8125 L 20.070312 32.8125 C 19.585938 32.8125 19.210938 33.1875 19.210938 33.671875 L 19.210938 42.890625 C 19.210938 43.359375 19.585938 43.75 20.070312 43.75 C 20.070312 43.75 20.085938 43.734375 20.085938 43.734375 C 20.085938 43.734375 20.085938 43.75 20.117188 43.75 Z M 31.539062 43.75 C 33.382812 43.75 34.882812 42.25 34.882812 40.390625 C 34.882812 39.203125 34.242188 38.15625 33.304688 37.5625 C 33.679688 37.0625 33.898438 36.453125 33.898438 35.78125 C 33.898438 34.140625 32.570312 32.8125 30.929688 32.8125 L 28.710938 32.8125 C 28.242188 32.8125 27.851562 33.1875 27.851562 33.671875 L 27.851562 42.890625 C 27.851562 43.359375 28.242188 43.75 28.710938 43.75 L 28.757812 43.734375 C 28.757812 43.734375 28.757812 43.75 28.773438 43.75 Z M 30.929688 37.046875 L 29.585938 37.046875 L 29.585938 34.546875 L 30.929688 34.546875 C 31.617188 34.546875 32.164062 35.09375 32.164062 35.78125 C 32.164062 36.46875 31.617188 37.046875 30.929688 37.046875 Z M 31.539062 42.015625 L 29.585938 42.015625 L 29.585938 38.78125 L 31.539062 38.78125 C 32.429688 38.796875 33.148438 39.5 33.148438 40.390625 C 33.148438 41.296875 32.429688 42 31.539062 42.015625 Z M 45.664062 43.75 C 46.132812 43.75 46.539062 43.359375 46.539062 42.890625 L 46.539062 33.671875 C 46.539062 33.269531 46.242188 32.9375 45.859375 32.839844 L 45.664062 32.8125 L 45.648438 32.8125 C 45.367188 32.8125 45.117188 32.9375 44.945312 33.171875 L 41.835938 37.484375 L 38.726562 33.171875 C 38.570312 32.9375 38.289062 32.8125 38.039062 32.8125 L 37.992188 32.8125 C 37.523438 32.8125 37.132812 33.203125 37.132812 33.671875 L 37.132812 42.890625 C 37.132812 43.359375 37.523438 43.75 37.992188 43.75 C 38.476562 43.75 38.867188 43.359375 38.867188 42.890625 L 38.867188 36.3125 L 41.101562 39.4375 C 41.273438 39.671875 41.539062 39.796875 41.820312 39.796875 L 41.851562 39.796875 C 42.132812 39.796875 42.382812 39.671875 42.554688 39.4375 L 44.804688 36.3125 L 44.804688 42.890625 C 44.804688 43.359375 45.179688 43.75 45.664062 43.75 Z M 45.664062 43.75 "/>\n </g>'},webpIcon:{extension:".webp",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.234375 43.734375 L 9.28125 43.734375 C 9.3125 43.71875 9.34375 43.703125 9.40625 43.703125 L 9.414062 43.6875 C 9.421875 43.6875 9.421875 43.6875 9.4375 43.6875 C 9.46875 43.671875 9.515625 43.625 9.5625 43.59375 L 9.59375 43.59375 C 9.625 43.5625 9.65625 43.53125 9.6875 43.515625 C 9.6875 43.5 9.703125 43.5 9.703125 43.46875 L 9.796875 43.375 C 9.796875 43.375 9.796875 43.359375 9.8125 43.359375 C 9.828125 43.328125 9.859375 43.265625 9.875 43.21875 L 11.921875 38.375 L 13.96875 43.21875 C 13.984375 43.265625 14 43.328125 14.03125 43.359375 C 14.03125 43.359375 14.03125 43.375 14.0625 43.375 L 14.125 43.46875 C 14.140625 43.5 14.140625 43.5 14.15625 43.515625 L 14.203125 43.546875 L 14.265625 43.59375 C 14.265625 43.59375 14.265625 43.59375 14.28125 43.59375 C 14.3125 43.625 14.359375 43.671875 14.421875 43.6875 C 14.4375 43.6875 14.4375 43.6875 14.453125 43.703125 C 14.484375 43.703125 14.515625 43.71875 14.5625 43.734375 L 14.609375 43.734375 L 14.679688 43.746094 L 14.75 43.75 C 14.8125 43.75 14.859375 43.75 14.90625 43.734375 L 14.9375 43.734375 C 14.984375 43.71875 15.03125 43.703125 15.0625 43.703125 C 15.0625 43.6875 15.078125 43.6875 15.078125 43.6875 L 15.09375 43.6875 C 15.15625 43.671875 15.1875 43.625 15.234375 43.59375 L 15.25 43.59375 C 15.28125 43.5625 15.328125 43.53125 15.359375 43.515625 C 15.359375 43.5 15.375 43.5 15.375 43.46875 C 15.40625 43.4375 15.4375 43.40625 15.453125 43.375 L 15.46875 43.359375 C 15.5 43.328125 15.53125 43.265625 15.546875 43.21875 L 19.375 34.109375 C 19.5625 33.6875 19.359375 33.171875 18.9375 33 C 18.484375 32.8125 17.984375 33.015625 17.796875 33.453125 L 14.75 40.6875 L 12.734375 35.890625 C 12.578125 35.546875 12.25 35.359375 11.921875 35.359375 C 11.578125 35.359375 11.25 35.546875 11.109375 35.890625 L 9.09375 40.6875 L 6.03125 33.453125 C 5.859375 33.015625 5.34375 32.8125 4.921875 33 C 4.46875 33.171875 4.28125 33.6875 4.453125 34.109375 L 8.296875 43.21875 C 8.328125 43.265625 8.34375 43.328125 8.375 43.359375 L 8.375 43.375 C 8.40625 43.40625 8.421875 43.4375 8.453125 43.46875 C 8.46875 43.5 8.46875 43.5 8.484375 43.515625 L 8.539062 43.546875 L 8.59375 43.59375 C 8.59375 43.59375 8.59375 43.59375 8.609375 43.59375 C 8.640625 43.625 8.703125 43.671875 8.75 43.6875 C 8.765625 43.6875 8.765625 43.6875 8.78125 43.703125 C 8.8125 43.703125 8.84375 43.71875 8.890625 43.734375 L 8.9375 43.734375 L 9.015625 43.746094 L 9.09375 43.75 C 9.140625 43.75 9.1875 43.75 9.234375 43.734375 Z M 27.21875 43.75 C 27.671875 43.75 28.078125 43.359375 28.078125 42.890625 C 28.078125 42.40625 27.671875 42.015625 27.21875 42.015625 L 22.984375 42.015625 L 22.984375 39.140625 L 26.625 39.140625 C 27.09375 39.140625 27.484375 38.75 27.484375 38.265625 C 27.484375 37.8125 27.09375 37.40625 26.625 37.40625 L 22.984375 37.40625 L 22.984375 34.546875 L 27.21875 34.546875 C 27.671875 34.546875 28.078125 34.15625 28.078125 33.671875 C 28.078125 33.1875 27.671875 32.8125 27.21875 32.8125 L 22.109375 32.8125 C 21.625 32.8125 21.25 33.1875 21.25 33.671875 L 21.25 42.890625 C 21.25 43.359375 21.625 43.75 22.109375 43.75 L 22.125 43.734375 C 22.125 43.734375 22.125 43.75 22.15625 43.75 Z M 33.578125 43.75 C 35.421875 43.75 36.921875 42.25 36.921875 40.390625 C 36.921875 39.203125 36.28125 38.15625 35.34375 37.5625 C 35.71875 37.0625 35.9375 36.453125 35.9375 35.78125 C 35.9375 34.140625 34.609375 32.8125 32.96875 32.8125 L 30.75 32.8125 C 30.28125 32.8125 29.890625 33.1875 29.890625 33.671875 L 29.890625 42.890625 C 29.890625 43.359375 30.28125 43.75 30.75 43.75 C 30.765625 43.75 30.765625 43.734375 30.796875 43.734375 C 30.796875 43.734375 30.796875 43.75 30.8125 43.75 Z M 32.96875 37.046875 L 31.625 37.046875 L 31.625 34.546875 L 32.96875 34.546875 C 33.65625 34.546875 34.203125 35.09375 34.203125 35.78125 C 34.203125 36.46875 33.65625 37.046875 32.96875 37.046875 Z M 33.578125 42.015625 L 31.625 42.015625 L 31.625 38.78125 L 33.578125 38.78125 C 34.46875 38.796875 35.1875 39.5 35.1875 40.390625 C 35.1875 41.296875 34.46875 42 33.578125 42.015625 Z M 40.03125 43.75 C 40.515625 43.75 40.90625 43.359375 40.90625 42.890625 L 40.90625 39.5 L 42.828125 39.5 C 44.6875 39.5 46.1875 38 46.1875 36.171875 C 46.1875 34.3125 44.6875 32.8125 42.828125 32.8125 L 40.03125 32.8125 C 39.5625 32.8125 39.171875 33.1875 39.171875 33.671875 L 39.171875 42.890625 C 39.171875 43.359375 39.5625 43.75 40.03125 43.75 Z M 42.828125 37.765625 L 40.90625 37.765625 L 40.90625 34.546875 L 42.828125 34.546875 C 43.734375 34.546875 44.4375 35.265625 44.453125 36.171875 C 44.4375 37.046875 43.734375 37.765625 42.828125 37.765625 Z M 42.828125 37.765625 "/>\n </g>'},wmvIcon:{extension:".wmv",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.484375 43.734375 L 8.53125 43.734375 C 8.5625 43.71875 8.59375 43.703125 8.65625 43.703125 L 8.664062 43.6875 C 8.671875 43.6875 8.671875 43.6875 8.6875 43.6875 C 8.71875 43.671875 8.765625 43.625 8.8125 43.59375 L 8.84375 43.59375 C 8.875 43.5625 8.90625 43.53125 8.9375 43.515625 C 8.9375 43.5 8.953125 43.5 8.953125 43.46875 L 9.046875 43.375 C 9.046875 43.375 9.046875 43.359375 9.0625 43.359375 C 9.078125 43.328125 9.109375 43.265625 9.125 43.21875 L 11.171875 38.375 L 13.21875 43.21875 C 13.234375 43.265625 13.25 43.328125 13.28125 43.359375 C 13.28125 43.359375 13.28125 43.375 13.3125 43.375 L 13.375 43.46875 C 13.390625 43.5 13.390625 43.5 13.40625 43.515625 L 13.453125 43.546875 L 13.515625 43.59375 C 13.515625 43.59375 13.515625 43.59375 13.53125 43.59375 C 13.5625 43.625 13.609375 43.671875 13.671875 43.6875 C 13.6875 43.6875 13.6875 43.6875 13.703125 43.703125 C 13.734375 43.703125 13.765625 43.71875 13.8125 43.734375 L 13.859375 43.734375 L 13.929688 43.746094 L 14 43.75 C 14.0625 43.75 14.109375 43.75 14.15625 43.734375 L 14.1875 43.734375 C 14.234375 43.71875 14.28125 43.703125 14.3125 43.703125 C 14.3125 43.6875 14.328125 43.6875 14.328125 43.6875 L 14.34375 43.6875 C 14.40625 43.671875 14.4375 43.625 14.484375 43.59375 L 14.5 43.59375 C 14.53125 43.5625 14.578125 43.53125 14.609375 43.515625 C 14.609375 43.5 14.625 43.5 14.625 43.46875 C 14.65625 43.4375 14.6875 43.40625 14.703125 43.375 L 14.71875 43.359375 C 14.75 43.328125 14.78125 43.265625 14.796875 43.21875 L 18.625 34.109375 C 18.8125 33.6875 18.609375 33.171875 18.1875 33 C 17.734375 32.8125 17.234375 33.015625 17.046875 33.453125 L 14 40.6875 L 11.984375 35.890625 C 11.828125 35.546875 11.5 35.359375 11.171875 35.359375 C 10.828125 35.359375 10.5 35.546875 10.359375 35.890625 L 8.34375 40.6875 L 5.28125 33.453125 C 5.109375 33.015625 4.59375 32.8125 4.171875 33 C 3.71875 33.171875 3.53125 33.6875 3.703125 34.109375 L 7.546875 43.21875 C 7.578125 43.265625 7.59375 43.328125 7.625 43.359375 L 7.625 43.375 C 7.65625 43.40625 7.671875 43.4375 7.703125 43.46875 C 7.71875 43.5 7.71875 43.5 7.734375 43.515625 L 7.789062 43.546875 L 7.84375 43.59375 C 7.84375 43.59375 7.84375 43.59375 7.859375 43.59375 C 7.890625 43.625 7.953125 43.671875 8 43.6875 C 8.015625 43.6875 8.015625 43.6875 8.03125 43.703125 C 8.0625 43.703125 8.09375 43.71875 8.140625 43.734375 L 8.1875 43.734375 L 8.265625 43.746094 L 8.34375 43.75 C 8.390625 43.75 8.4375 43.75 8.484375 43.734375 Z M 29.03125 43.75 C 29.5 43.75 29.90625 43.359375 29.90625 42.890625 L 29.90625 33.671875 C 29.90625 33.269531 29.609375 32.9375 29.226562 32.839844 L 29.03125 32.8125 L 29.015625 32.8125 C 28.734375 32.8125 28.484375 32.9375 28.3125 33.171875 L 25.203125 37.484375 L 22.09375 33.171875 C 21.9375 32.9375 21.65625 32.8125 21.40625 32.8125 L 21.359375 32.8125 C 20.890625 32.8125 20.5 33.203125 20.5 33.671875 L 20.5 42.890625 C 20.5 43.359375 20.890625 43.75 21.359375 43.75 C 21.84375 43.75 22.234375 43.359375 22.234375 42.890625 L 22.234375 36.3125 L 24.46875 39.4375 C 24.640625 39.671875 24.90625 39.796875 25.1875 39.796875 L 25.21875 39.796875 C 25.5 39.796875 25.75 39.671875 25.921875 39.4375 L 28.171875 36.3125 L 28.171875 42.890625 C 28.171875 43.359375 28.546875 43.75 29.03125 43.75 Z M 37.015625 43.734375 L 37.0625 43.734375 C 37.09375 43.71875 37.125 43.703125 37.1875 43.703125 L 37.195312 43.6875 C 37.203125 43.6875 37.203125 43.6875 37.21875 43.6875 C 37.25 43.671875 37.296875 43.625 37.34375 43.59375 L 37.375 43.59375 C 37.40625 43.5625 37.4375 43.53125 37.46875 43.515625 C 37.46875 43.5 37.484375 43.5 37.484375 43.46875 L 37.578125 43.375 C 37.578125 43.375 37.578125 43.359375 37.59375 43.359375 C 37.609375 43.328125 37.640625 43.265625 37.65625 43.21875 L 39.703125 38.375 L 41.75 43.21875 C 41.765625 43.265625 41.78125 43.328125 41.8125 43.359375 C 41.8125 43.359375 41.8125 43.375 41.84375 43.375 L 41.90625 43.46875 C 41.921875 43.5 41.921875 43.5 41.9375 43.515625 L 41.984375 43.546875 L 42.046875 43.59375 C 42.046875 43.59375 42.046875 43.59375 42.0625 43.59375 C 42.09375 43.625 42.140625 43.671875 42.203125 43.6875 C 42.21875 43.6875 42.21875 43.6875 42.234375 43.703125 C 42.265625 43.703125 42.296875 43.71875 42.34375 43.734375 L 42.390625 43.734375 L 42.460938 43.746094 L 42.53125 43.75 C 42.59375 43.75 42.640625 43.75 42.6875 43.734375 L 42.71875 43.734375 C 42.765625 43.71875 42.8125 43.703125 42.84375 43.703125 C 42.84375 43.6875 42.859375 43.6875 42.859375 43.6875 L 42.875 43.6875 C 42.9375 43.671875 42.96875 43.625 43.015625 43.59375 L 43.03125 43.59375 C 43.0625 43.5625 43.109375 43.53125 43.140625 43.515625 C 43.140625 43.5 43.15625 43.5 43.15625 43.46875 C 43.1875 43.4375 43.21875 43.40625 43.234375 43.375 L 43.25 43.359375 C 43.28125 43.328125 43.3125 43.265625 43.328125 43.21875 L 47.15625 34.109375 C 47.34375 33.6875 47.140625 33.171875 46.71875 33 C 46.265625 32.8125 45.765625 33.015625 45.578125 33.453125 L 42.53125 40.6875 L 40.515625 35.890625 C 40.359375 35.546875 40.03125 35.359375 39.703125 35.359375 C 39.359375 35.359375 39.03125 35.546875 38.890625 35.890625 L 36.875 40.6875 L 33.8125 33.453125 C 33.640625 33.015625 33.125 32.8125 32.703125 33 C 32.25 33.171875 32.0625 33.6875 32.234375 34.109375 L 36.078125 43.21875 C 36.109375 43.265625 36.125 43.328125 36.15625 43.359375 L 36.15625 43.375 C 36.1875 43.40625 36.203125 43.4375 36.234375 43.46875 C 36.25 43.5 36.25 43.5 36.265625 43.515625 L 36.320312 43.546875 L 36.375 43.59375 C 36.375 43.59375 36.375 43.59375 36.390625 43.59375 C 36.421875 43.625 36.484375 43.671875 36.53125 43.6875 C 36.546875 43.6875 36.546875 43.6875 36.5625 43.703125 C 36.59375 43.703125 36.625 43.71875 36.671875 43.734375 L 36.71875 43.734375 L 36.796875 43.746094 L 36.875 43.75 C 36.921875 43.75 36.96875 43.75 37.015625 43.734375 Z M 37.015625 43.734375 "/>\n </g>'},xlsIcon:{extension:".xls",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.21875 46.875 C 17.425781 46.875 17.632812 46.800781 17.820312 46.667969 C 18.289062 46.351562 18.363281 45.695312 18.042969 45.242188 L 14.480469 40.367188 L 18.042969 35.53125 C 18.363281 35.0625 18.289062 34.425781 17.820312 34.105469 C 17.351562 33.75 16.730469 33.84375 16.375 34.332031 L 13.226562 38.644531 L 10.054688 34.332031 C 9.738281 33.84375 9.082031 33.75 8.632812 34.105469 C 8.164062 34.425781 8.070312 35.0625 8.386719 35.53125 L 11.949219 40.367188 L 8.386719 45.242188 C 8.070312 45.695312 8.164062 46.351562 8.632812 46.667969 C 8.800781 46.800781 9.007812 46.875 9.230469 46.875 C 9.550781 46.875 9.851562 46.707031 10.054688 46.445312 L 13.226562 42.113281 L 16.375 46.445312 C 16.582031 46.707031 16.882812 46.875 17.21875 46.875 Z M 29.351562 46.875 C 29.894531 46.875 30.382812 46.40625 30.382812 45.84375 C 30.382812 45.261719 29.894531 44.792969 29.351562 44.792969 L 24.269531 44.792969 L 24.269531 34.78125 C 24.269531 34.21875 23.800781 33.75 23.21875 33.75 C 22.636719 33.75 22.1875 34.21875 22.1875 34.78125 L 22.1875 45.84375 C 22.1875 46.335938 22.53125 46.757812 23.007812 46.855469 L 23.222656 46.875 Z M 37.28125 46.855469 C 38.613281 46.855469 39.832031 46.460938 40.75 45.789062 C 41.6875 45.113281 42.363281 44.082031 42.363281 42.882812 C 42.363281 42.300781 42.195312 41.738281 41.914062 41.289062 C 41.480469 40.59375 40.804688 40.105469 40.039062 39.730469 C 39.289062 39.375 38.40625 39.132812 37.449219 38.945312 L 37.414062 38.945312 C 36.398438 38.757812 35.554688 38.457031 35.070312 38.117188 C 34.824219 37.949219 34.65625 37.78125 34.5625 37.632812 C 34.46875 37.480469 34.429688 37.332031 34.429688 37.105469 C 34.429688 36.710938 34.636719 36.300781 35.144531 35.925781 C 35.648438 35.550781 36.398438 35.289062 37.242188 35.289062 C 38.386719 35.289062 39.304688 35.851562 40.261719 36.488281 C 40.710938 36.789062 41.3125 36.65625 41.59375 36.207031 C 41.894531 35.773438 41.761719 35.175781 41.332031 34.875 C 40.375 34.257812 39.042969 33.375 37.242188 33.375 C 36.023438 33.375 34.882812 33.730469 34 34.367188 C 33.136719 35.007812 32.5 35.980469 32.5 37.105469 C 32.5 37.667969 32.648438 38.195312 32.929688 38.644531 C 33.34375 39.300781 33.960938 39.769531 34.675781 40.105469 C 35.386719 40.445312 36.210938 40.667969 37.09375 40.835938 L 37.132812 40.835938 C 38.238281 41.042969 39.15625 41.363281 39.699219 41.71875 C 39.980469 41.90625 40.148438 42.09375 40.261719 42.28125 C 40.375 42.46875 40.429688 42.636719 40.429688 42.882812 C 40.429688 43.351562 40.1875 43.820312 39.625 44.230469 C 39.0625 44.644531 38.21875 44.925781 37.28125 44.925781 C 35.949219 44.945312 34.523438 44.15625 33.699219 43.480469 C 33.289062 43.144531 32.667969 43.199219 32.332031 43.613281 C 32.011719 44.023438 32.070312 44.644531 32.480469 44.980469 C 33.550781 45.824219 35.257812 46.835938 37.28125 46.855469 Z M 37.28125 46.855469 "/>\n </g>'},xlsxIcon:{extension:".xlsx",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.070312 43.75 C 13.242188 43.75 13.414062 43.6875 13.570312 43.578125 C 13.960938 43.3125 14.023438 42.765625 13.757812 42.390625 L 10.789062 38.328125 L 13.757812 34.296875 C 14.023438 33.90625 13.960938 33.375 13.570312 33.109375 C 13.179688 32.8125 12.664062 32.890625 12.367188 33.296875 L 9.742188 36.890625 L 7.101562 33.296875 C 6.835938 32.890625 6.289062 32.8125 5.914062 33.109375 C 5.523438 33.375 5.445312 33.90625 5.710938 34.296875 L 8.679688 38.328125 L 5.710938 42.390625 C 5.445312 42.765625 5.523438 43.3125 5.914062 43.578125 C 6.054688 43.6875 6.226562 43.75 6.414062 43.75 C 6.679688 43.75 6.929688 43.609375 7.101562 43.390625 L 9.742188 39.78125 L 12.367188 43.390625 C 12.539062 43.609375 12.789062 43.75 13.070312 43.75 Z M 23.179688 43.75 C 23.632812 43.75 24.039062 43.359375 24.039062 42.890625 C 24.039062 42.40625 23.632812 42.015625 23.179688 42.015625 L 18.945312 42.015625 L 18.945312 33.671875 C 18.945312 33.203125 18.554688 32.8125 18.070312 32.8125 C 17.585938 32.8125 17.210938 33.203125 17.210938 33.671875 L 17.210938 42.890625 C 17.210938 43.359375 17.585938 43.75 18.070312 43.75 Z M 29.789062 43.734375 C 30.898438 43.734375 31.914062 43.40625 32.679688 42.84375 C 33.460938 42.28125 34.023438 41.421875 34.023438 40.421875 C 34.023438 39.9375 33.882812 39.46875 33.648438 39.09375 C 33.289062 38.515625 32.726562 38.109375 32.085938 37.796875 C 31.460938 37.5 30.726562 37.296875 29.929688 37.140625 L 29.898438 37.140625 C 29.054688 36.984375 28.351562 36.734375 27.945312 36.453125 C 27.742188 36.3125 27.601562 36.171875 27.523438 36.046875 C 27.445312 35.921875 27.414062 35.796875 27.414062 35.609375 C 27.414062 35.28125 27.585938 34.9375 28.007812 34.625 C 28.429688 34.3125 29.054688 34.09375 29.757812 34.09375 C 30.710938 34.09375 31.476562 34.5625 32.273438 35.09375 C 32.648438 35.34375 33.148438 35.234375 33.382812 34.859375 C 33.632812 34.5 33.523438 34 33.164062 33.75 C 32.367188 33.234375 31.257812 32.5 29.757812 32.5 C 28.742188 32.5 27.789062 32.796875 27.054688 33.328125 C 26.335938 33.859375 25.804688 34.671875 25.804688 35.609375 C 25.804688 36.078125 25.929688 36.515625 26.164062 36.890625 C 26.507812 37.4375 27.023438 37.828125 27.617188 38.109375 C 28.210938 38.390625 28.898438 38.578125 29.632812 38.71875 L 29.664062 38.71875 C 30.585938 38.890625 31.351562 39.15625 31.804688 39.453125 C 32.039062 39.609375 32.179688 39.765625 32.273438 39.921875 C 32.367188 40.078125 32.414062 40.21875 32.414062 40.421875 C 32.414062 40.8125 32.210938 41.203125 31.742188 41.546875 C 31.273438 41.890625 30.570312 42.125 29.789062 42.125 C 28.679688 42.140625 27.492188 41.484375 26.804688 40.921875 C 26.460938 40.640625 25.945312 40.6875 25.664062 41.03125 C 25.398438 41.375 25.445312 41.890625 25.789062 42.171875 C 26.679688 42.875 28.101562 43.71875 29.789062 43.734375 Z M 43.179688 43.75 C 43.351562 43.75 43.523438 43.6875 43.679688 43.578125 C 44.070312 43.3125 44.132812 42.765625 43.867188 42.390625 L 40.898438 38.328125 L 43.867188 34.296875 C 44.132812 33.90625 44.070312 33.375 43.679688 33.109375 C 43.289062 32.8125 42.773438 32.890625 42.476562 33.296875 L 39.851562 36.890625 L 37.210938 33.296875 C 36.945312 32.890625 36.398438 32.8125 36.023438 33.109375 C 35.632812 33.375 35.554688 33.90625 35.820312 34.296875 L 38.789062 38.328125 L 35.820312 42.390625 C 35.554688 42.765625 35.632812 43.3125 36.023438 43.578125 C 36.164062 43.6875 36.335938 43.75 36.523438 43.75 C 36.789062 43.75 37.039062 43.609375 37.210938 43.390625 L 39.851562 39.78125 L 42.476562 43.390625 C 42.648438 43.609375 42.898438 43.75 43.179688 43.75 Z M 43.179688 43.75 "/>\n </g>'},zipIcon:{extension:".zip",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.175781 46.875 C 20.855469 46.875 21.402344 46.351562 21.402344 45.671875 C 21.402344 44.992188 20.855469 44.445312 20.175781 44.445312 L 13.132812 44.445312 L 21.183594 33.488281 L 21.183594 33.445312 C 21.203125 33.421875 21.226562 33.378906 21.25 33.335938 C 21.269531 33.3125 21.269531 33.289062 21.292969 33.269531 C 21.3125 33.203125 21.3125 33.179688 21.335938 33.136719 C 21.335938 33.09375 21.378906 33.070312 21.378906 33.007812 C 21.378906 32.984375 21.378906 32.960938 21.402344 32.917969 L 21.402344 32.679688 C 21.402344 32.632812 21.402344 32.613281 21.378906 32.546875 C 21.378906 32.503906 21.378906 32.480469 21.335938 32.4375 C 21.335938 32.414062 21.3125 32.371094 21.3125 32.304688 C 21.292969 32.285156 21.269531 32.242188 21.269531 32.21875 C 21.25 32.195312 21.226562 32.152344 21.203125 32.109375 C 21.183594 32.066406 21.160156 32.042969 21.117188 32.023438 C 21.09375 32 21.074219 31.957031 21.050781 31.933594 C 21.03125 31.914062 21.007812 31.867188 20.964844 31.847656 C 20.941406 31.824219 20.941406 31.804688 20.898438 31.78125 L 20.875 31.78125 C 20.832031 31.757812 20.8125 31.738281 20.765625 31.714844 C 20.746094 31.695312 20.722656 31.648438 20.65625 31.648438 L 20.570312 31.605469 L 20.4375 31.585938 C 20.417969 31.585938 20.375 31.5625 20.351562 31.5625 L 10.75 31.5625 C 10.070312 31.5625 9.546875 32.085938 9.546875 32.765625 C 9.546875 33.421875 10.070312 33.992188 10.75 33.992188 L 17.8125 33.992188 L 9.785156 44.972656 L 9.765625 44.972656 C 9.742188 45.015625 9.71875 45.058594 9.699219 45.082031 C 9.699219 45.101562 9.675781 45.148438 9.632812 45.167969 C 9.632812 45.210938 9.609375 45.257812 9.609375 45.277344 C 9.589844 45.320312 9.589844 45.367188 9.566406 45.386719 L 9.566406 45.496094 C 9.546875 45.539062 9.546875 45.585938 9.546875 45.648438 L 9.546875 45.738281 C 9.546875 45.78125 9.566406 45.824219 9.566406 45.890625 C 9.566406 45.933594 9.589844 45.957031 9.589844 45.976562 L 9.632812 46.109375 C 9.632812 46.152344 9.675781 46.175781 9.699219 46.21875 C 9.699219 46.242188 9.71875 46.261719 9.742188 46.328125 C 9.765625 46.351562 9.785156 46.394531 9.808594 46.414062 C 9.828125 46.4375 9.851562 46.460938 9.894531 46.480469 L 9.9375 46.542969 L 9.984375 46.589844 C 10.003906 46.613281 10.027344 46.632812 10.046875 46.632812 L 10.046875 46.65625 C 10.070312 46.679688 10.09375 46.679688 10.136719 46.699219 C 10.179688 46.722656 10.222656 46.742188 10.246094 46.742188 C 10.265625 46.789062 10.289062 46.789062 10.3125 46.808594 C 10.375 46.808594 10.421875 46.832031 10.464844 46.832031 C 10.484375 46.851562 10.507812 46.851562 10.53125 46.851562 L 10.648438 46.871094 Z M 26.214844 46.875 C 26.871094 46.875 27.4375 46.351562 27.4375 45.671875 L 27.4375 32.765625 C 27.4375 32.085938 26.871094 31.5625 26.214844 31.5625 C 25.535156 31.5625 25.011719 32.085938 25.011719 32.765625 L 25.011719 45.671875 C 25.011719 46.351562 25.535156 46.875 26.214844 46.875 Z M 32.734375 46.875 C 33.410156 46.875 33.957031 46.328125 33.957031 45.671875 L 33.957031 40.925781 L 36.648438 40.925781 C 39.25 40.925781 41.351562 38.824219 41.351562 36.265625 C 41.351562 33.664062 39.25 31.5625 36.648438 31.5625 L 32.734375 31.5625 C 32.078125 31.5625 31.53125 32.085938 31.53125 32.765625 L 31.53125 45.671875 C 31.53125 46.328125 32.078125 46.875 32.734375 46.875 Z M 36.648438 38.496094 L 33.957031 38.496094 L 33.957031 33.992188 L 36.648438 33.992188 C 37.917969 33.992188 38.902344 34.996094 38.921875 36.265625 C 38.902344 37.492188 37.917969 38.496094 36.648438 38.496094 Z M 36.648438 38.496094 "/>\n </g>'},docxIcon:{extension:".docx",path:'<g id="surface9" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.789062 43.75 C 9.589844 43.75 10.988281 43.269531 11.984375 42.304688 C 12.980469 41.339844 13.476562 39.984375 13.476562 38.234375 C 13.476562 36.496094 12.980469 35.144531 11.984375 34.179688 C 10.988281 33.214844 9.589844 32.734375 7.789062 32.734375 L 4.695312 32.734375 C 4.394531 32.734375 4.15625 32.816406 3.984375 32.984375 C 3.8125 33.152344 3.726562 33.386719 3.726562 33.6875 L 3.726562 42.796875 C 3.726562 43.097656 3.8125 43.332031 3.984375 43.5 C 4.15625 43.667969 4.394531 43.75 4.695312 43.75 Z M 7.664062 42.109375 L 5.742188 42.109375 L 5.742188 34.375 L 7.664062 34.375 C 10.195312 34.375 11.460938 35.660156 11.460938 38.234375 C 11.460938 40.816406 10.195312 42.109375 7.664062 42.109375 Z M 20.414062 43.890625 C 21.476562 43.890625 22.402344 43.660156 23.1875 43.203125 C 23.972656 42.746094 24.582031 42.089844 25.007812 41.234375 C 25.433594 40.378906 25.648438 39.378906 25.648438 38.234375 C 25.648438 37.089844 25.4375 36.089844 25.015625 35.242188 C 24.59375 34.394531 23.988281 33.738281 23.203125 33.28125 C 22.417969 32.824219 21.488281 32.59375 20.414062 32.59375 C 19.339844 32.59375 18.410156 32.824219 17.617188 33.28125 C 16.824219 33.738281 16.21875 34.394531 15.796875 35.242188 C 15.375 36.089844 15.164062 37.089844 15.164062 38.234375 C 15.164062 39.378906 15.378906 40.378906 15.804688 41.234375 C 16.230469 42.089844 16.839844 42.746094 17.625 43.203125 C 18.410156 43.660156 19.339844 43.890625 20.414062 43.890625 Z M 20.414062 42.28125 C 19.394531 42.28125 18.597656 41.933594 18.03125 41.234375 C 17.464844 40.535156 17.179688 39.535156 17.179688 38.234375 C 17.179688 36.933594 17.464844 35.933594 18.03125 35.242188 C 18.597656 34.550781 19.394531 34.203125 20.414062 34.203125 C 21.425781 34.203125 22.214844 34.550781 22.78125 35.242188 C 23.347656 35.933594 23.632812 36.933594 23.632812 38.234375 C 23.632812 39.535156 23.347656 40.535156 22.78125 41.234375 C 22.214844 41.933594 21.425781 42.28125 20.414062 42.28125 Z M 32.601562 43.890625 C 33.289062 43.890625 33.933594 43.789062 34.539062 43.585938 C 35.144531 43.382812 35.679688 43.089844 36.148438 42.703125 C 36.285156 42.597656 36.378906 42.488281 36.429688 42.367188 C 36.480469 42.246094 36.507812 42.109375 36.507812 41.953125 C 36.507812 41.722656 36.445312 41.53125 36.320312 41.375 C 36.195312 41.21875 36.042969 41.140625 35.867188 41.140625 C 35.753906 41.140625 35.644531 41.160156 35.539062 41.203125 C 35.433594 41.246094 35.332031 41.296875 35.226562 41.359375 C 34.746094 41.683594 34.316406 41.910156 33.9375 42.046875 C 33.558594 42.183594 33.144531 42.25 32.695312 42.25 C 31.613281 42.25 30.792969 41.910156 30.234375 41.234375 C 29.675781 40.558594 29.398438 39.558594 29.398438 38.234375 C 29.398438 36.921875 29.675781 35.925781 30.234375 35.25 C 30.792969 34.574219 31.613281 34.234375 32.695312 34.234375 C 33.164062 34.234375 33.589844 34.300781 33.976562 34.429688 C 34.363281 34.558594 34.777344 34.792969 35.226562 35.125 C 35.445312 35.269531 35.660156 35.34375 35.867188 35.34375 C 36.042969 35.34375 36.195312 35.265625 36.320312 35.109375 C 36.445312 34.953125 36.507812 34.761719 36.507812 34.53125 C 36.507812 34.363281 36.480469 34.222656 36.429688 34.109375 C 36.378906 33.996094 36.285156 33.886719 36.148438 33.78125 C 35.679688 33.394531 35.144531 33.101562 34.539062 32.898438 C 33.933594 32.695312 33.289062 32.59375 32.601562 32.59375 C 31.539062 32.59375 30.609375 32.824219 29.8125 33.28125 C 29.015625 33.738281 28.402344 34.394531 27.976562 35.242188 C 27.550781 36.089844 27.335938 37.089844 27.335938 38.234375 C 27.335938 39.378906 27.550781 40.378906 27.976562 41.234375 C 28.402344 42.089844 29.015625 42.746094 29.8125 43.203125 C 30.609375 43.660156 31.539062 43.890625 32.601562 43.890625 Z M 46.132812 43.84375 C 46.382812 43.84375 46.605469 43.75 46.796875 43.5625 C 46.988281 43.375 47.085938 43.15625 47.085938 42.90625 C 47.085938 42.707031 47.003906 42.511719 46.835938 42.3125 L 43.445312 38.15625 L 46.710938 34.171875 C 46.867188 34.003906 46.945312 33.808594 46.945312 33.578125 C 46.945312 33.328125 46.847656 33.113281 46.65625 32.929688 C 46.464844 32.746094 46.242188 32.65625 45.992188 32.65625 C 45.730469 32.65625 45.507812 32.769531 45.320312 33 L 42.273438 36.765625 L 39.226562 33 C 39.027344 32.769531 38.800781 32.65625 38.539062 32.65625 C 38.289062 32.65625 38.070312 32.746094 37.882812 32.929688 C 37.695312 33.113281 37.601562 33.328125 37.601562 33.578125 C 37.601562 33.808594 37.679688 34.003906 37.835938 34.171875 L 41.101562 38.15625 L 37.695312 42.3125 C 37.539062 42.5 37.460938 42.699219 37.460938 42.90625 C 37.460938 43.15625 37.558594 43.371094 37.75 43.554688 C 37.941406 43.738281 38.164062 43.828125 38.414062 43.828125 C 38.675781 43.828125 38.898438 43.71875 39.085938 43.5 L 42.273438 39.5625 L 45.445312 43.5 C 45.644531 43.730469 45.871094 43.84375 46.132812 43.84375 Z M 46.132812 43.84375 "/>\n </g>'},jpgIcon:{extension:".jpg",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.789062 47.007812 L 9.488281 46.960938 C 12.214844 46.757812 13.578125 45.277344 13.578125 42.523438 L 13.578125 32.742188 C 13.578125 32.320312 13.453125 31.980469 13.195312 31.726562 C 12.941406 31.472656 12.59375 31.34375 12.15625 31.34375 C 11.734375 31.34375 11.394531 31.472656 11.140625 31.726562 C 10.886719 31.980469 10.757812 32.320312 10.757812 32.742188 L 10.757812 42.523438 C 10.757812 43.238281 10.605469 43.769531 10.296875 44.117188 C 9.992188 44.46875 9.539062 44.660156 8.941406 44.6875 L 8.242188 44.730469 C 7.847656 44.761719 7.558594 44.867188 7.378906 45.046875 C 7.195312 45.230469 7.105469 45.496094 7.105469 45.847656 C 7.105469 46.664062 7.667969 47.050781 8.789062 47.007812 Z M 18.304688 47.007812 C 18.742188 47.007812 19.089844 46.878906 19.34375 46.625 C 19.597656 46.367188 19.726562 46.023438 19.726562 45.585938 L 19.726562 40.882812 L 23.640625 40.882812 C 25.289062 40.882812 26.574219 40.464844 27.492188 39.632812 C 28.410156 38.804688 28.871094 37.644531 28.871094 36.15625 C 28.871094 34.667969 28.410156 33.511719 27.492188 32.6875 C 26.574219 31.863281 25.289062 31.453125 23.640625 31.453125 L 18.261719 31.453125 C 17.839844 31.453125 17.507812 31.570312 17.265625 31.804688 C 17.023438 32.035156 16.90625 32.363281 16.90625 32.789062 L 16.90625 45.585938 C 16.90625 46.023438 17.03125 46.367188 17.289062 46.625 C 17.542969 46.878906 17.882812 47.007812 18.304688 47.007812 Z M 23.292969 38.714844 L 19.726562 38.714844 L 19.726562 33.640625 L 23.292969 33.640625 C 25.230469 33.640625 26.203125 34.488281 26.203125 36.179688 C 26.203125 37.871094 25.230469 38.714844 23.292969 38.714844 Z M 38.605469 47.070312 C 39.320312 47.070312 40.0625 47.011719 40.835938 46.898438 C 41.609375 46.78125 42.285156 46.621094 42.871094 46.414062 C 43.410156 46.242188 43.765625 46.015625 43.941406 45.738281 C 44.117188 45.460938 44.203125 44.988281 44.203125 44.316406 L 44.203125 39.613281 C 44.203125 39.292969 44.101562 39.03125 43.898438 38.835938 C 43.695312 38.640625 43.425781 38.539062 43.089844 38.539062 L 39.21875 38.539062 C 38.867188 38.539062 38.59375 38.628906 38.398438 38.804688 C 38.199219 38.976562 38.101562 39.226562 38.101562 39.546875 C 38.101562 39.867188 38.199219 40.117188 38.398438 40.289062 C 38.59375 40.464844 38.867188 40.554688 39.21875 40.554688 L 41.6875 40.554688 L 41.6875 44.425781 C 40.699219 44.703125 39.707031 44.839844 38.714844 44.839844 C 35.390625 44.839844 33.726562 42.945312 33.726562 39.152344 C 33.726562 37.300781 34.132812 35.90625 34.941406 34.964844 C 35.75 34.023438 36.949219 33.554688 38.539062 33.554688 C 39.238281 33.554688 39.867188 33.644531 40.421875 33.828125 C 40.972656 34.007812 41.574219 34.324219 42.214844 34.777344 C 42.390625 34.894531 42.542969 34.980469 42.671875 35.03125 C 42.804688 35.082031 42.949219 35.105469 43.109375 35.105469 C 43.359375 35.105469 43.570312 34.996094 43.746094 34.777344 C 43.921875 34.558594 44.007812 34.289062 44.007812 33.96875 C 44.007812 33.75 43.96875 33.558594 43.886719 33.398438 C 43.808594 33.238281 43.679688 33.078125 43.503906 32.917969 C 42.191406 31.808594 40.507812 31.257812 38.453125 31.257812 C 36.90625 31.257812 35.5625 31.574219 34.425781 32.207031 C 33.289062 32.84375 32.410156 33.753906 31.789062 34.941406 C 31.171875 36.128906 30.859375 37.535156 30.859375 39.152344 C 30.859375 40.800781 31.171875 42.21875 31.789062 43.40625 C 32.410156 44.597656 33.304688 45.503906 34.46875 46.132812 C 35.636719 46.757812 37.015625 47.070312 38.605469 47.070312 Z M 38.605469 47.070312 "/>\n </g>'},mp3Icon:{extension:".mp3",path:'<g id="surface9" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 43.828125 43.710938 C 43.605469 44.28125 43.273438 44.804688 42.84375 45.265625 C 42.40625 45.730469 41.867188 46.113281 41.242188 46.398438 C 40.597656 46.699219 39.851562 46.855469 39.027344 46.855469 C 38.328125 46.855469 37.703125 46.757812 37.160156 46.570312 C 36.609375 46.378906 36.160156 46.136719 35.769531 45.839844 C 35.386719 45.550781 35.050781 45.210938 34.796875 44.832031 C 34.570312 44.507812 34.394531 44.195312 34.265625 43.890625 C 34.140625 43.59375 34.054688 43.335938 33.996094 43.101562 C 33.792969 42.261719 34.304688 41.417969 35.140625 41.210938 C 35.980469 41.007812 36.828125 41.519531 37.03125 42.355469 C 37.039062 42.390625 37.066406 42.488281 37.144531 42.671875 C 37.191406 42.777344 37.265625 42.914062 37.371094 43.0625 C 37.4375 43.160156 37.53125 43.257812 37.65625 43.351562 C 37.792969 43.453125 37.972656 43.542969 38.195312 43.625 C 38.332031 43.667969 38.59375 43.730469 39.027344 43.730469 C 39.390625 43.730469 39.695312 43.675781 39.925781 43.566406 C 40.1875 43.445312 40.398438 43.300781 40.558594 43.132812 C 40.71875 42.957031 40.839844 42.773438 40.914062 42.578125 C 40.996094 42.371094 41.03125 42.195312 41.03125 42.023438 C 41.03125 41.789062 41 41.585938 40.921875 41.398438 C 40.871094 41.257812 40.785156 41.148438 40.660156 41.039062 C 40.515625 40.910156 40.296875 40.792969 40.011719 40.699219 C 39.6875 40.59375 39.253906 40.539062 38.738281 40.535156 C 37.882812 40.527344 37.1875 39.832031 37.1875 38.972656 L 37.1875 38.832031 C 37.1875 37.984375 37.859375 37.292969 38.699219 37.265625 C 39.070312 37.257812 39.398438 37.195312 39.679688 37.101562 C 39.921875 37.011719 40.121094 36.902344 40.273438 36.773438 C 40.40625 36.652344 40.507812 36.519531 40.582031 36.359375 C 40.652344 36.210938 40.6875 36.027344 40.6875 35.8125 C 40.6875 35.523438 40.644531 35.289062 40.574219 35.125 C 40.5 34.96875 40.414062 34.847656 40.304688 34.757812 C 40.1875 34.660156 40.042969 34.582031 39.867188 34.53125 C 39.402344 34.386719 38.878906 34.398438 38.480469 34.542969 C 38.289062 34.617188 38.121094 34.714844 37.976562 34.84375 C 37.820312 34.984375 37.695312 35.148438 37.59375 35.339844 C 37.484375 35.550781 37.40625 35.773438 37.367188 36.039062 C 37.230469 36.890625 36.429688 37.472656 35.574219 37.335938 C 34.722656 37.195312 34.140625 36.398438 34.28125 35.542969 C 34.378906 34.9375 34.5625 34.378906 34.835938 33.871094 C 35.109375 33.355469 35.464844 32.898438 35.890625 32.519531 C 36.320312 32.132812 36.824219 31.828125 37.382812 31.617188 C 38.433594 31.226562 39.667969 31.199219 40.78125 31.539062 C 41.351562 31.714844 41.863281 31.992188 42.308594 32.355469 C 42.777344 32.753906 43.148438 33.242188 43.414062 33.824219 C 43.679688 34.402344 43.8125 35.070312 43.8125 35.8125 C 43.8125 36.476562 43.679688 37.097656 43.421875 37.660156 C 43.25 38.046875 43.023438 38.394531 42.746094 38.707031 C 43.242188 39.148438 43.609375 39.671875 43.835938 40.261719 C 44.046875 40.804688 44.15625 41.398438 44.15625 42.023438 C 44.15625 42.578125 44.046875 43.148438 43.828125 43.710938 Z M 31.445312 38.492188 C 31.148438 39.140625 30.734375 39.703125 30.199219 40.164062 C 29.6875 40.605469 29.078125 40.957031 28.390625 41.199219 C 27.71875 41.4375 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.859375 24.296875 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.859375 21.875 45 L 21.875 32.8125 C 21.875 31.945312 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.667969 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.03125 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.28125 L 14.015625 43.140625 C 14.007812 43.164062 13.996094 43.191406 13.984375 43.214844 C 13.71875 43.777344 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.9375 44.117188 11.375 43.777344 11.109375 43.214844 L 11.082031 43.160156 L 9.339844 39.101562 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.1875 L 12.527344 39.09375 L 15.59375 32.207031 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.167969 31.261719 C 18.03125 31.261719 18.730469 31.960938 18.730469 32.824219 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.136719 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.136719 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 28.257812 34.902344 C 27.835938 34.550781 27.140625 34.375 26.191406 34.375 L 25 34.375 L 25 38.4375 L 26.191406 38.4375 C 26.621094 38.4375 27.007812 38.375 27.34375 38.253906 C 27.667969 38.140625 27.929688 37.992188 28.148438 37.804688 C 28.34375 37.632812 28.492188 37.4375 28.601562 37.195312 C 28.710938 36.964844 28.757812 36.703125 28.757812 36.40625 C 28.757812 35.324219 28.382812 35.003906 28.257812 34.902344 "/>\n <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 11.34125 13.57875 C 11.345 13.5925 11.3525 13.62375 11.36375 13.67375 C 11.3775 13.7225 11.3975 13.78125 11.42625 13.85 C 11.45375 13.9175 11.49375 13.9875 11.54625 14.0625 C 11.5975 14.13875 11.66625 14.20875 11.75 14.27125 C 11.83375 14.33625 11.9375 14.38875 12.0575 14.43125 C 12.1775 14.4725 12.32 14.49375 12.4875 14.49375 C 12.67875 14.49375 12.845 14.46125 12.9875 14.39375 C 13.13 14.32875 13.24875 14.245 13.34375 14.1425 C 13.43875 14.0425 13.51125 13.93 13.55875 13.8075 C 13.6075 13.6825 13.63125 13.56375 13.63125 13.4475 C 13.63125 13.31125 13.6075 13.1825 13.5625 13.065 C 13.515 12.9475 13.4425 12.845 13.3425 12.7575 C 13.2425 12.67 13.115 12.6 12.96 12.55 C 12.805 12.49875 12.6175 12.4725 12.4 12.4725 L 12.4 12.42625 C 12.57 12.42 12.72375 12.3925 12.8625 12.34375 C 13.0025 12.29625 13.11875 12.2275 13.21625 12.14375 C 13.31375 12.05875 13.3875 11.96 13.44125 11.845 C 13.4925 11.7275 13.52 11.60125 13.52 11.46 C 13.52 11.29375 13.4925 11.1525 13.43875 11.0325 C 13.38375 10.91375 13.31125 10.81625 13.21875 10.74 C 13.1275 10.66375 13.0225 10.6075 12.90375 10.5725 C 12.78625 10.535 12.66375 10.5175 12.5375 10.5175 C 12.395 10.5175 12.26125 10.54 12.14 10.58625 C 12.0175 10.6325 11.91 10.69625 11.81875 10.77875 C 11.72625 10.8625 11.64875 10.96 11.5875 11.07375 C 11.5275 11.18875 11.48625 11.315 11.4625 11.45375 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.475 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/>\n </g>'},mp4Icon:{extension:".mp4",path:'<g id="surface6" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 36.898438 40.625 L 40.625 35.480469 L 40.625 40.625 Z M 28.761719 36.40625 C 28.761719 36.703125 28.707031 36.964844 28.605469 37.195312 C 28.496094 37.433594 28.347656 37.632812 28.148438 37.804688 C 27.929688 37.992188 27.667969 38.144531 27.34375 38.257812 C 27.003906 38.375 26.621094 38.4375 26.191406 38.4375 L 25 38.4375 L 25 34.375 L 26.191406 34.375 C 27.140625 34.375 27.835938 34.554688 28.253906 34.902344 C 28.378906 35.007812 28.761719 35.324219 28.761719 36.40625 Z M 44.6875 43.75 L 43.75 43.75 L 43.75 45.3125 C 43.75 46.175781 43.050781 46.875 42.1875 46.875 C 41.324219 46.875 40.625 46.175781 40.625 45.3125 L 40.625 43.75 L 34.066406 43.75 C 33.199219 43.75 32.503906 43.050781 32.503906 42.1875 L 32.503906 41.875 C 32.503906 41.546875 32.605469 41.226562 32.800781 40.957031 L 39.363281 31.898438 C 39.660156 31.492188 40.128906 31.25 40.628906 31.25 L 42.1875 31.25 C 43.050781 31.25 43.75 31.949219 43.75 32.8125 L 43.75 40.625 L 44.6875 40.625 C 45.550781 40.625 46.25 41.324219 46.25 42.1875 C 46.25 43.050781 45.550781 43.75 44.6875 43.75 Z M 31.445312 38.492188 C 31.148438 39.140625 30.730469 39.703125 30.195312 40.167969 C 29.6875 40.605469 29.082031 40.957031 28.390625 41.203125 C 27.71875 41.441406 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.863281 24.300781 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.863281 21.875 45 L 21.875 32.8125 C 21.875 31.949219 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.671875 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.027344 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.6875 L 14.035156 43.105469 C 14.019531 43.144531 14.003906 43.179688 13.984375 43.214844 C 13.71875 43.78125 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.941406 44.117188 11.378906 43.78125 11.113281 43.214844 C 11.097656 43.183594 11.078125 43.152344 11.066406 43.125 L 9.339844 39.484375 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.191406 L 9.355469 32.226562 L 12.523438 38.90625 L 15.578125 32.242188 C 15.585938 32.226562 15.597656 32.210938 15.605469 32.191406 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.164062 31.261719 C 18.027344 31.261719 18.726562 31.960938 18.726562 32.824219 L 18.726562 45.210938 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface6" mask="url(#mask0)"/>\n <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 14.3 13.5 L 10.90125 13.5 L 10.90125 13.4 L 13.00125 10.5 L 13.5 10.5 L 13.5 14.5 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.47625 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/>\n </g>'},oggIcon:{extension:".ogg",path:'<g id="surface9" clip-path="url(#clip1)">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n </g>\n </defs>\n <g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n <use xlink:href="#surface9" mask="url(#mask0)"/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.976562 47.070312 C 10.464844 47.070312 11.757812 46.75 12.859375 46.109375 C 13.960938 45.46875 14.808594 44.550781 15.40625 43.351562 C 16.003906 42.15625 16.304688 40.757812 16.304688 39.152344 C 16.304688 37.550781 16.007812 36.152344 15.417969 34.964844 C 14.828125 33.777344 13.980469 32.859375 12.882812 32.21875 C 11.78125 31.578125 10.480469 31.257812 8.976562 31.257812 C 7.472656 31.257812 6.167969 31.578125 5.0625 32.21875 C 3.953125 32.859375 3.101562 33.777344 2.511719 34.964844 C 1.921875 36.152344 1.625 37.550781 1.625 39.152344 C 1.625 40.757812 1.925781 42.15625 2.523438 43.351562 C 3.121094 44.550781 3.972656 45.46875 5.070312 46.109375 C 6.171875 46.75 7.472656 47.070312 8.976562 47.070312 Z M 8.976562 44.820312 C 7.546875 44.820312 6.433594 44.332031 5.640625 43.351562 C 4.847656 42.375 4.449219 40.976562 4.449219 39.152344 C 4.449219 37.332031 4.847656 35.933594 5.640625 34.964844 C 6.433594 33.996094 7.546875 33.507812 8.976562 33.507812 C 10.390625 33.507812 11.496094 33.996094 12.289062 34.964844 C 13.085938 35.933594 13.484375 37.332031 13.484375 39.152344 C 13.484375 40.976562 13.085938 42.375 12.289062 43.351562 C 11.496094 44.332031 10.390625 44.820312 8.976562 44.820312 Z M 26.410156 47.070312 C 27.125 47.070312 27.871094 47.011719 28.640625 46.898438 C 29.414062 46.78125 30.09375 46.621094 30.675781 46.414062 C 31.214844 46.242188 31.574219 46.015625 31.75 45.738281 C 31.921875 45.460938 32.011719 44.988281 32.011719 44.316406 L 32.011719 39.613281 C 32.011719 39.292969 31.910156 39.03125 31.703125 38.835938 C 31.5 38.640625 31.230469 38.539062 30.894531 38.539062 L 27.023438 38.539062 C 26.671875 38.539062 26.398438 38.628906 26.203125 38.804688 C 26.007812 38.976562 25.90625 39.226562 25.90625 39.546875 C 25.90625 39.867188 26.007812 40.117188 26.203125 40.289062 C 26.398438 40.464844 26.671875 40.554688 27.023438 40.554688 L 29.496094 40.554688 L 29.496094 44.425781 C 28.503906 44.703125 27.511719 44.839844 26.519531 44.839844 C 23.195312 44.839844 21.53125 42.945312 21.53125 39.152344 C 21.53125 37.300781 21.9375 35.90625 22.746094 34.964844 C 23.554688 34.023438 24.753906 33.554688 26.34375 33.554688 C 27.046875 33.554688 27.671875 33.644531 28.226562 33.828125 C 28.78125 34.007812 29.378906 34.324219 30.019531 34.777344 C 30.195312 34.894531 30.347656 34.980469 30.480469 35.03125 C 30.609375 35.082031 30.757812 35.105469 30.917969 35.105469 C 31.164062 35.105469 31.375 34.996094 31.550781 34.777344 C 31.726562 34.558594 31.8125 34.289062 31.8125 33.96875 C 31.8125 33.75 31.773438 33.558594 31.695312 33.398438 C 31.613281 33.238281 31.484375 33.078125 31.3125 32.917969 C 30 31.808594 28.3125 31.257812 26.257812 31.257812 C 24.710938 31.257812 23.371094 31.574219 22.234375 32.207031 C 21.09375 32.84375 20.214844 33.753906 19.597656 34.941406 C 18.976562 36.128906 18.667969 37.535156 18.667969 39.152344 C 18.667969 40.800781 18.976562 42.21875 19.597656 43.40625 C 20.214844 44.597656 21.109375 45.503906 22.277344 46.132812 C 23.441406 46.757812 24.820312 47.070312 26.410156 47.070312 Z M 42.445312 47.070312 C 43.160156 47.070312 43.902344 47.011719 44.675781 46.898438 C 45.449219 46.78125 46.128906 46.621094 46.710938 46.414062 C 47.25 46.242188 47.609375 46.015625 47.78125 45.738281 C 47.957031 45.460938 48.046875 44.988281 48.046875 44.316406 L 48.046875 39.613281 C 48.046875 39.292969 47.941406 39.03125 47.738281 38.835938 C 47.535156 38.640625 47.265625 38.539062 46.929688 38.539062 L 43.058594 38.539062 C 42.707031 38.539062 42.433594 38.628906 42.238281 38.804688 C 42.039062 38.976562 41.941406 39.226562 41.941406 39.546875 C 41.941406 39.867188 42.039062 40.117188 42.238281 40.289062 C 42.433594 40.464844 42.707031 40.554688 43.058594 40.554688 L 45.53125 40.554688 L 45.53125 44.425781 C 44.539062 44.703125 43.546875 44.839844 42.554688 44.839844 C 39.230469 44.839844 37.566406 42.945312 37.566406 39.152344 C 37.566406 37.300781 37.972656 35.90625 38.78125 34.964844 C 39.589844 34.023438 40.789062 33.554688 42.378906 33.554688 C 43.078125 33.554688 43.707031 33.644531 44.261719 33.828125 C 44.816406 34.007812 45.414062 34.324219 46.054688 34.777344 C 46.230469 34.894531 46.382812 34.980469 46.515625 35.03125 C 46.644531 35.082031 46.792969 35.105469 46.953125 35.105469 C 47.199219 35.105469 47.410156 34.996094 47.585938 34.777344 C 47.761719 34.558594 47.847656 34.289062 47.847656 33.96875 C 47.847656 33.75 47.808594 33.558594 47.726562 33.398438 C 47.648438 33.238281 47.519531 33.078125 47.34375 32.917969 C 46.03125 31.808594 44.347656 31.257812 42.292969 31.257812 C 40.746094 31.257812 39.40625 31.574219 38.265625 32.207031 C 37.128906 32.84375 36.25 33.753906 35.632812 34.941406 C 35.011719 36.128906 34.703125 37.535156 34.703125 39.152344 C 34.703125 40.800781 35.011719 42.21875 35.632812 43.40625 C 36.25 44.597656 37.144531 45.503906 38.3125 46.132812 C 39.476562 46.757812 40.855469 47.070312 42.445312 47.070312 Z M 42.445312 47.070312 "/>\n </g>'},pdfIcon:{extension:".pdf",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.59375 25 L 39.4375 25 C 41.476562 25.003906 43.484375 25.472656 45.3125 26.375 L 45.3125 15.375 C 45.347656 14.191406 44.867188 13.054688 44 12.25 L 34.625 2.875 C 33.875 2.003906 32.773438 1.523438 31.625 1.5625 L 6.625 1.5625 C 5.589844 1.5625 4.75 2.402344 4.75 3.4375 L 4.75 26.375 C 6.566406 25.480469 8.566406 25.007812 10.59375 25 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.71875 L 42.15625 12.5 L 34.53125 12.5 C 34.480469 12.511719 34.425781 12.511719 34.375 12.5 Z M 6.25 25.71875 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.300781 13.980469 32.316406 15.253906 33.75 15.625 C 33.957031 15.675781 34.167969 15.675781 34.375 15.625 L 43.75 15.625 L 43.75 25.71875 C 44.859375 26.09375 45.910156 26.621094 46.875 27.28125 L 46.875 15.375 C 46.964844 13.722656 46.3125 12.117188 45.09375 11 L 35.71875 1.625 C 34.648438 0.523438 33.160156 -0.0664062 31.625 0 L 6.625 0 C 5.703125 -0.015625 4.8125 0.339844 4.152344 0.984375 C 3.496094 1.632812 3.125 2.515625 3.125 3.4375 L 3.125 27.28125 C 4.09375 26.625 5.144531 26.101562 6.25 25.71875 Z M 6.25 25.71875 "/>\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.625 28.125 C 6.335938 28.117188 4.136719 29.023438 2.515625 30.640625 C 0.898438 32.261719 -0.0078125 34.460938 0 36.75 L 0 41.375 C 0 46.136719 3.863281 50 8.625 50 L 41.375 50 C 46.132812 49.984375 49.984375 46.132812 50 41.375 L 50 36.75 C 50 31.988281 46.136719 28.125 41.375 28.125 Z M 8.625 28.125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 14.40625 41.78125 L 12.09375 41.78125 L 12.09375 45.84375 C 12.003906 46.351562 11.5625 46.726562 11.046875 46.726562 C 10.53125 46.726562 10.089844 46.351562 10 45.84375 L 10 34.78125 C 10 34.210938 10.460938 33.75 11.03125 33.75 L 14.40625 33.75 C 15.925781 33.617188 17.390625 34.351562 18.191406 35.648438 C 18.992188 36.945312 18.992188 38.585938 18.191406 39.882812 C 17.390625 41.179688 15.925781 41.914062 14.40625 41.78125 Z M 12.09375 39.6875 L 14.40625 39.6875 C 15.152344 39.78125 15.882812 39.4375 16.289062 38.804688 C 16.691406 38.171875 16.691406 37.359375 16.289062 36.726562 C 15.882812 36.09375 15.152344 35.75 14.40625 35.84375 L 12.09375 35.84375 Z M 12.09375 39.6875 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.3125 45.84375 L 20.3125 34.78125 C 20.3125 34.210938 20.773438 33.75 21.34375 33.75 L 23.5625 33.75 C 27.1875 33.75 30.125 36.6875 30.125 40.3125 C 30.125 43.9375 27.1875 46.875 23.5625 46.875 L 21.34375 46.875 C 20.773438 46.875 20.3125 46.414062 20.3125 45.84375 Z M 22.40625 44.78125 L 23.5625 44.78125 C 26.03125 44.78125 28.03125 42.78125 28.03125 40.3125 C 28.03125 37.84375 26.03125 35.84375 23.5625 35.84375 L 22.40625 35.84375 Z M 22.40625 44.78125 "/>\n <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 33.1875 45.84375 L 33.1875 34.78125 C 33.183594 34.476562 33.3125 34.1875 33.542969 33.992188 C 33.769531 33.792969 34.074219 33.703125 34.375 33.75 L 40.625 33.75 C 41.132812 33.839844 41.507812 34.28125 41.507812 34.796875 C 41.507812 35.3125 41.132812 35.753906 40.625 35.84375 L 35.25 35.84375 L 35.25 39.28125 L 39.625 39.28125 C 40.195312 39.28125 40.65625 39.742188 40.65625 40.3125 C 40.65625 40.882812 40.195312 41.34375 39.625 41.34375 L 35.25 41.34375 L 35.25 45.84375 C 35.257812 46.359375 34.882812 46.796875 34.375 46.875 C 34.074219 46.921875 33.769531 46.832031 33.542969 46.632812 C 33.3125 46.4375 33.183594 46.148438 33.1875 45.84375 Z M 33.1875 45.84375 "/>\n </g>'},defaultIcon:{extension:".default",path:'<g id="surface1">\n <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 3.117188 44.777344 C 1.394531 44.777344 0 43.386719 0 41.671875 L 0 3.484375 C 0 1.769531 1.394531 0.378906 3.117188 0.378906 L 25.792969 0.378906 C 27.164062 0.304688 28.5 0.808594 29.480469 1.765625 L 37.980469 10.230469 C 39.144531 11.242188 39.769531 12.730469 39.683594 14.265625 L 39.683594 41.671875 C 39.683594 43.386719 38.289062 44.777344 36.5625 44.777344 Z M 25.511719 3.203125 L 3.117188 3.203125 C 2.960938 3.203125 2.832031 3.328125 2.832031 3.484375 L 2.832031 41.671875 C 2.832031 41.828125 2.960938 41.957031 3.117188 41.957031 L 36.5625 41.957031 C 36.679688 41.949219 36.785156 41.867188 36.820312 41.757812 L 36.820312 14.492188 L 28.34375 14.492188 C 28.160156 14.539062 27.964844 14.539062 27.777344 14.492188 C 26.480469 14.15625 25.554688 13.007812 25.511719 11.671875 Z M 28.34375 4.640625 L 28.34375 11.671875 C 28.390625 11.683594 28.441406 11.683594 28.488281 11.671875 L 35.402344 11.671875 Z M 28.34375 4.640625 "/>\n </g>'}},xt.MODULES.modals=function(l){var i=l.$;l.shared.modals||(l.shared.modals={});var a,c=l.shared.modals;function e(){for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)){var t=c[e];t&&t.$modal&&t.$modal.removeData().remove()}a&&a.removeData().remove(),c={}}function s(e,t){if(c[e]){var n=c[e].$modal,r=n.data("instance")||l;r.events.enableBlur(),n.hide(),a.hide(),i(r.o_doc).find("body").first().removeClass("fr-prevent-scroll fr-mobile"),n.removeClass("fr-active"),t||(r.accessibility.restoreSelection(),r.events.trigger("modals.hide"))}}function n(e){var t;if("string"==typeof e){if(!c[e])return;t=c[e].$modal}else t=e;return t&&l.node.hasClass(t,"fr-active")&&l.core.sameInstance(t)||!1}return{_init:function t(){l.events.on("shared.destroy",e,!0)},get:function r(e){return c[e]},create:function d(n,e,t){if(e='<div class="fr-modal-head-line">'.concat(e,"</div>"),l.shared.$overlay||(l.shared.$overlay=i(l.doc.createElement("DIV")).addClass("fr-overlay"),i("body").first().append(l.shared.$overlay)),a=l.shared.$overlay,l.opts.theme&&a.addClass("".concat(l.opts.theme,"-theme")),!c[n]){var r=function o(e,t){var n='<div tabIndex="-1" class="fr-modal'.concat(l.opts.theme?" ".concat(l.opts.theme,"-theme"):"",'"><div class="fr-modal-wrapper">'),r='<button title="'.concat(l.language.translate("Cancel"),'" class="fr-command fr-btn fr-modal-close"><svg xmlns="path_to_url" x="0px" y="0px" viewBox="0 0 24 24"><path d="').concat(xt.SVG.close,'"/></svg></button>');n+='<div class="fr-modal-head">'.concat(e).concat(r,"</div>"),n+='<div tabIndex="-1" class="fr-modal-body">'.concat(t,"</div>"),n+="</div></div>";var a=i(l.doc.createElement("DIV"));return a.html(n),a.find("> .fr-modal")}(e,t);c[n]={$modal:r,$head:r.find(".fr-modal-head"),$body:r.find(".fr-modal-body")},l.helpers.isMobile()||r.addClass("fr-desktop"),i("body").first().append(r),l.events.$on(r,"click",".fr-modal-close",function(){s(n)},!0),c[n].$body.css("margin-top",c[n].$head.outerHeight()),l.events.$on(r,"keydown",function(e){var t=e.which;return t===xt.KEYCODE.ESC?(s(n),l.accessibility.focusModalButton(r),!1):!(!i(e.currentTarget).is("input[type=text], textarea")&&t!==xt.KEYCODE.ARROW_UP&&t!==xt.KEYCODE.ARROW_DOWN&&!l.keys.isBrowserAction(e)&&(e.preventDefault(),e.stopPropagation(),1))},!0),s(n,!0)}return c[n]},show:function o(e){if(c[e]){var t=c[e].$modal;t.data("instance",l),t.show(),a.show(),i(l.o_doc).find("body").first().addClass("fr-prevent-scroll"),l.helpers.isMobile()&&i(l.o_doc).find("body").first().addClass("fr-mobile"),t.addClass("fr-active"),l.accessibility.focusModal(t)}},hide:s,resize:function f(e){if(c[e]){var t=c[e],n=t.$modal,r=t.$body,a=l.o_win.innerHeight,o=n.find(".fr-modal-wrapper"),i=a-o.outerHeight(!0)+(o.height()-(r.outerHeight(!0)-r.height())),s="auto";i<r.get(0).scrollHeight&&(s=i),r.height(s)}},isVisible:n,areVisible:function p(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&n(t)&&(void 0===e||c[t].$modal.data("instance")===e))return c[t].$modal;return!1}}},xt.MODULES.position=function(E){var y=E.$;function a(){var e=E.selection.ranges(0).getBoundingClientRect();if(0===e.top&&0===e.left&&0===e.width||0===e.height){var t=!1;0===E.$el.find(".fr-marker").length&&(E.selection.save(),t=!0);var n=E.$el.find(".fr-marker").first();n.css("display","inline"),n.css("line-height","");var r=n.offset(),a=n.outerHeight();n.css("display","none"),n.css("line-height",0),(e={}).left=r&&r.left,e.width=0,e.height=a,e.top=r&&r.top-(E.helpers.isMobile()&&!E.helpers.isIOS()||E.opts.iframe?0:E.helpers.scrollTop()),e.right=1,e.bottom=1,e.ok=!0,t&&E.selection.restore()}return e}function o(e,t,n,r){var a=n.data("container");if(!a||"BODY"===a.get(0).tagName&&"static"===a.css("position")||(e&&(e-=a.offset().left),t&&(t-=a.offset().top),"BODY"!==a.get(0).tagName?(e&&(e+=a.get(0).scrollLeft),t&&(t+=a.get(0).scrollTop)):"absolute"===a.css("position")&&(e&&(e+=a.position().left),t&&(t+=a.position().top))),E.opts.iframe&&a&&E.$tb&&a.get(0)!==E.$tb.get(0)){var o=E.helpers.getPX(E.$wp.find(".fr-iframe").css("padding-top")),i=E.helpers.getPX(E.$wp.find(".fr-iframe").css("padding-left"));e&&(e+=E.$iframe.offset().left+i),t&&(t+=E.$iframe.offset().top+o)}var s=function l(e,t){var n=e.outerWidth(!0);return t+n>E.$sc.get(0).clientWidth-10&&(t=E.$sc.get(0).clientWidth-n-10),t<0&&(t=10),t}(n,e);e&&n.css("left",s),t&&n.css("top",function c(e,t,n){var r=e.outerHeight(!0);if(!E.helpers.isMobile()&&E.$tb&&e.parent().get(0)!==E.$tb.get(0)){var a=e.parent().offset().top,o=t-r-(n||0);e.parent().get(0)===E.$sc.get(0)&&(a-=e.parent().position().top);var i=E.$sc.get(0).clientHeight;a+t+r>E.$sc.offset().top+i&&0<e.parent().offset().top+o&&0<o?o>E.$wp.scrollTop()&&(t=o,e.addClass("fr-above")):e.removeClass("fr-above")}return t}(n,t,r))}function i(e){var n=y(e),t=n.is(".fr-sticky-on"),r=n.data("sticky-top"),a=n.data("sticky-scheduled");if(void 0===r){n.data("sticky-top",0);var o=y('<div class="fr-sticky-dummy" style="height: '.concat(n.outerHeight(),'px;"></div>'));E.$box.prepend(o)}else E.$box.find(".fr-sticky-dummy").css("height",n.outerHeight());if(E.core.hasFocus()||0<E.$tb.findVisible("input:focus").length){var i=E.helpers.scrollTop(),s=Math.min(Math.max(i-E.$tb.parent().offset().top,0),E.$tb.parent().outerHeight()-n.outerHeight());if(s!==r&&s!==a&&(clearTimeout(n.data("sticky-timeout")),n.data("sticky-scheduled",s),n.outerHeight()<i-E.$tb.parent().offset().top&&n.addClass("fr-opacity-0"),n.data("sticky-timeout",setTimeout(function(){var e=E.helpers.scrollTop(),t=Math.min(Math.max(e-E.$tb.parent().offset().top,0),E.$tb.parent().outerHeight()-n.outerHeight());0<t&&"BODY"===E.$tb.parent().get(0).tagName&&(t+=E.$tb.parent().position().top),t!==r&&(n.css("top",Math.max(t,0)),n.data("sticky-top",t),n.data("sticky-scheduled",t)),n.removeClass("fr-opacity-0")},100))),!t){var l=E.$tb.parent(),c=l.get(0).offsetWidth-l.get(0).clientWidth;n.css("top","0"),n.width(l.width()-c),n.addClass("fr-sticky-on"),E.$box.addClass("fr-sticky-box")}}else clearTimeout(y(e).css("sticky-timeout")),n.css("top","0"),n.css("position",""),n.css("width",""),n.data("sticky-top",0),n.removeClass("fr-sticky-on"),E.$box.removeClass("fr-sticky-box")}function t(e){if(e.offsetWidth){var t=y(e),n=t.outerHeight(),r=t.data("sticky-position"),a=y("body"===E.opts.scrollableContainer?E.o_win:E.opts.scrollableContainer).outerHeight(),o=0,i=0;"body"!==E.opts.scrollableContainer&&(o=E.$sc.offset().top,i=y(E.o_win).outerHeight()-o-a);var s="body"===E.opts.scrollableContainer?E.helpers.scrollTop():o,l=t.is(".fr-sticky-on");t.data("sticky-parent")||t.data("sticky-parent",t.parent());var c=t.data("sticky-parent"),d=c.offset().top,f=c.outerHeight();if(t.data("sticky-offset")?E.$box.find(".fr-sticky-dummy").css("height","".concat(n,"px")):(t.data("sticky-offset",!0),t.after('<div class="fr-sticky-dummy" style="height: '.concat(n,'px;"></div>'))),!r){var p="auto"!==t.css("top")||"auto"!==t.css("bottom");p||t.css("position","fixed"),r={top:E.node.hasClass(t.get(0),"fr-top"),bottom:E.node.hasClass(t.get(0),"fr-bottom")},p||t.css("position",""),t.data("sticky-position",r),t.data("top",E.node.hasClass(t.get(0),"fr-top")?t.css("top"):"auto"),t.data("bottom",E.node.hasClass(t.get(0),"fr-bottom")?t.css("bottom"):"auto")}var u=E.helpers.getPX(t.data("top")),h=E.helpers.getPX(t.data("bottom")),g=r.top&&function b(){return d<s+u&&s+u<=d+f-n}()&&(E.helpers.isInViewPort(E.$sc.get(0))||"body"===E.opts.scrollableContainer),m=r.bottom&&function C(){return d+n<s+a-h&&s+a-h<d+f}();if(g||m){var v=c.get(0).offsetWidth-c.get(0).clientWidth;t.css("width","".concat(c.get(0).getBoundingClientRect().width-v,"px")),l||(t.addClass("fr-sticky-on"),t.removeClass("fr-sticky-off"),t.css("top")&&("auto"!==t.data("top")?t.css("top",E.helpers.getPX(t.data("top"))+o):t.data("top","auto")),t.css("bottom")&&("auto"!==t.data("bottom")?t.css("bottom",E.helpers.getPX(t.data("bottom"))+i):t.css("bottom","auto")))}else E.node.hasClass(t.get(0),"fr-sticky-off")||(t.css("width",""),t.removeClass("fr-sticky-on"),t.addClass("fr-sticky-off"),t.css("top")&&"auto"!==t.data("top")&&r.top&&t.css("top",0),t.css("bottom")&&"auto"!==t.data("bottom")&&r.bottom&&t.css("bottom",0))}}function s(){if(E.helpers.requestAnimationFrame()(s),!1!==E.events.trigger("position.refresh"))for(var e=0;e<E._stickyElements.length;e++)if(E.opts.toolbarBottom){var t=E.$tb.parent(),n=t.get(0).offsetWidth-t.get(0).clientWidth,r=y(E._stickyElements[e]);r.width(t.width()-n),r.addClass("fr-sticky-on"),E.$box.addClass("fr-sticky-box")}else i(E._stickyElements[e])}function n(){if(E._stickyElements)for(var e=0;e<E._stickyElements.length;e++)t(E._stickyElements[e])}return{_init:function r(){!function e(){E._stickyElements=[],E.helpers.isIOS()?(s(),E.events.$on(y(E.o_win),"scroll",function(){if(E.core.hasFocus())for(var e=0;e<E._stickyElements.length;e++){var t=y(E._stickyElements[e]),n=t.parent(),r=E.helpers.scrollTop();t.outerHeight()<r-n.offset().top&&(E.opts.toolbarBottom&&E.helpers.isIOS()||(t.addClass("fr-opacity-0"),t.data("sticky-top",-1),t.data("sticky-scheduled",-1)))}},!0)):("body"!==E.opts.scrollableContainer&&E.events.$on(y(E.opts.scrollableContainer),"scroll",n,!0),E.events.$on(y(E.o_win),"scroll",n,!0),E.events.$on(y(E.o_win),"resize",n,!0),E.events.on("initialized",n),E.events.on("focus",n),E.events.$on(y(E.o_win),"resize","textarea",n,!0)),E.events.on("destroy",function(){E._stickyElements=[]})}()},forSelection:function l(e){var t=a();e.css({top:0,left:0});var n=t.top+t.height,r=t.left+t.width/2-e.get(0).offsetWidth/2+E.helpers.scrollLeft();E.opts.iframe||(n+=E.helpers.scrollTop()),o(r,n,e,t.height)},addSticky:function c(e){e.addClass("fr-sticky"),E.helpers.isIOS()&&!E.opts.toolbarBottom&&e.addClass("fr-sticky-ios"),e.removeClass("fr-sticky"),E._stickyElements.push(e.get(0))},refresh:n,at:o,getBoundingRect:a}},xt.MODULES.refresh=function(l){var c=l.$;function o(e,t){e.toggleClass("fr-disabled",t).attr("aria-disabled",t)}function e(e){var t=l.$tb.find('.fr-more-toolbar[data-name="'.concat(e.attr("data-group-name"),'"]')),n=function s(e,t){var n=0,r=t.find("> .fr-command, > .fr-btn-wrap");r.each(function(e,t){n+=c(t).outerWidth()});var a,o=l.helpers.getPX(c(r[0]).css("margin-left")),i=l.helpers.getPX(c(r[0]).css("margin-right"));a="rtl"===l.opts.direction?l.$tb.outerWidth()-e.offset().left+l.$tb.offset().left-(n+e.outerWidth()+r.length*(o+i))/2:e.offset().left-l.$tb.offset().left-(n-e.outerWidth()+r.length*(o+i))/2;a+n+r.length*(o+i)>l.$tb.outerWidth()&&(a-=(n+r.length*(o+i)-e.outerWidth())/2);a<0&&(a=0);return a}(e,t);"rtl"===l.opts.direction?t.css("padding-right",n):t.css("padding-left",n)}return{undo:function t(e){o(e,!l.undo.canDo())},redo:function n(e){o(e,!l.undo.canRedo())},outdent:function i(e){if(l.node.hasClass(e.get(0),"fr-no-refresh"))return!1;if(c("button#markdown-".concat(l.id,".fr-active")).length)return!1;for(var t=l.selection.blocks(),n=0;n<t.length;n++){var r="rtl"===l.opts.direction||"rtl"===c(t[n]).css("direction")?"margin-right":"margin-left",a=t[0].parentElement;if("P"!=a.parentNode.tagName&&"DIV"!=a.parentNode.tagName&&"UL"!=a.parentNode.tagName&&"OL"!=a.parentNode.tagName&&"LI"!=a.parentNode.tagName)return o(e,!0),!0;if(t[0].previousSibling&&"none"==a.parentNode.style.listStyleType)return o(e,!0),!0;if("LI"===t[n].tagName||"LI"===t[n].parentNode.tagName)return o(e,!1),!0;if(0<l.helpers.getPX(c(t[n]).css(r)))return o(e,!1),!0}o(e,!0)},indent:function a(e){if(l.node.hasClass(e.get(0),"fr-no-refresh"))return!1;if(c("button#markdown-".concat(l.id,".fr-active")).length)return!1;for(var t=l.selection.blocks(),n=0;n<t.length;n++){for(var r=t[n].previousSibling;r&&r.nodeType===Node.TEXT_NODE&&0===r.textContent.length;)r=r.previousSibling;if("LI"!==t[n].tagName||r)return o(e,!1),!0;o(e,!0)}},moreText:e,moreParagraph:e,moreMisc:e,moreRich:e}},Object.assign(xt.DEFAULTS,{attribution:!0,toolbarBottom:!1,toolbarButtons:null,toolbarButtonsXS:null,toolbarButtonsSM:null,toolbarButtonsMD:null,toolbarContainer:null,toolbarInline:!1,toolbarSticky:!0,toolbarStickyOffset:0,toolbarVisibleWithoutSelection:!1}),xt.TOOLBAR_BUTTONS={moreText:{buttons:["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","textColor","backgroundColor","inlineClass","inlineStyle","clearFormatting"]},moreParagraph:{buttons:["alignLeft","alignCenter","formatOLSimple","alignRight","alignJustify","formatOL","formatUL","paragraphFormat","paragraphStyle","lineHeight","outdent","indent","quote"]},moreRich:{buttons:["trackChanges","markdown","insertLink","insertFiles","insertImage","insertVideo","insertTable","emoticons","fontAwesome","specialCharacters","embedly","insertFile","insertHR"],buttonsVisible:4},moreMisc:{buttons:["undo","redo","fullscreen","print","getPDF","spellChecker","selectAll","html","help"],align:"right",buttonsVisible:2},trackChanges:{buttons:["showChanges","applyAll","removeAll","applyLast","removeLast"],buttonsVisible:0}},xt.TOOLBAR_BUTTONS_MD=null,(xt.TOOLBAR_BUTTONS_SM={}).moreText=Object.assign({},xt.TOOLBAR_BUTTONS.moreText,{buttonsVisible:2}),xt.TOOLBAR_BUTTONS_SM.moreParagraph=Object.assign({},xt.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:2}),xt.TOOLBAR_BUTTONS_SM.moreRich=Object.assign({},xt.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:2}),xt.TOOLBAR_BUTTONS_SM.moreMisc=Object.assign({},xt.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),xt.TOOLBAR_BUTTONS_SM.trackChanges=Object.assign({},xt.TOOLBAR_BUTTONS.trackChanges,{buttonsVisible:0}),(xt.TOOLBAR_BUTTONS_XS={}).moreText=Object.assign({},xt.TOOLBAR_BUTTONS.moreText,{buttonsVisible:0}),xt.TOOLBAR_BUTTONS_XS.moreParagraph=Object.assign({},xt.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:0}),xt.TOOLBAR_BUTTONS_XS.moreRich=Object.assign({},xt.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:0}),xt.TOOLBAR_BUTTONS_XS.moreMisc=Object.assign({},xt.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),xt.TOOLBAR_BUTTONS_XS.trackChanges=Object.assign({},xt.TOOLBAR_BUTTONS.trackChanges,{buttonsVisible:0}),xt.POWERED_BY='<a id="fr-logo" href="path_to_url" target="_blank" title="Froala WYSIWYG HTML Editor"><span>Powered by</span><svg id="Layer_1" data-name="Layer 1" xmlns="path_to_url" viewBox="0 0 822.8 355.33"><defs><style>.fr-logo{fill:#b1b2b7;}</style></defs><title>Froala</title><path class="fr-logo" d="M123.58,78.65A16.16,16.16,0,0,0,111.13,73H16.6C7.6,73,0,80.78,0,89.94V128.3a16.45,16.45,0,0,0,32.9,0V104.14h78.5A15.63,15.63,0,0,0,126.87,91.2,15.14,15.14,0,0,0,123.58,78.65Z"/><path class="fr-logo" d="M103.54,170a16.05,16.05,0,0,0-11.44-4.85H15.79A15.81,15.81,0,0,0,0,180.93v88.69a16.88,16.88,0,0,0,5,11.92,16,16,0,0,0,11.35,4.7h.17a16.45,16.45,0,0,0,16.41-16.6v-73.4H92.2A15.61,15.61,0,0,0,107.89,181,15.1,15.1,0,0,0,103.54,170Z"/><path class="fr-logo" d="M233,144.17c-5.29-6.22-16-7.52-24.14-7.52-16.68,0-28.72,7.71-36.5,23.47v-5.67a16.15,16.15,0,1,0-32.3,0v115.5a16.15,16.15,0,1,0,32.3,0v-38.7c0-19.09,3.5-63.5,35.9-63.5a44.73,44.73,0,0,1,5.95.27h.12c12.79,1.2,20.06-2.73,21.6-11.69C236.76,151.48,235.78,147.39,233,144.17Z"/><path class="fr-logo" d="M371.83,157c-13.93-13.11-32.9-20.33-53.43-20.33S279,143.86,265.12,157c-14.67,13.88-22.42,32.82-22.42,54.77,0,21.68,8,41.28,22.4,55.2,13.92,13.41,32.85,20.8,53.3,20.8s39.44-7.38,53.44-20.79c14.55-13.94,22.56-33.54,22.56-55.21S386.39,170.67,371.83,157Zm-9.73,54.77c0,25.84-18.38,44.6-43.7,44.6s-43.7-18.76-43.7-44.6c0-25.15,18.38-43.4,43.7-43.4S362.1,186.59,362.1,211.74Z"/><path class="fr-logo" d="M552.7,138.14a16.17,16.17,0,0,0-16,16.3v1C526.41,143.85,509,136.64,490,136.64c-19.83,0-38.19,7.24-51.69,20.4C424,171,416.4,190,416.4,212c0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,552.7,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C513.73,168.34,536.4,183.55,536.4,211.74Z"/><path class="fr-logo" d="M623.5,61.94a16.17,16.17,0,0,0-16,16.3v191.7a16.15,16.15,0,1,0,32.3,0V78.24A16.32,16.32,0,0,0,623.5,61.94Z"/><path class="fr-logo" d="M806.5,138.14a16.17,16.17,0,0,0-16,16.3v1c-10.29-11.63-27.74-18.84-46.7-18.84-19.83,0-38.19,7.24-51.69,20.4-14.33,14-21.91,33-21.91,55,0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,806.5,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C767.53,168.34,790.2,183.55,790.2,211.74Z"/></svg></a>',xt.MODULES.toolbar=function(y){var L,_=y.$,t=[];function e(e){var n={};if(Array.isArray(e)){if(!Array.isArray(e[0])){for(var t=[],r=[],a=0;a<e.length;a++)"|"===e[a]||"-"===e[a]?(0<r.length&&t.push(r),r=[]):r.push(e[a]);0<r.length&&t.push(r),e=t}e.forEach(function(e,t){n["group".concat(t+1)]={buttons:e}}),n.showMoreButtons=!1}else"object"!==kt(e)||Array.isArray(e)||((n=e).showMoreButtons=!0);return n}function w(){var e=y.helpers.screenSize();return t[L=e]}function A(){for(var e=y.$tb.find(".fr-more-toolbar"),t=0;t<e.length;t++){var c=_(e[t]);c.hasClass("fr-expanded")?function(){var n=y.helpers.getPX(c.css("padding-left")),e=c.find("> .fr-command, > .fr-btn-wrap"),t=_(e[0]),r=y.helpers.getPX(t.css("margin-left")),a=y.helpers.getPX(t.css("margin-right")),o=y.helpers.getPX(t.css("margin-top")),i=y.helpers.getPX(t.css("margin-bottom"));if(e.each(function(e,t){n+=_(t).outerWidth()+r+a}),y.$tb.outerWidth()<n){var s=Math.floor(n/y.$tb.outerWidth());n+=s*(n/c[0].childElementCount),s=Math.ceil(n/y.$tb.outerWidth());var l=(y.helpers.getPX(t.css("height"))+o+i)*s;c.css("height",l)}}():c.css("height","")}!y.helpers.isMobile()&&y.opts.toolbarBottom?y.$tb.find(".fr-toolbar .fr-more-toolbar").removeClass("position-relative"):y.$tb.find(".fr-toolbar .fr-more-toolbar").addClass("position-relative")}function r(){if(0==_("[data-name='trackChanges-".concat(y.id,"']")).length){_(".fr-toolbar").append(_('<div class="fr-more-toolbar"></div>').data("name","trackChanges-".concat(y.id)));for(var e=0,t=["showChanges","applyAll","removeAll","applyLast","removeLast"];e<t.length;e++){var n=t[e],r=xt.COMMANDS[n];r.more_btn=!0;var a=_(y.button.build(n,r,!0));y.button.addButtons(a),_("[data-name='trackChanges-".concat(y.id,"']")).append(a)}}if(L!==y.helpers.screenSize()){var o=w(),i=_(),s=_();for(var l in y.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").addClass("fr-hidden"),function E(){for(var t=y.$tb.find(".fr-btn-grp, .fr-more-toolbar"),r=function r(e){var n=_(t[e]);n.children().each(function(e,t){n.before(t)}),n.remove()},e=0;e<t.length;e++)r(e)}(),o){var c=o[l];if(c.buttons){var d=void 0,f=0,p=3,u=void 0;"trackChanges"!==l&&(u=_('<div class="fr-btn-grp fr-float-'.concat(o[l].align?o[l].align:"left",'"></div>'))),o.showMoreButtons&&(d=_('<div class="fr-more-toolbar"></div>').data("name","".concat(l,"-").concat(y.id)),"trackChanges"!==l&&"moreRich"!==l||!y.opts.trackChangesEnabled||d.addClass("fr-expanded"));for(var h=0;h<c.buttons.length;h++){c.buttonsVisible!==undefined&&(p=c.buttonsVisible);var g=y.$tb.find('> .fr-command[data-cmd="'+c.buttons[h]+'"], > div.fr-btn-wrap > .fr-command[data-cmd="'+c.buttons[h]+'"]'),m=null;y.node.hasClass(g.next().get(0),"fr-dropdown-menu")&&(m=g.next()),y.node.hasClass(g.next().get(0),"fr-options")&&(g.removeClass("fr-hidden"),g.next().removeClass("fr-hidden"),g=g.parent()),g.removeClass("fr-hidden"),o.showMoreButtons&&p<=f?(d.append(g),m&&d.append(m)):(u.append(g),m&&u.append(m)),f++}if(o.showMoreButtons&&p<f){var v=y.$tb.find('.fr-command[data-cmd="'.concat(l,'"]'));if(0<v.length)v.removeClass("fr-hidden fr-open");else{var b=l,C=xt.COMMANDS[b];C.more_btn=!0,v=_(y.button.build(b,C,!0)),y.button.addButtons(v)}u&&u.append(v)}u&&i.push(u),o.showMoreButtons&&s.push(d)}}y.opts.toolbarBottom?(y.$tb.append(s),y.$tb.find(".fr-newline").remove(),y.$tb.append('<div class="fr-newline"></div>'),y.$tb.append(i)):(y.$tb.append(i),y.$tb.find(".fr-newline").remove(),y.$tb.append('<div class="fr-newline"></div>'),y.$tb.append(s)),y.$tb.removeClass("fr-toolbar-open"),y.$box.removeClass("fr-toolbar-open"),y.events.trigger("codeView.toggle")}A()}function n(e,t){setTimeout(function(){if((!e||e.which!=xt.KEYCODE.ESC)&&y.selection.inEditor()&&y.core.hasFocus()&&!y.popups.areVisible()&&"false"!=_(y.selection.blocks()[0]).closest("table").attr("contenteditable")&&(y.opts.toolbarVisibleWithoutSelection||!y.selection.isCollapsed()&&!y.keys.isIME()||t)){if(y.$tb.data("instance",y),!1===y.events.trigger("toolbar.show",[e]))return;y.$tb.show(),y.opts.toolbarContainer||y.position.forSelection(y.$tb),1<y.opts.zIndex?y.$tb.css("z-index",y.opts.zIndex+1):y.$tb.css("z-index",null)}},0)}function a(e){return(!e||"blur"!==e.type||document.activeElement!==y.el)&&(!(!e||"keydown"!==e.type||!y.keys.ctrlKey(e))||(!!y.button.getButtons(".fr-dropdown.fr-active").next().find(y.o_doc.activeElement).length||(y.helpers.isMobile()&&y.opts.toolbarInline&&(y.$tb.find(".fr-expanded").toggleClass("fr-expanded"),y.$tb.find(".fr-open").removeClass("fr-open"),y.$tb.removeClass("fr-toolbar-open"),A()),void(!1!==y.events.trigger("toolbar.hide")&&y.$tb.hide()))))}t[xt.XS]=e(y.opts.toolbarButtonsXS||y.opts.toolbarButtons||xt.TOOLBAR_BUTTONS_XS||xt.TOOLBAR_BUTTONS||[]),t[xt.SM]=e(y.opts.toolbarButtonsSM||y.opts.toolbarButtons||xt.TOOLBAR_BUTTONS_SM||xt.TOOLBAR_BUTTONS||[]),t[xt.MD]=e(y.opts.toolbarButtonsMD||y.opts.toolbarButtons||xt.TOOLBAR_BUTTONS_MD||xt.TOOLBAR_BUTTONS||[]),t[xt.LG]=e(y.opts.toolbarButtons||xt.TOOLBAR_BUTTONS||[]);var o=null;function i(e){clearTimeout(o),e&&e.which===xt.KEYCODE.ESC||(o=setTimeout(n,y.opts.typingTimer))}function s(){y.events.on("window.mousedown",a),y.events.on("keydown",a),y.events.on("blur",a),y.events.$on(y.$tb,"transitionend",".fr-more-toolbar",function(){y.position.forSelection(y.$tb)}),y.helpers.isMobile()||y.events.on("window.mouseup",n),y.helpers.isMobile()?y.helpers.isIOS()||(y.events.on("window.touchend",n),y.browser.mozilla&&setInterval(n,200)):y.events.on("window.keyup",i),y.events.on("keydown",function(e){e&&e.which===xt.KEYCODE.ESC&&y.events.trigger("toolbar.esc")}),y.events.on("keydown",function(e){if(e.which===xt.KEYCODE.ALT)return e.stopPropagation(),!1},!0),y.events.$on(y.$wp,"scroll.toolbar",n),y.events.on("commands.after",n),y.helpers.isMobile()&&(y.events.$on(y.$doc,"selectionchange",i),y.events.$on(y.$doc,"orientationchange",n))}function l(){y.$tb.html("").removeData().remove(),y.$tb=null,y.$second_tb&&(y.$second_tb.html("").removeData().remove(),y.$second_tb=null)}function c(){y.$box.removeClass("fr-top fr-bottom fr-inline fr-basic"),y.$box.find(".fr-sticky-dummy").remove()}function d(){y.opts.theme&&y.$tb.addClass("".concat(y.opts.theme,"-theme")),1<y.opts.zIndex&&y.$tb.css("z-index",y.opts.zIndex+1),"auto"!==y.opts.direction&&y.$tb.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(y.opts.direction)),y.helpers.isMobile()?y.$tb.addClass("fr-mobile"):y.$tb.addClass("fr-desktop"),y.opts.toolbarContainer?(y.opts.toolbarInline&&(s(),a()),y.opts.toolbarBottom?y.$tb.addClass("fr-bottom"):y.$tb.addClass("fr-top")):function e(){y.opts.toolbarInline?(y.$sc.append(y.$tb),y.$tb.data("container",y.$sc),y.$tb.addClass("fr-inline"),s(),y.opts.toolbarBottom=!1):(y.opts.toolbarBottom?(y.$box.append(y.$tb),y.$tb.addClass("fr-bottom"),y.$box.addClass("fr-bottom")):(y.opts.toolbarBottom=!1,y.$box.prepend(y.$tb),y.$tb.addClass("fr-top"),y.$box.addClass("fr-top")),y.$tb.addClass("fr-basic"),y.opts.toolbarSticky&&(y.opts.toolbarStickyOffset&&(y.opts.toolbarBottom?y.$tb.css("bottom",y.opts.toolbarStickyOffset):y.$tb.css("top",y.opts.toolbarStickyOffset)),y.position.addSticky(y.$tb)))}(),function t(){var e=y.button.buildGroup(w());y.$tb.append(e),A(),y.button.bindCommands(y.$tb)}(),function n(){y.events.$on(_(y.o_win),"resize",r),y.events.$on(_(y.o_win),"orientationchange",r)}(),y.accessibility.registerToolbar(y.$tb),y.events.$on(y.$tb,"".concat(y._mousedown," ").concat(y._mouseup),function(e){var t=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;if(t&&"INPUT"!==t.tagName&&!y.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1},!0),y.events.$on(y.$tb,"transitionend",".fr-more-toolbar",function(){y.$box.hasClass("fr-fullscreen")&&(y.opts.height=y.o_win.innerHeight-(y.opts.toolbarInline?0:y.$tb.outerHeight()+(y.$second_tb?y.$second_tb.outerHeight():0)),y.size.refresh())})}var f=!1;return{_init:function p(){if(y.$sc=_(y.opts.scrollableContainer).first(),!y.$wp)return!1;y.opts.toolbarInline||y.opts.toolbarBottom||(y.$second_tb=_(y.doc.createElement("div")).attr("class","fr-second-toolbar"),y.$box.append(y.$second_tb),(!1!==y.ul||y.opts.attribution)&&y.$second_tb.prepend(xt.POWERED_BY)),y.opts.toolbarContainer?(y.shared.$tb?(y.$tb=y.shared.$tb,y.opts.toolbarInline&&s()):(y.shared.$tb=_(y.doc.createElement("DIV")),y.shared.$tb.addClass("fr-toolbar"),y.$tb=y.shared.$tb,_(y.opts.toolbarContainer).append(y.$tb),d(),y.$tb.data("instance",y)),y.helpers.isMobile()&&y.events.$on(y.$tb,"click",function(){y.popups.areVisible().length||y.id!==y.shared.selected_editor||y.$el.focus()}),y.opts.toolbarInline?y.$box.addClass("fr-inline"):y.$box.addClass("fr-basic"),y.events.on("focus",function(){y.$tb.data("instance",y)},!0),y.opts.toolbarInline=!1):y.opts.toolbarInline?(y.$box.addClass("fr-inline"),y.shared.$tb?(y.$tb=y.shared.$tb,s()):(y.shared.$tb=_(y.doc.createElement("DIV")),y.shared.$tb.addClass("fr-toolbar"),y.$tb=y.shared.$tb,d())):(y.$box.addClass("fr-basic"),y.$tb=_(y.doc.createElement("DIV")),y.$tb.addClass("fr-toolbar"),d(),y.$tb.data("instance",y)),y.events.on("destroy",c,!0),y.events.on(y.opts.toolbarInline||y.opts.toolbarContainer?"shared.destroy":"destroy",l,!0),y.events.on("edit.on",function(){y.$tb.removeClass("fr-disabled").removeAttr("aria-disabled")}),y.events.on("edit.off",function(){y.$tb.addClass("fr-disabled").attr("aria-disabled",!0)}),function e(){y.events.on("shortcut",function(e,t,n){var r;if(t&&!n?r=y.$tb.find('.fr-command[data-cmd="'.concat(t,'"]')):t&&n&&(r=y.$tb.find('.fr-command[data-cmd="'.concat(t,'"][data-param1="').concat(n,'"]'))),r.length&&(e.preventDefault(),e.stopPropagation(),r.parents(".fr-toolbar").data("instance",y),"keydown"===e.type))return y.button.exec(r),!1})}()},hide:a,show:function u(){if(!1===y.events.trigger("toolbar.show"))return!1;y.$tb.show()},showInline:n,disable:function h(){!f&&y.$tb&&(y.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").addClass("fr-disabled fr-no-refresh").attr("aria-disabled",!0),f=!0)},enable:function g(){f&&y.$tb&&(y.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").removeClass("fr-disabled fr-no-refresh").attr("aria-disabled",!1),f=!1),y.button.bulkRefresh()},setMoreToolbarsHeight:A}};var c=["scroll","wheel","touchmove","touchstart","touchend"],d=["webkit","moz","ms","o"],f=["transitionend"],a=document.createElement("div").style,o=["Webkit","Moz","ms","O","css","style"],s={visibility:"hidden",display:"block"},r=["focus","blur","click"],i={},l=function l(e,t){return{altKey:e.altKey,bubbles:e.bubbles,cancelable:e.cancelable,changedTouches:e.changedTouches,ctrlKey:e.ctrlKey,detail:e.detail,eventPhase:e.eventPhase,metaKey:e.metaKey,pageX:e.pageX,pageY:e.pageY,shiftKey:e.shiftKey,view:e.view,"char":e["char"],key:e.key,keyCode:e.keyCode,button:e.button,buttons:e.buttons,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,pointerId:e.pointerId,pointerType:e.pointerType,screenX:e.screenX,screenY:e.screenY,targetTouches:e.targetTouches,toElement:e.toElement,touches:e.touches,type:e.type,which:e.which,target:e.target,currentTarget:t,originalEvent:e,stopPropagation:function(){e.stopPropagation()},stopImmediatePropagation:function(){e.stopImmediatePropagation()},preventDefault:function(){-1===c.indexOf(e.type)&&e.preventDefault()}}},p=function p(e){return e.ownerDocument&&e.ownerDocument.body.contains(e)||"#document"===e.nodeName||"HTML"===e.nodeName||e===window},u=function u(n,r){return function(e){var t=e.target;if(r)for(r=g(r);t&&t!==this;)Element.prototype.matches.call(t,g(r))&&n.call(t,l(e,t)),t=t.parentNode;else p(t)&&n.call(t,l(e,t))}},h=function h(e,t){return new b(e,t)},g=function g(e){return e&&"string"==typeof e?e.replace(/^\s*>/g,":scope >").replace(/,\s*>/g,", :scope >"):e},m=function m(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=h;h.fn=h.prototype={constructor:h,length:0,contains:function(e){if(!e)return!1;if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(this.contains(e[t])&&this!=e[t])return!0;return!1}for(var n=0;n<this.length;n++)for(var r=e;r;){if(r==this[n]||r[0]&&r[0].isEqualNode(this[n]))return!0;r=r.parentNode}return!1},findVisible:function(e){for(var t=this.find(e),n=t.length-1;0<=n;n--)v(t[n]).isVisible()||t.splice(n,1);return t},formatParams:function(t){var e="".concat(Object.keys(t).map(function(e){return"".concat(e,"=").concat(encodeURIComponent(t[e]))}).join("&"));return e||""},ajax:function(t){var n=new XMLHttpRequest,e=this.formatParams(t.data);for(var r in"GET"===t.method.toUpperCase()&&(t.url=e?t.url+"?"+e:t.url),n.open(t.method,t.url,!0),t.withCredentials&&(n.withCredentials=!0),t.crossDomain&&n.setRequestHeader("Access-Control-Allow-Origin","*"),t.headers)Object.prototype.hasOwnProperty.call(t.headers,r)&&n.setRequestHeader(r,t.headers[r]);Object.prototype.hasOwnProperty.call(t.headers,"Content-Type")||("json"===t.dataType?n.setRequestHeader("Content-Type","application/json"):n.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8")),n.onload=function(){if(200==n.status){var e=n.responseText;"json"===t.dataType&&(e=JSON.parse(e)),t.done(e,n.status,n)}else t.fail(n)},n.send(e)},prevAll:function(){var e=v();if(!this[0])return e;for(var t=this[0];t&&t.previousSibling;)t=t.previousSibling,e.push(t);return e},index:function(e){return e?"string"==typeof e?[].indexOf.call(v(e),this[0]):[].indexOf.call(this,e.length?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},isVisible:function(){return!!this[0]&&!!(this[0].offsetWidth||this[0].offsetHeight||this[0].getClientRects().length)},toArray:function(){return[].slice.call(this)},get:function(e){return null==e?[].slice.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=h.merge(this.constructor(),e);return t.prevObject=this,t},wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=h(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){if("string"==typeof e){for(var t=e.split(" "),n=0;n<t.length&&0===t[n].trim().length;)n++;if(n<t.length&&(v(e).length&&t[n].trim()===v(e)[0].tagName&&(e=document.createElement(t[n].trim())),n++),"string"!=typeof e)for(var r=v(e);n<t.length;n++){t[n]=t[n].trim();var a=t[n].split("=");r.attr(a[0],a[1].replace('"',""))}}for(;this[0].firstChild&&this[0].firstChild!==e&&"string"!=typeof e;)e.appendChild(this[0].firstChild)},wrap:function(t){var n=m(t);return this.each(function(e){v(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){this.nodeName&&this.nodeName.toLowerCase()===name.toLowerCase()||h(this).replaceWith(this.childNodes)})},grep:function(e,t,n){for(var r=[],a=0,o=e.length,i=!n;a<o;a++)!t(e[a],a)!==i&&r.push(e[a]);return r},map:function(n){return this.pushStack(h.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack([].slice.apply(this,arguments))},each:function(e){if(this.length)for(var t=0;t<this.length&&!1!==e.call(this[t],t,this[t]);t++);return this},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},empty:function(){for(var e=0;e<this.length;e++)this[e].innerHTML=""},contents:function(){for(var e=v(),t=0;t<this.length;t++)for(var n=this[t].childNodes,r=0;r<n.length;r++)e.push(n[r]);return e},attr:function(e,t){if("object"===kt(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&null!==e[n]&&this.attr(n,e[n]);return this}if(void 0===t)return 0===this.length||!this[0].getAttribute&&"checked"!==e?undefined:"checked"===e?this[0].checked:"tagName"===e?this[0].tagName:this[0].getAttribute(e);if("checked"===e)for(var r=0;r<this.length;r++)this[r].checked=t;else if("tagName"===e)for(var a=0;a<this.length;a++)this[a].tagName=t;else for(var o=0;o<this.length;o++)this[o].setAttribute(e,t);return this},removeAttr:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute&&this[t].removeAttribute(e);return this},hide:function(){return this.css("display","none"),this},show:function(){return this.css("display","block"),this},focus:function(){return this.length&&this[0].focus(),this},blur:function(){return this.length&&this[0].blur(),this},data:function(e,t){if(void 0!==t){for(var n=0;n<this.length;n++)"object"!==kt(this[n]["data-"+e]=t)&&"function"!=typeof t&&this[n].setAttribute&&this[n].setAttribute("data-"+e,t);return this}if(void 0!==t)return this.attr("data-"+e,t);if(0===this.length)return undefined;for(var r=0;r<this.length;r++){var a=this[r]["data-"+e];if(null==a&&this[r].getAttribute&&(a=this[r].getAttribute("data-"+e)),void 0!==a&&null!=a)return a}return undefined},removeData:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute&&this[t].removeAttribute("data-"+e),this[t]["data-"+e]=null;return this},getCorrectStyleName:function(e){if(!i[e]){var t;e in a&&(t=e);for(var n=e[0].toUpperCase()+e.slice(1),r=o.length;r--;)(e=o[r]+n)in a&&(t=e);i[e]=t}return i[e]},css:function(e,t){if(void 0!==t){if(0===this.length)return this;("string"!=typeof t||""===t.trim()||isNaN(t))&&"number"!=typeof t||!/(margin)|(padding)|(height)|(width)|(top)|(left)|(right)|(bottom)/gi.test(e)||/(line-height)/gi.test(e)||(t+="px");for(var n=0;n<this.length;n++)e=v(this).getCorrectStyleName(e),this[n].style[e]=t;return this}if("string"==typeof e){if(0===this.length)return undefined;var r=this[0].ownerDocument||document,a=r.defaultView||r.parentWindow;return e=v(this).getCorrectStyleName(e),a.getComputedStyle(this[0])[e]}for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&this.css(o,e[o]);return this},toggleClass:function(e,t){if(1<e.split(" ").length){for(var n=e.split(" "),r=0;r<n.length;r++)this.toggleClass(n[r],t);return this}for(var a=0;a<this.length;a++)void 0===t?this[a].classList.contains(e)?this[a].classList.remove(e):this[a].classList.add(e):t?this[a].classList.contains(e)||this[a].classList.add(e):this[a].classList.contains(e)&&this[a].classList.remove(e);return this},addClass:function(e){if(0===e.length)return this;if(1<e.split(" ").length){for(var t=e.split(" "),n=0;n<t.length;n++)this.addClass(t[n]);return this}for(var r=0;r<this.length;r++)this[r].classList.add(e);return this},removeClass:function(e){if(1<e.split(" ").length){for(var t=e.split(" "),n=0;n<t.length;n++)t[n]=t[n].trim(),t[n].length&&this.removeClass(t[n]);return this}for(var r=0;r<this.length;r++)e.length&&this[r].classList.remove(e);return this},getClass:function(e){return e.getAttribute&&e.getAttribute("class")||""},stripAndCollapse:function(e){return(e.match(/[^\x20\t\r\n\f]+/g)||[]).join(" ")},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+v(this).stripAndCollapse(v(this).getClass(n))+" ").indexOf(t))return!0;return!1},scrollTop:function(e){if(void 0===e)return 0===this.length?undefined:this[0]===document?document.documentElement.scrollTop:this[0].scrollTop;for(var t=0;t<this.length;t++)this[t]===document?window.scrollTo(document.documentElement.scrollLeft,e):this[t].scrollTop=e},scrollLeft:function(e){if(void 0===e)return 0===this.length?undefined:this[0]===document?document.documentElement.scrollLeft:this[0].scrollLeft;for(var t=0;t<this.length;t++)this[t]===document?window.scrollTo(e,document.documentElement.scrollTop):this[t].scrollLeft=e},on:function(e,t,n){if(1<e.split(" ").length){for(var r=e.split(" "),a=0;a<r.length;a++)if(-1!==f.indexOf(e))for(var o=0;o<d.length;o++)this.on(d[o]+e[0].toUpperCase()+e.slice(1),t,n);else this.on(r[a],t,n);return this}n="function"==typeof t?u(t,null):u(n,t);for(var i=0;i<this.length;i++){var s=v(this[i]);s.data("events")||s.data("events",[]),s.data("events").push([e,n]);var l=e.split(".");l=l[0],0<=c.indexOf(l)?s.get(0).addEventListener(l,n,{passive:!0}):s.get(0).addEventListener(l,n)}},off:function(e){if(1<e.split(" ").length){for(var t=e.split(" "),n=0;n<t.length;n++)this.off(t[n]);return this}for(var r=0;r<this.length;r++){var a=v(this[r]);if(a.data("events")){var o=e.split(".");o=o[0];for(var i=a.data("events")||[],s=i.length-1;0<=s;s--){var l=i[s];l[0]==e&&(a.get(0).removeEventListener(o,l[1]),i.splice(s,1))}}}},trigger:function(e){for(var t=0;t<this.length;t++){var n=void 0;"function"==typeof Event?n=0<=e.search(/^mouse/g)?new MouseEvent(e,{view:window,cancelable:!0,bubbles:!0}):new Event(e):0<=e.search(/^mouse/g)?(n=document.createEvent("MouseEvents")).initMouseEvent(e,!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null):(n=document.createEvent("Event")).initEvent(e,!0,!0),0<=r.indexOf(e)&&"function"==typeof this[t][e]?this[t][e]():this[t].dispatchEvent(n)}},triggerHandler:function(){},val:function(e){if(void 0===e)return this[0].value;for(var t=0;t<this.length;t++)this[t].value=e;return this},siblings:function(){return v(this[0]).parent().children().not(this)},find:function(e){var t=v();if("string"!=typeof e){for(var n=0;n<e.length;n++)for(var r=0;r<this.length;r++)if(this[r]!==e[n]&&v(this[r]).contains(e[n])){t.push(e[n]);break}return t}var a=function a(e){return"object"===("undefined"==typeof HTMLElement?"undefined":kt(HTMLElement))?e instanceof HTMLElement:e&&"object"===kt(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};e=g(e);for(var o=0;o<this.length;o++)if(this[o].querySelectorAll){var i=[];if(e&&"string"==typeof e)try{i=this[o].querySelectorAll(e)}catch(l){i=this[o].children}else a(e)&&(i=[e]);for(var s=0;s<i.length;s++)t.push(i[s])}return t},children:function(){for(var e=v(),t=0;t<this.length;t++)for(var n=this[t].children,r=0;r<n.length;r++)e.push(n[r]);return e},not:function(e){if("string"==typeof e)for(var t=this.length-1;0<=t;t--)Element.prototype.matches.call(this[t],e)&&this.splice(t,1);else if(e instanceof h){for(var n=this.length-1;0<=n;n--)for(var r=0;r<e.length;r++)if(this[n]===e[r]){this.splice(n,1);break}}else for(var a=this.length-1;0<=a;a--)this[a]===e[0]&&this.splice(a,1);return this},add:function(e){for(var t=0;t<e.length;t++)this.push(e[t]);return this},closest:function(e){for(var t=0;t<this.length;t++){var n=Element.prototype.closest.call(this[t],e);if(n)return v(n)}return v()},html:function(e){if(void 0===e)return 0===this.length?undefined:this[0].innerHTML;if("string"==typeof e)for(var t=0;t<this.length;t++){this[t].innerHTML=e;for(var n=this[t].children,r=this[t].ownerDocument||document,a=0;a<n.length;a++)if("SCRIPT"===n[a].tagName){var o=r.createElement("script");o.innerHTML=n[a].innerHTML,n[a].hasAttribute("async")&&o.setAttribute("async",""),o.src=n[a].src,n[a].hasAttribute("defer")&&o.setAttribute("defer",""),r.head.appendChild(o).parentNode.removeChild(o)}}else{this[0].innerHTML="",this.append(e[0]);var i=this[0].ownerDocument||document;if("SCRIPT"===e[0].tagName){var s=i.createElement("script");s.innerHTML=e[0].innerHTML,i.head.appendChild(s).parentNode.removeChild(s)}}return this},text:function(e){if(!e)return this.length?this[0].textContent:"";for(var t=0;t<this.length;t++)this[t].textContent=e},after:function e(t){if(t)if("string"==typeof t)for(var n=0;n<this.length;n++){var e=this[n];if(e.nodeType!=Node.ELEMENT_NODE){var r=e.ownerDocument.createElement("SPAN");v(e).after(r),v(r).after(t).remove()}else e.insertAdjacentHTML("afterend",t)}else{var a=this[0];if(a.nextSibling)if(t instanceof h)for(var o=0;o<t.length;o++)a.nextSibling.parentNode.insertBefore(t[o],a.nextSibling);else a.nextSibling.parentNode.insertBefore(t,a.nextSibling);else v(a.parentNode).append(t)}return this},clone:function(e){for(var t=v(),n=0;n<this.length;n++)t.push(this[n].cloneNode(e));return t},replaceWith:function(e){if("string"==typeof e)for(var t=0;t<this.length;t++)this[t].parentNode&&(this[t].outerHTML=e);else if(e.length)for(var n=0;n<this.length;n++)this.replaceWith(e[n]);else this.after(e).remove()},insertBefore:function(e){return v(e).before(this[0]),this},before:function e(t){if(t instanceof h){for(var n=0;n<t.length;n++)this.before(t[n]);return this}if(t)if("string"==typeof t)for(var r=0;r<this.length;r++){var e=this[r];if(e.nodeType!=Node.ELEMENT_NODE){var a=e.ownerDocument.createElement("SPAN");v(e).before(a),v(a).before(t).remove()}else e.parentNode&&e.insertAdjacentHTML("beforebegin",t)}else{var o=this[0];if(o.parentNode)if(t instanceof h)for(var i=0;i<t.length;i++)o.parentNode.insertBefore(t[i],o);else o.parentNode.insertBefore(t,o)}return this},append:function(e){if(0==this.length)return this;if("string"==typeof e)for(var t=0;t<this.length;t++){var n=this[t],r=n.ownerDocument.createElement("SPAN");v(n).append(r),v(r).after(e).remove()}else if(e instanceof h||Array.isArray(e))for(var a=0;a<e.length;a++)this.append(e[a]);else"function"!=typeof e&&this[0].appendChild(e);return this},prepend:function(e){if(0==this.length)return this;if("string"==typeof e)for(var t=0;t<this.length;t++){var n=this[t],r=n.ownerDocument.createElement("SPAN");v(n).prepend(r),v(r).before(e).remove()}else if(e instanceof h)for(var a=0;a<e.length;a++)this.prepend(e[a]);else{var o=this[0];o.firstChild?o.firstChild?o.insertBefore(e,o.firstChild):o.appendChild(e):v(o).append(e)}return this},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},prev:function(){return this.length&&this[0].previousElementSibling?v(this[0].previousElementSibling):v()},next:function(){return this.length&&this[0].nextElementSibling?v(this[0].nextElementSibling):v()},nextAllVisible:function(){return this.next()},prevAllVisible:function(){return this.prev()},outerHeight:function(e){if(0===this.length)return undefined;var t=this[0];if(t===t.window)return t.innerHeight;var n={},r=this.isVisible();if(!r)for(var a in s)n[a]=t.style[a],t.style[a]=s[a];var o=t.offsetHeight;if(e&&(o+=parseInt(v(t).css("marginTop"))+parseInt(v(t).css("marginBottom"))),!r)for(var i in s)t.style[i]=n[i];return o},outerWidth:function(e){if(0===this.length)return undefined;var t=this[0];if(t===t.window)return t.outerWidth;var n={},r=this.isVisible();if(!r)for(var a in s)n[a]=t.style[a],t.style[a]=s[a];var o=t.offsetWidth;if(e&&(o+=parseInt(v(t).css("marginLeft"))+parseInt(v(t).css("marginRight"))),!r)for(var i in s)t.style[i]=n[i];return o},width:function(e){if(e===undefined){if(this[0]instanceof HTMLDocument)return this[0].body.offsetWidth;if(this[0])return this[0].offsetWidth}else this[0].style.width=e+"px"},height:function(e){var t=this[0];if(e===undefined){if(t instanceof HTMLDocument){var n=t.documentElement;return Math.max(t.body.scrollHeight,n.scrollHeight,t.body.offsetHeight,n.offsetHeight,n.clientHeight)}return t.offsetHeight}t.style.height=e+"px"},is:function(e){return 0!==this.length&&("string"==typeof e&&this[0].matches?this[0].matches(e):e instanceof h?this[0]==e[0]:this[0]==e)},parent:function(){return 0===this.length?v():v(this[0].parentNode)},_matches:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector;return e&&!t?n:n.call(e,t)},parents:function(e){for(var t=v(),n=0;n<this.length;n++)for(var r=this[n].parentNode;r&&r!=document&&this._matches(r);)e?this._matches(r,e)&&t.push(r):t.push(r),r=r.parentNode;return t},parentsUntil:function(e,t){var n=v();e instanceof h&&0<e.length&&(e=e[0]);for(var r=0;r<this.length;r++)for(var a=this[r].parentNode;a&&a!=document&&a!=e&&this[r]!=e&&("string"!=typeof e||!Element.prototype.matches.call(a,e));)t?Element.prototype.matches.call(a,t)&&n.push(a):n.push(a),a=a.parentNode;return n},insertAfter:function(e){var t=e.parent()[0];t&&t.insertBefore(this[0],e[0].nextElementSibling)},filter:function(e){var t=v();if("function"==typeof e)for(var n=0;n<this.length;n++)e.call(this[n],this[n])&&t.push(this[n]);else if("string"==typeof e)for(var r=0;r<this.length;r++)this[r].matches(e)&&t.push(this[r]);return t},offset:function(){if(0===this.length)return undefined;var e=this[0].getBoundingClientRect(),t=this[0].ownerDocument.defaultView;return{top:e.top+t.pageYOffset,left:e.left+t.pageXOffset}},position:function(){return{left:this[0].offsetLeft,top:this[0].offsetTop}},push:[].push,splice:[].splice},h.extend=function(e){e=e||{};for(var t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e},h.merge=function(e,t){for(var n=+t.length,r=0,a=e.length;r<n;r++)e[a++]=t[r];return e.length=a,e},h.map=function(e,t,n){var r,a,o=0,i=[];if(Array.isArray(e))for(r=e.length;o<r;o++)null!=(a=t(e[o],o,n))&&i.push(a);else for(o in e)null!=(a=t(e[o],o,n))&&i.push(a);return[].concat.apply([],i)};var b=function b(e,t){if(!e)return this;if("string"==typeof e&&"<"===e[0]){var n=document.createElement("DIV");return n.innerHTML=e,v(n.firstElementChild)}if(t=t instanceof h?t[0]:t,"string"!=typeof e)return e instanceof h?e:(this[0]=e,this.length=1,this);e=g(e);for(var r=(t||document).querySelectorAll(e),a=0;a<r.length;a++)this[a]=r[a];return this.length=r.length,this};b.prototype=h.prototype;var C=xt;function E(){this.doc=this.$el.get(0).ownerDocument,this.win="defaultView"in this.doc?this.doc.defaultView:this.doc.parentWindow,this.$doc=h(this.doc),this.$win=h(this.win),this.opts.pluginsEnabled||(this.opts.pluginsEnabled=Object.keys(C.PLUGINS)),this.opts.initOnClick?(this.load(C.MODULES),this.$el.on("touchstart.init",function(){h(this).data("touched",!0)}),this.$el.on("touchmove.init",function(){h(this).removeData("touched")}),this.$el.on("mousedown.init touchend.init dragenter.init focus.init",function r(e){if("touchend"===e.type&&!this.$el.data("touched"))return!0;if(1===e.which||!e.which){this.$el.off("mousedown.init touchstart.init touchmove.init touchend.init dragenter.init focus.init"),this.load(C.MODULES),this.load(C.PLUGINS);var t=e.originalEvent&&e.originalEvent.originalTarget;if(t&&"IMG"===t.tagName&&h(t).trigger("mousedown"),"undefined"==typeof this.ul&&this.destroy(),"touchend"===e.type&&this.image&&e.originalEvent&&e.originalEvent.target&&h(e.originalEvent.target).is("img")){var n=this;setTimeout(function(){n.image.edit(h(e.originalEvent.target))},100)}this.ready=!0,this.events.trigger("initialized")}}.bind(this)),this.events.trigger("initializationDelayed")):(this.load(C.MODULES),this.load(C.PLUGINS),h(this.o_win).scrollTop(this.c_scroll),"undefined"==typeof this.ul&&this.destroy(),this.ready=!0,this.events.trigger("initialized"))}if(C.Bootstrap=function(e,t,n){this.id=++C.ID,this.$=h;var r={};"function"==typeof t&&(n=t,t={}),n&&(t.events||(t.events={}),t.events.initialized=n),t&&t.documentReady&&(r.toolbarButtons=[["fullscreen","undo","redo","getPDF","print"],["bold","italic","underline","textColor","backgroundColor","clearFormatting"],["alignLeft","alignCenter","alignRight","alignJustify"],["formatOL","formatUL","indent","outdent"],["paragraphFormat"],["fontFamily"],["fontSize"],["insertLink","insertImage","quote"]],r.paragraphFormatSelection=!0,r.fontFamilySelection=!0,r.fontSizeSelection=!0,r.placeholderText="",r.quickInsertEnabled=!1,r.charCounterCount=!1),this.opts=Object.assign({},Object.assign({},C.DEFAULTS,r,"object"===kt(t)&&t));var a=JSON.stringify(this.opts);C.OPTS_MAPPING[a]=C.OPTS_MAPPING[a]||this.id,this.sid=C.OPTS_MAPPING[a],C.SHARED[this.sid]=C.SHARED[this.sid]||{},this.shared=C.SHARED[this.sid],this.shared.count=(this.shared.count||0)+1,this.$oel=h(e),this.$oel.data("froala.editor",this),this.o_doc=e.ownerDocument,this.o_win="defaultView"in this.o_doc?this.o_doc.defaultView:this.o_doc.parentWindow,this.c_scroll=h(this.o_win).scrollTop(),this._init()},C.Bootstrap.prototype._init=function(){var e=this.$oel.get(0).tagName;this.$oel.closest("label").length;var t=function(){"TEXTAREA"!==e&&(this._original_html=this._original_html||this.$oel.html()),this.$box=this.$box||this.$oel,this.opts.fullPage&&(this.opts.iframe=!0),this.opts.iframe?(this.$iframe=h('<iframe src="about:blank" frameBorder="0">'),this.$wp=h("<div></div>"),this.$box.html(this.$wp),this.$wp.append(this.$iframe),this.$iframe.get(0).contentWindow.document.open(),this.$iframe.get(0).contentWindow.document.write("<!DOCTYPE html>"),this.$iframe.get(0).contentWindow.document.write("<html><head></head><body></body></html>"),this.$iframe.get(0).contentWindow.document.close(),this.iframe_document=this.$iframe.get(0).contentWindow.document,this.$el=h(this.iframe_document.querySelector("body")),this.el=this.$el.get(0),this.$head=h(this.iframe_document.querySelector("head")),this.$html=h(this.iframe_document.querySelector("html"))):(this.$el=h(this.o_doc.createElement("DIV")),this.el=this.$el.get(0),this.$wp=h(this.o_doc.createElement("DIV")).append(this.$el),this.$box.html(this.$wp)),setTimeout(E.bind(this),0)}.bind(this),n=function(){this.$box=h("<div>"),this.$oel.before(this.$box).hide(),this._original_html=this.$oel.val();var e=this;this.$oel.parents("form").on("submit.".concat(this.id),function(){e.events.trigger("form.submit")}),this.$oel.parents("form").on("reset.".concat(this.id),function(){e.events.trigger("form.reset")}),t()}.bind(this),r=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.$el.attr("contenteditable",!0).css("outline","none").css("display","inline-block"),this.opts.multiLine=!1,this.opts.toolbarInline=!1,setTimeout(E.bind(this),0)}.bind(this),a=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,setTimeout(E.bind(this),0)}.bind(this),o=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,this.$oel.on("click.popup",function(e){e.preventDefault()}),setTimeout(E.bind(this),0)}.bind(this);this.opts.editInPopup?o():"TEXTAREA"===e?n():"A"===e?r():"IMG"===e?a():"BUTTON"===e||"INPUT"===e?(this.opts.editInPopup=!0,this.opts.toolbarInline=!1,o()):t()},C.Bootstrap.prototype.load=function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){if(this[t])continue;if(C.PLUGINS[t]&&this.opts.pluginsEnabled.indexOf(t)<0)continue;if(this[t]=new e[t](this),this[t]._init&&(this[t]._init(),this.opts.initOnClick&&"core"===t))return!1}},C.Bootstrap.prototype.destroy=function(){this.destrying=!0,this.shared.count--,this.events&&this.events.$off();var e=this.html&&this.html.get();if(this.opts.iframe&&(this.events.disableBlur(),this.win.focus(),this.events.enableBlur()),this.events&&(this.events.trigger("destroy",[],!0),this.events.trigger("shared.destroy",[],!0)),0===this.shared.count){for(var t in this.shared)Object.prototype.hasOwnProperty.call(this.shared,t)&&(this.shared[t]=null,C.SHARED[this.sid][t]=null);delete C.SHARED[this.sid]}this.$oel.parents("form").off(".".concat(this.id)),this.$oel.off("click.popup"),this.$oel.removeData("froala.editor"),this.$oel.off("froalaEditor"),this.core&&this.core.destroy(e),C.INSTANCES.splice(C.INSTANCES.indexOf(this),1)},xt.PLUGINS.align=function(a){var o=a.$;return{apply:function i(e){var t=a.selection.element();if(o(t).parents(".fr-img-caption").length)o(t).css("text-align",e);else{a.selection.save(),a.html.wrap(!0,!0,!0,!0),a.selection.restore();for(var n=a.selection.blocks(),r=0;r<n.length;r++)o(n[r]).css("text-align",e).removeClass("fr-temp-div"),""===o(n[r]).attr("class")&&o(n[r]).removeAttr("class"),""===o(n[r]).attr("style")&&o(n[r]).removeAttr("style");a.selection.save(),a.html.unwrap(),a.selection.restore()}},refresh:function r(e){var t=a.selection.blocks();if(t.length){var n=a.helpers.getAlignment(o(t[0]));e.find("> *").first().replaceWith(a.icon.create("align-".concat(n)))}},refreshOnShow:function s(e,t){var n=a.selection.blocks();if(n.length){var r=a.helpers.getAlignment(o(n[0]));t.find('a.fr-command[data-param1="'.concat(r,'"]')).addClass("fr-active").attr("aria-selected",!0)}},refreshForToolbar:function l(e){var t=a.selection.blocks();if(t.length){var n=a.helpers.getAlignment(o(t[0]));n=n.charAt(0).toUpperCase()+n.slice(1),"align".concat(n)===e.attr("data-cmd")&&e.addClass("fr-active")}}}},xt.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"}),xt.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),xt.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),xt.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),xt.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),xt.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.align.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="align"data-param1="\n '.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.icon.create("align-".concat(n)),'<span class="fr-sr-only">\n ').concat(this.language.translate(t[n]),"</span></a></li>"));return e+="</ul>"},callback:function(e,t){this.align.apply(t)},refresh:function(e){this.align.refresh(e)},refreshOnShow:function(e,t){this.align.refreshOnShow(e,t)},plugin:"align"}),xt.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),xt.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),xt.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),xt.RegisterCommand("alignJustify",{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),Object.assign(xt.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),xt.PLUGINS.charCounter=function(n){var r,t=n.$,a=function a(){return(n.el.textContent||"").replace(/\u200B/g,"").length};function e(e){if(n.opts.charCounterMax<0)return!0;if(a()<n.opts.charCounterMax)return!0;var t=e.which;return!(!n.keys.ctrlKey(e)&&n.keys.isCharacter(t)||t===xt.KEYCODE.IME)||(e.preventDefault(),e.stopPropagation(),n.events.trigger("charCounter.exceeded"),!1)}function o(e){return n.opts.charCounterMax<0?e:t("<div>").html(e).text().length+a()<=n.opts.charCounterMax?e:(n.events.trigger("charCounter.exceeded"),"")}function i(){if(n.opts.charCounterCount){var e=a()+(0<n.opts.charCounterMax?"/"+n.opts.charCounterMax:"");r.text("".concat(n.language.translate("Characters")," : ").concat(e)),n.opts.toolbarBottom&&r.css("margin-bottom",n.$tb.outerHeight(!0));var t=n.$wp.get(0).offsetWidth-n.$wp.get(0).clientWidth;0<=t&&("rtl"==n.opts.direction?r.css("margin-left",t):r.css("margin-right",t))}}return{_init:function s(){return!!n.$wp&&!!n.opts.charCounterCount&&((r=t(document.createElement("span")).attr("class","fr-counter")).css("bottom",n.$wp.css("border-bottom-width")),n.$second_tb?n.$second_tb.append(r):n.$wp.append(r),n.events.on("keydown",e,!0),n.events.on("paste.afterCleanup",o),n.events.on("keyup contentChanged input",function(){n.events.trigger("charCounter.update")}),n.events.on("charCounter.update",i),n.events.trigger("charCounter.update"),void n.events.on("destroy",function(){t(n.o_win).off("resize.char".concat(n.id)),r.removeData().remove(),r=null}))},count:a}},xt.PLUGINS.codeBeautifier=function(){var e,t,n,r,j={};function x(r,e){var t={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},n={"@media":!0,"@supports":!0,"@document":!0};e=e||{},r=(r=r||"").replace(/\r\n|[\r\u2028\u2029]/g,"\n");var a=e.indent_size||4,o=e.indent_char||" ",i=e.selector_separator_newline===undefined||e.selector_separator_newline,s=e.end_with_newline!==undefined&&e.end_with_newline,l=e.newline_between_rules===undefined||e.newline_between_rules,c=e.eol?e.eol:"\n";"string"==typeof a&&(a=parseInt(a,10)),e.indent_with_tabs&&(o="\t",a=1),c=c.replace(/\\r/,"\r").replace(/\\n/,"\n");var d,f=/^\s+$/,p=-1,u=0;function h(){return(d=r.charAt(++p))||""}function g(e){var t,n=p;return e&&v(),t=r.charAt(p+1)||"",p=n-1,h(),t}function m(e){for(var t=p;h();)if("\\"===d)h();else{if(-1!==e.indexOf(d))break;if("\n"===d)break}return r.substring(t,p+1)}function v(){for(var e="";f.test(g());)h(),e+=d;return e}function b(){var e="";for(d&&f.test(d)&&(e=d);f.test(h());)e+=d;return e}function C(e){var t=p;for(e="/"===g(),h();h();){if(!e&&"*"===d&&"/"===g()){h();break}if(e&&"\n"===d)return r.substring(t,p)}return r.substring(t,p)+d}function E(e){return r.substring(p-e.length,p).toLowerCase()===e}function y(){for(var e=0,t=p+1;t<r.length;t++){var n=r.charAt(t);if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(" "===n||"}"===n)return!1}return!1}var L=r.match(/^[\t ]*/)[0],_=new Array(a+1).join(o),w=0,A=0;for(var T,S,k,x={"{":function(e){x.singleSpace(),R.push(e),x.newLine()},"}":function(e){x.newLine(),R.push(e),x.newLine()},_lastCharWhitespace:function(){return f.test(R[R.length-1])},newLine:function(e){R.length&&(e||"\n"===R[R.length-1]||x.trim(),R.push("\n"),L&&R.push(L))},singleSpace:function(){R.length&&!x._lastCharWhitespace()&&R.push(" ")},preserveSingleSpace:function(){T&&x.singleSpace()},trim:function(){for(;x._lastCharWhitespace();)R.pop()}},R=[],M=!1,O=!1,N=!1,I="",D="";;){var B=b();T=""!==B;var H=-1!==B.indexOf("\n");if(D=I,!(I=d))break;if("/"===d&&"*"===g()){var $=0===w;(H||$)&&x.newLine(),R.push(C()),x.newLine(),$&&x.newLine(!0)}else if("/"===d&&"/"===g())H||"{"===D||x.trim(),x.singleSpace(),R.push(C()),x.newLine();else if("@"===d){x.preserveSingleSpace(),R.push(d);var F=(void 0,S=p,k=m(": , {}()[]/='\""),p=S-1,h(),k);F.match(/[ :]$/)&&(h(),F=m(": ").replace(/\s$/,""),R.push(F),x.singleSpace()),(F=F.replace(/\s$/,""))in t&&(A+=1,F in n&&(N=!0))}else"#"===d&&"{"===g()?(x.preserveSingleSpace(),R.push(m("}"))):"{"===d?"}"===g(!0)?(v(),h(),x.singleSpace(),R.push("{}"),x.newLine(),l&&0===w&&x.newLine(!0)):(w++,L+=_,x["{"](d),M=N?(N=!1,A<w):A<=w):"}"===d?(w--,L=L.slice(0,-a),x["}"](d),O=M=!1,A&&A--,l&&0===w&&x.newLine(!0)):":"===d?(v(),!M&&!N||E("&")||y()?":"===g()?(h(),R.push("::")):R.push(":"):(O=!0,R.push(":"),x.singleSpace())):'"'===d||"'"===d?(x.preserveSingleSpace(),R.push(m(d))):" "===d?(O=!1,R.push(d),x.newLine()):"("===d?E("url")?(R.push(d),v(),h()&&(")"!==d&&'"'!==d&&"'"!==d?R.push(m(")")):p--)):(u++,x.preserveSingleSpace(),R.push(d),v()):")"===d?(R.push(d),u--):","===d?(R.push(d),v(),i&&!O&&u<1?x.newLine():x.singleSpace()):("]"===d||("["===d?x.preserveSingleSpace():"="===d?(v(),d="="):x.preserveSingleSpace()),R.push(d))}var P="";return L&&(P+=L),P+=R.join("").replace(/[\r\n\t ]+$/,""),s&&(P+="\n"),"\n"!=c&&(P=P.replace(/[\n]/g,c)),P}function q(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function Z(e){return e.replace(/^\s+|\s+$/g,"")}function R(e,t){return new a(e,t).beautify()}e=j,t="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",n=new RegExp("[".concat(t,"]")),r=new RegExp("[".concat(t," ").concat("\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u0620-\u0649\u0672-\u06d3\u06e7-\u06e8\u06fb-\u06fc\u0730-\u074a\u0800-\u0814\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0840-\u0857\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962-\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09d7\u09df-\u09e0\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5f-\u0b60\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62-\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2-\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d46-\u0d48\u0d57\u0d62-\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e34-\u0e3a\u0e40-\u0e45\u0e50-\u0e59\u0eb4-\u0eb9\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f41-\u0f47\u0f71-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1029\u1040-\u1049\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u170e-\u1710\u1720-\u1730\u1740-\u1750\u1772\u1773\u1780-\u17b2\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1920-\u192b\u1930-\u193b\u1951-\u196d\u19b0-\u19c0\u19c8-\u19c9\u19d0-\u19d9\u1a00-\u1a15\u1a20-\u1a53\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b46-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1bb0-\u1bb9\u1be6-\u1bf3\u1c00-\u1c22\u1c40-\u1c49\u1c5b-\u1c7d\u1cd0-\u1cd2\u1d00-\u1dbe\u1e01-\u1f15\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2d81-\u2d96\u2de0-\u2dff\u3021-\u3028\u3099\u309a\ua640-\ua66d\ua674-\ua67d\ua69f\ua6f0-\ua6f1\ua7f8-\ua800\ua806\ua80b\ua823-\ua827\ua880-\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8f3-\ua8f7\ua900-\ua909\ua926-\ua92d\ua930-\ua945\ua980-\ua983\ua9b3-\ua9c0\uaa00-\uaa27\uaa40-\uaa41\uaa4c-\uaa4d\uaa50-\uaa59\uaa7b\uaae0-\uaae9\uaaf2-\uaaf3\uabc0-\uabe1\uabec\uabed\uabf0-\uabf9\ufb20-\ufb28\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f","]")),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|".concat(e.newline.source)),e.allLineBreaks=new RegExp(e.lineBreak.source,"g"),e.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||170<=e&&n.test(String.fromCharCode(e)))},e.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||170<=e&&r.test(String.fromCharCode(e))))};var X={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function a(r,e){var c,a,o,d,i,s,l,f,p,t,n,u,h,g=[],m="";function v(e,t){var n=0;return e&&(n=e.indentation_level,!c.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:c.get_line_number(),ternary_depth:0}}for(u={TK_START_EXPR:function I(){R();var e=X.Expression;if("["===d.text){if("TK_WORD"===i||")"===f.last_text)return"TK_RESERVED"===i&&q(f.last_text,o.line_starters)&&(c.space_before_token=!0),A(e),_(),w(),void(h.space_in_paren&&(c.space_before_token=!0));e=X.ArrayLiteral,T(f.mode)&&("["!==f.last_text&&(","!==f.last_text||"]"!==s&&"}"!==s)||h.keep_array_indentation||y())}else"TK_RESERVED"===i&&"for"===f.last_text?e=X.ForInitializer:"TK_RESERVED"===i&&q(f.last_text,["if","while"])&&(e=X.Conditional);" "===f.last_text||"TK_START_BLOCK"===i?y():"TK_END_EXPR"===i||"TK_START_EXPR"===i||"TK_END_BLOCK"===i||"."===f.last_text?E(d.wanted_newline):"TK_RESERVED"===i&&"("===d.text||"TK_WORD"===i||"TK_OPERATOR"===i?"TK_RESERVED"===i&&("function"===f.last_word||"typeof"===f.last_word)||"*"===f.last_text&&"function"===s?h.space_after_anon_function&&(c.space_before_token=!0):"TK_RESERVED"!==i||!q(f.last_text,o.line_starters)&&"catch"!==f.last_text||h.space_before_conditional&&(c.space_before_token=!0):c.space_before_token=!0;"("===d.text&&"TK_RESERVED"===i&&"await"===f.last_word&&(c.space_before_token=!0);"("===d.text&&("TK_EQUALS"!==i&&"TK_OPERATOR"!==i||x()||E());A(e),_(),h.space_in_paren&&(c.space_before_token=!0);w()},TK_END_EXPR:function D(){for(;f.mode===X.Statement;)k();f.multiline_frame&&E("]"===d.text&&T(f.mode)&&!h.keep_array_indentation);h.space_in_paren&&("TK_START_EXPR"!==i||h.space_in_empty_paren?c.space_before_token=!0:(c.trim(),c.space_before_token=!1));"]"===d.text&&h.keep_array_indentation?(_(),k()):(k(),_());c.remove_redundant_indentation(p),f.do_while&&p.mode===X.Conditional&&(p.mode=X.Expression,f.do_block=!1,f.do_while=!1)},TK_START_BLOCK:function B(){var e=O(1),t=O(2);t&&(":"===t.text&&q(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||q(e.text,["get","set"])&&q(t.type,["TK_WORD","TK_RESERVED"]))?q(s,["class","interface"])?A(X.BlockStatement):A(X.ObjectLiteral):A(X.BlockStatement);var n=!e.comments_before.length&&"}"===e.text&&"function"===f.last_word&&"TK_END_EXPR"===i;"expand"===h.brace_style||"none"===h.brace_style&&d.wanted_newline?"TK_OPERATOR"!==i&&(n||"TK_EQUALS"===i||"TK_RESERVED"===i&&M(f.last_text)&&"else"!==f.last_text)?c.space_before_token=!0:y(!1,!0):"TK_OPERATOR"!==i&&"TK_START_EXPR"!==i?"TK_START_BLOCK"===i?y():c.space_before_token=!0:T(p.mode)&&","===f.last_text&&("}"===s?c.space_before_token=!0:y());_(),w()},TK_END_BLOCK:function H(){for(;f.mode===X.Statement;)k();var e="TK_START_BLOCK"===i;"expand"===h.brace_style?e||y():e||(T(f.mode)&&h.keep_array_indentation?(h.keep_array_indentation=!1,y(),h.keep_array_indentation=!0):y());k(),_()},TK_WORD:N,TK_RESERVED:N,TK_SEMICOLON:function $(){R()&&(c.space_before_token=!1);for(;f.mode===X.Statement&&!f.if_block&&!f.do_block;)k();_()},TK_STRING:function F(){R()?c.space_before_token=!0:"TK_RESERVED"===i||"TK_WORD"===i?c.space_before_token=!0:"TK_COMMA"===i||"TK_START_EXPR"===i||"TK_EQUALS"===i||"TK_OPERATOR"===i?x()||E():y();_()},TK_EQUALS:function P(){R();f.declaration_statement&&(f.declaration_assignment=!0);c.space_before_token=!0,_(),c.space_before_token=!0},TK_OPERATOR:function U(){R();if("TK_RESERVED"===i&&M(f.last_text))return c.space_before_token=!0,void _();if("*"===d.text&&"TK_DOT"===i)return void _();if(":"===d.text&&f.in_case)return f.case_body=!0,w(),_(),y(),void(f.in_case=!1);if("::"===d.text)return void _();"TK_OPERATOR"===i&&E();var e=!0,t=!0;q(d.text,["--","++","!","~"])||q(d.text,["-","+"])&&(q(i,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||q(f.last_text,o.line_starters)||","===f.last_text)?(t=e=!1,!d.wanted_newline||"--"!==d.text&&"++"!==d.text||y(!1,!0)," "===f.last_text&&S(f.mode)&&(e=!0),"TK_RESERVED"===i?e=!0:"TK_END_EXPR"===i?e=!("]"===f.last_text&&("--"===d.text||"++"===d.text)):"TK_OPERATOR"===i&&(e=q(d.text,["--","-","++","+"])&&q(f.last_text,["--","-","++","+"]),q(d.text,["+","-"])&&q(f.last_text,["--","++"])&&(t=!0)),f.mode!==X.BlockStatement&&f.mode!==X.Statement||"{"!==f.last_text&&" "!==f.last_text||y()):":"===d.text?0===f.ternary_depth?e=!1:f.ternary_depth-=1:"?"===d.text?f.ternary_depth+=1:"*"===d.text&&"TK_RESERVED"===i&&"function"===f.last_text&&(t=e=!1);c.space_before_token=c.space_before_token||e,_(),c.space_before_token=t},TK_COMMA:function z(){if(f.declaration_statement)return S(f.parent.mode)&&(f.declaration_assignment=!1),_(),void(f.declaration_assignment?y(f.declaration_assignment=!1,!0):(c.space_before_token=!0,h.comma_first&&E()));_(),f.mode===X.ObjectLiteral||f.mode===X.Statement&&f.parent.mode===X.ObjectLiteral?(f.mode===X.Statement&&k(),y()):(c.space_before_token=!0,h.comma_first&&E())},TK_BLOCK_COMMENT:function K(){if(c.raw)return c.add_raw_token(d),void(d.directives&&"end"===d.directives.preserve&&(h.test_output_raw||(c.raw=!1)));if(d.directives)return y(!1,!0),_(),"start"===d.directives.preserve&&(c.raw=!0),void y(!1,!0);if(!j.newline.test(d.text)&&!d.wanted_newline)return c.space_before_token=!0,_(),void(c.space_before_token=!0);var e,t=function i(e){var t;e=e.replace(/\x0d/g,"");var n=[];t=e.indexOf("\n");for(;-1!==t;)n.push(e.substring(0,t)),e=e.substring(t+1),t=e.indexOf("\n");e.length&&n.push(e);return n}(d.text),n=!1,r=!1,a=d.whitespace_before,o=a.length;y(!1,!0),1<t.length&&(!function s(e,t){for(var n=0;n<e.length;n++){var r=Z(e[n]);if(r.charAt(0)!==t)return!1}return!0}(t.slice(1),"*")?function l(e,t){for(var n,r=0,a=e.length;r<a;r++)if((n=e[r])&&0!==n.indexOf(t))return!1;return!0}(t.slice(1),a)&&(r=!0):n=!0);for(_(t[0]),e=1;e<t.length;e++)y(!1,!0),n?_(" ".concat(t[e].replace(/^\s+/g,""))):r&&t[e].length>o?_(t[e].substring(o)):c.add_token(t[e]);y(!1,!0)},TK_COMMENT:function V(){d.wanted_newline?y(!1,!0):c.trim(!0);c.space_before_token=!0,_(),y(!1,!0)},TK_DOT:function W(){R();"TK_RESERVED"===i&&M(f.last_text)?c.space_before_token=!0:E(")"===f.last_text&&h.break_chained_methods);_()},TK_UNKNOWN:function G(){_(),"\n"===d.text[d.text.length-1]&&y()},TK_EOF:function Y(){for(;f.mode===X.Statement;)k()}},h={},(e=e||{}).braces_on_own_line!==undefined&&(h.brace_style=e.braces_on_own_line?"expand":"collapse"),h.brace_style=e.brace_style?e.brace_style:h.brace_style?h.brace_style:"collapse","expand-strict"===h.brace_style&&(h.brace_style="expand"),h.indent_size=e.indent_size?parseInt(e.indent_size,10):4,h.indent_char=e.indent_char?e.indent_char:" ",h.eol=e.eol?e.eol:"\n",h.preserve_newlines=e.preserve_newlines===undefined||e.preserve_newlines,h.break_chained_methods=e.break_chained_methods!==undefined&&e.break_chained_methods,h.max_preserve_newlines=e.max_preserve_newlines===undefined?0:parseInt(e.max_preserve_newlines,10),h.space_in_paren=e.space_in_paren!==undefined&&e.space_in_paren,h.space_in_empty_paren=e.space_in_empty_paren!==undefined&&e.space_in_empty_paren,h.jslint_happy=e.jslint_happy!==undefined&&e.jslint_happy,h.space_after_anon_function=e.space_after_anon_function!==undefined&&e.space_after_anon_function,h.keep_array_indentation=e.keep_array_indentation!==undefined&&e.keep_array_indentation,h.space_before_conditional=e.space_before_conditional===undefined||e.space_before_conditional,h.unescape_strings=e.unescape_strings!==undefined&&e.unescape_strings,h.wrap_line_length=e.wrap_line_length===undefined?0:parseInt(e.wrap_line_length,10),h.e4x=e.e4x!==undefined&&e.e4x,h.end_with_newline=e.end_with_newline!==undefined&&e.end_with_newline,h.comma_first=e.comma_first!==undefined&&e.comma_first,h.test_output_raw=e.test_output_raw!==undefined&&e.test_output_raw,h.jslint_happy&&(h.space_after_anon_function=!0),e.indent_with_tabs&&(h.indent_char="\t",h.indent_size=1),h.eol=h.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),l="";0<h.indent_size;)l+=h.indent_char,h.indent_size-=1;var b=0;if(r&&r.length){for(;" "===r.charAt(b)||"\t"===r.charAt(b);)m+=r.charAt(b),b+=1;r=r.substring(b)}function C(e){var t=e.newlines;if(h.keep_array_indentation&&T(f.mode))for(var n=0;n<t;n+=1)y(0<n);else if(h.max_preserve_newlines&&t>h.max_preserve_newlines&&(t=h.max_preserve_newlines),h.preserve_newlines&&1<e.newlines){y();for(var r=1;r<t;r+=1)y(!0)}u[(d=e).type]()}function E(e){if(e=e!==undefined&&e,!c.just_added_newline())if(h.preserve_newlines&&d.wanted_newline||e)y(!1,!0);else if(h.wrap_line_length){c.current_line.get_character_count()+d.text.length+(c.space_before_token?1:0)>=h.wrap_line_length&&y(!1,!0)}}function y(e,t){if(!t&&" "!==f.last_text&&","!==f.last_text&&"="!==f.last_text&&"TK_OPERATOR"!==i)for(;f.mode===X.Statement&&!f.if_block&&!f.do_block;)k();c.add_new_line(e)&&(f.multiline_frame=!0)}function L(){c.just_added_newline()&&(h.keep_array_indentation&&T(f.mode)&&d.wanted_newline?(c.current_line.push(d.whitespace_before),c.space_before_token=!1):c.set_indent(f.indentation_level)&&(f.line_indent_level=f.indentation_level))}function _(e){c.raw?c.add_raw_token(d):(h.comma_first&&"TK_COMMA"===i&&c.just_added_newline()&&","===c.previous_line.last()&&(c.previous_line.pop(),L(),c.add_token(","),c.space_before_token=!0),e=e||d.text,L(),c.add_token(e))}function w(){f.indentation_level+=1}function A(e){p=f?(t.push(f),f):v(null,e),f=v(p,e)}function T(e){return e===X.ArrayLiteral}function S(e){return q(e,[X.Expression,X.ForInitializer,X.Conditional])}function k(){0<t.length&&(p=f,f=t.pop(),p.mode===X.Statement&&c.remove_redundant_indentation(p))}function x(){return f.parent.mode===X.ObjectLiteral&&f.mode===X.Statement&&(":"===f.last_text&&0===f.ternary_depth||"TK_RESERVED"===i&&q(f.last_text,["get","set"]))}function R(){return!!("TK_RESERVED"===i&&q(f.last_text,["const","let","const"])&&"TK_WORD"===d.type||"TK_RESERVED"===i&&"do"===f.last_text||"TK_RESERVED"===i&&"return"===f.last_text&&!d.wanted_newline||"TK_RESERVED"===i&&"else"===f.last_text&&("TK_RESERVED"!==d.type||"if"!==d.text)||"TK_END_EXPR"===i&&(p.mode===X.ForInitializer||p.mode===X.Conditional)||"TK_WORD"===i&&f.mode===X.BlockStatement&&!f.in_case&&"--"!==d.text&&"++"!==d.text&&"function"!==s&&"TK_WORD"!==d.type&&"TK_RESERVED"!==d.type||f.mode===X.ObjectLiteral&&(":"===f.last_text&&0===f.ternary_depth||"TK_RESERVED"===i&&q(f.last_text,["get","set"])))&&(A(X.Statement),w(),"TK_RESERVED"===i&&q(f.last_text,["const","let","const"])&&"TK_WORD"===d.type&&(f.declaration_statement=!0),x()||E("TK_RESERVED"===d.type&&q(d.text,["do","for","if","while"])),!0)}function M(e){return q(e,["case","return","do","if","throw","else"])}function O(e){var t=a+(e||0);return t<0||t>=g.length?null:g[t]}function N(){("TK_RESERVED"===d.type&&f.mode!==X.ObjectLiteral&&q(d.text,["set","get"])&&(d.type="TK_WORD"),"TK_RESERVED"===d.type&&f.mode===X.ObjectLiteral)&&(":"===O(1).text&&(d.type="TK_WORD"));if(R()||!d.wanted_newline||S(f.mode)||"TK_OPERATOR"===i&&"--"!==f.last_text&&"++"!==f.last_text||"TK_EQUALS"===i||!h.preserve_newlines&&"TK_RESERVED"===i&&q(f.last_text,["const","let","const","set","get"])||y(),f.do_block&&!f.do_while){if("TK_RESERVED"===d.type&&"while"===d.text)return c.space_before_token=!0,_(),c.space_before_token=!0,void(f.do_while=!0);y(),f.do_block=!1}if(f.if_block)if(f.else_block||"TK_RESERVED"!==d.type||"else"!==d.text){for(;f.mode===X.Statement;)k();f.if_block=!1,f.else_block=!1}else f.else_block=!0;if("TK_RESERVED"===d.type&&("case"===d.text||"default"===d.text&&f.in_case_statement))return y(),(f.case_body||h.jslint_happy)&&(!function e(){0<f.indentation_level&&(!f.parent||f.indentation_level>f.parent.indentation_level)&&(f.indentation_level-=1)}(),f.case_body=!1),_(),f.in_case=!0,void(f.in_case_statement=!0);if("TK_RESERVED"===d.type&&"function"===d.text&&((q(f.last_text,["}"," "])||c.just_added_newline()&&!q(f.last_text,["[","{",":","=",","]))&&(c.just_added_blankline()||d.comments_before.length||(y(),y(!0))),"TK_RESERVED"===i||"TK_WORD"===i?"TK_RESERVED"===i&&q(f.last_text,["get","set","new","return","export","async"])?c.space_before_token=!0:"TK_RESERVED"===i&&"default"===f.last_text&&"export"===s?c.space_before_token=!0:y():"TK_OPERATOR"===i||"="===f.last_text?c.space_before_token=!0:(f.multiline_frame||!S(f.mode)&&!T(f.mode))&&y()),"TK_COMMA"!==i&&"TK_START_EXPR"!==i&&"TK_EQUALS"!==i&&"TK_OPERATOR"!==i||x()||E(),"TK_RESERVED"===d.type&&q(d.text,["function","get","set"]))return _(),void(f.last_word=d.text);(n="NONE","TK_END_BLOCK"===i?"TK_RESERVED"===d.type&&q(d.text,["else","catch","finally"])?"expand"===h.brace_style||"end-expand"===h.brace_style||"none"===h.brace_style&&d.wanted_newline?n="NEWLINE":(n="SPACE",c.space_before_token=!0):n="NEWLINE":"TK_SEMICOLON"===i&&f.mode===X.BlockStatement?n="NEWLINE":"TK_SEMICOLON"===i&&S(f.mode)?n="SPACE":"TK_STRING"===i?n="NEWLINE":"TK_RESERVED"===i||"TK_WORD"===i||"*"===f.last_text&&"function"===s?n="SPACE":"TK_START_BLOCK"===i?n="NEWLINE":"TK_END_EXPR"===i&&(c.space_before_token=!0,n="NEWLINE"),"TK_RESERVED"===d.type&&q(d.text,o.line_starters)&&")"!==f.last_text&&(n="else"===f.last_text||"export"===f.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===d.type&&q(d.text,["else","catch","finally"]))?"TK_END_BLOCK"!==i||"expand"===h.brace_style||"end-expand"===h.brace_style||"none"===h.brace_style&&d.wanted_newline?y():(c.trim(!0),"}"!==c.current_line.last()&&y(),c.space_before_token=!0):"NEWLINE"===n?"TK_RESERVED"===i&&M(f.last_text)?c.space_before_token=!0:"TK_END_EXPR"!==i?"TK_START_EXPR"===i&&"TK_RESERVED"===d.type&&q(d.text,["const","let","const"])||":"===f.last_text||("TK_RESERVED"===d.type&&"if"===d.text&&"else"===f.last_text?c.space_before_token=!0:y()):"TK_RESERVED"===d.type&&q(d.text,o.line_starters)&&")"!==f.last_text&&y():f.multiline_frame&&T(f.mode)&&","===f.last_text&&"}"===s?y():"SPACE"===n&&(c.space_before_token=!0);_(),f.last_word=d.text,"TK_RESERVED"===d.type&&"do"===d.text&&(f.do_block=!0),"TK_RESERVED"===d.type&&"if"===d.text&&(f.if_block=!0)}i="TK_START_BLOCK",s="",(c=new Q(l,m)).raw=h.test_output_raw,t=[],A(X.BlockStatement),this.beautify=function(){var e,t;for(o=new ee(r,h,l),g=o.tokenize(),a=0;e=O();){for(var n=0;n<e.comments_before.length;n++)C(e.comments_before[n]);C(e),s=f.last_text,i=e.type,f.last_text=e.text,a+=1}return t=c.get_code(),h.end_with_newline&&(t+="\n"),"\n"!=h.eol&&(t=t.replace(/[\n]/g,h.eol)),t}}function o(t){var n=0,r=-1,a=[],o=!0;this.set_indent=function(e){n=t.baseIndentLength+e*t.indent_length,r=e},this.get_character_count=function(){return n},this.is_empty=function(){return o},this.last=function(){return this._empty?null:a[a.length-1]},this.push=function(e){a.push(e),n+=e.length,o=!1},this.pop=function(){var e=null;return o||(e=a.pop(),n-=e.length,o=0===a.length),e},this.remove_indent=function(){0<r&&(r-=1,n-=t.indent_length)},this.trim=function(){for(;" "===this.last();)a.pop(),n-=1;o=0===a.length},this.toString=function(){var e="";return this._empty||(0<=r&&(e=t.indent_cache[r]),e+=a.join("")),e}}function Q(t,n){n=n||"",this.indent_cache=[n],this.baseIndentLength=n.length,this.indent_length=t.length,this.raw=!1;var r=[];this.baseIndentString=n,this.indent_string=t,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new o(this),r.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return r.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(){return r.join("\n").replace(/[\r\n\t ]+$/,"")},this.set_indent=function(e){if(1<r.length){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_redundant_indentation=function(e){if(!e.multiline_frame&&e.mode!==X.ForInitializer&&e.mode!==X.Conditional)for(var t=e.start_line_index,n=r.length;t<n;)r[t].remove_indent(),t++},this.trim=function(e){for(e=e!==undefined&&e,this.current_line.trim(t,n);e&&1<r.length&&this.current_line.is_empty();)r.pop(),this.current_line=r[r.length-1],this.current_line.trim();this.previous_line=1<r.length?r[r.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){return!!this.just_added_newline()&&(1===r.length||r[r.length-2].is_empty())}}var J=function J(e,t,n,r,a,o){this.type=e,this.text=t,this.comments_before=[],this.newlines=n||0,this.wanted_newline=0<n,this.whitespace_before=r||"",this.parent=null,this.directives=null};function ee(k,x,e){var R="\n\r\t ".split(""),M=/[0-9]/,O=/[01234567]/,N=/[0123456789abcdefABCDEF]/,I="+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! ~ , : ? ^ ^= |= :: =>".split(" ");this.line_starters="continue,try,throw,return,const,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var D,B,H,$,F,P,U=this.line_starters.concat(["do","in","else","get","set","new","catch","finally","typeof","yield","async","await"]),z=/([\s\S]*?)((?:\*\/)|$)/g,K=/([^\n\r\u2028\u2029]*)/g,V=/\/\* beautify( \w+[:]\w+)+ \*\//g,W=/ (\w+)[:](\w+)/g,G=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,Y=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function i(){var e,t,n=[];if(D=0,B="",P<=F)return["","TK_EOF"];t=$.length?$[$.length-1]:new J("TK_START_BLOCK","{");var r=k.charAt(F);for(F+=1;q(r,R);){if(j.newline.test(r)?"\n"===r&&"\r"===k.charAt(F-2)||(D+=1,n=[]):n.push(r),P<=F)return["","TK_EOF"];r=k.charAt(F),F+=1}if(n.length&&(B=n.join("")),M.test(r)){var a=!0,o=!0,i=M;for("0"===r&&F<P&&/[Xxo]/.test(k.charAt(F))?(o=a=!1,r+=k.charAt(F),F+=1,i=/[o]/.test(k.charAt(F))?O:N):(r="",F-=1);F<P&&i.test(k.charAt(F));)r+=k.charAt(F),F+=1,a&&F<P&&"."===k.charAt(F)&&(r+=k.charAt(F),F+=1,a=!1),o&&F<P&&/[Ee]/.test(k.charAt(F))&&(r+=k.charAt(F),(F+=1)<P&&/[+-]/.test(k.charAt(F))&&(r+=k.charAt(F),F+=1),a=o=!1);return[r,"TK_WORD"]}if(j.isIdentifierStart(k.charCodeAt(F-1))){if(F<P)for(;j.isIdentifierChar(k.charCodeAt(F))&&(r+=k.charAt(F),(F+=1)!==P););return"TK_DOT"===t.type||"TK_RESERVED"===t.type&&q(t.text,["set","get"])||!q(r,U)?[r,"TK_WORD"]:"in"===r?[r,"TK_OPERATOR"]:[r,"TK_RESERVED"]}if("("===r||"["===r)return[r,"TK_START_EXPR"];if(")"===r||"]"===r)return[r,"TK_END_EXPR"];if("{"===r)return[r,"TK_START_BLOCK"];if("}"===r)return[r,"TK_END_BLOCK"];if(" "===r)return[r,"TK_SEMICOLON"];if("/"===r){var s="";if("*"===k.charAt(F)){F+=1,z.lastIndex=F;var l=z.exec(k);s="/*".concat(l[0]),F+=l[0].length;var c=function T(e){if(!e.match(V))return null;var t={};W.lastIndex=0;for(var n=W.exec(e);n;)t[n[1]]=n[2],n=W.exec(e);return t}(s);return c&&"start"===c.ignore&&(G.lastIndex=F,s+=(l=G.exec(k))[0],F+=l[0].length),[s=s.replace(j.lineBreak,"\n"),"TK_BLOCK_COMMENT",c]}if("/"===k.charAt(F)){F+=1,K.lastIndex=F;var d=K.exec(k);return s="//".concat(d[0]),F+=d[0].length,[s,"TK_COMMENT"]}}if("`"===r||"'"===r||'"'===r||("/"===r||x.e4x&&"<"===r&&k.slice(F-1).match(/^<([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])(\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{.*?}))*\s*(\/?)\s*>/))&&("TK_RESERVED"===t.type&&q(t.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===t.type&&")"===t.text&&t.parent&&"TK_RESERVED"===t.parent.type&&q(t.parent.text,["if","while","for"])||q(t.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var f=r,p=!1,u=!1;if(e=r,"/"===f)for(var h=!1;F<P&&(p||h||k.charAt(F)!==f)&&!j.newline.test(k.charAt(F));)e+=k.charAt(F),p?p=!1:(p="\\"===k.charAt(F),"["===k.charAt(F)?h=!0:"]"===k.charAt(F)&&(h=!1)),F+=1;else if(x.e4x&&"<"===f){var g=/<(\/?)([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])(\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{.*?}))*\s*(\/?)\s*>/g,m=k.slice(F-1),v=g.exec(m);if(v&&0===v.index){for(var b=v[2],C=0;v;){var E=!!v[1],y=v[2],L=!!v[v.length-1]||"![CDATA["===y.slice(0,8);if(y!==b||L||(E?--C:++C),C<=0)break;v=g.exec(m)}var _=v?v.index+v[0].length:m.length;return m=m.slice(0,_),F+=_-1,[m=m.replace(j.lineBreak,"\n"),"TK_STRING"]}}else for(;F<P&&(p||k.charAt(F)!==f&&("`"===f||!j.newline.test(k.charAt(F))));)(p||"`"===f)&&j.newline.test(k.charAt(F))?("\r"===k.charAt(F)&&"\n"===k.charAt(F+1)&&(F+=1),e+="\n"):e+=k.charAt(F),p=p?("x"!==k.charAt(F)&&"u"!==k.charAt(F)||(u=!0),!1):"\\"===k.charAt(F),F+=1;if(u&&x.unescape_strings&&(e=function S(e){var t,n=!1,r="",a=0,o="",i=0;for(;n||a<e.length;)if(t=e.charAt(a),a++,n){if(n=!1,"x"===t)o=e.substr(a,2),a+=2;else{if("u"!==t){r+="\\".concat(t);continue}o=e.substr(a,4),a+=4}if(!o.match(/^[0123456789abcdefABCDEF]+$/))return e;if(0<=(i=parseInt(o,16))&&i<32){r+="x"===t?"\\x".concat(o):"\\u".concat(o);continue}if(34===i||39===i||92===i)r+="\\".concat(String.fromCharCode(i));else{if("x"===t&&126<i&&i<=255)return e;r+=String.fromCharCode(i)}}else"\\"===t?n=!0:r+=t;return r}(e)),F<P&&k.charAt(F)===f&&(e+=f,F+=1,"/"===f))for(;F<P&&j.isIdentifierStart(k.charCodeAt(F));)e+=k.charAt(F),F+=1;return[e,"TK_STRING"]}if("#"===r){if(0===$.length&&"!"===k.charAt(F)){for(e=r;F<P&&"\n"!==r;)e+=r=k.charAt(F),F+=1;return["".concat(Z(e),"\n"),"TK_UNKNOWN"]}var w="#";if(F<P&&M.test(k.charAt(F))){for(;w+=r=k.charAt(F),(F+=1)<P&&"#"!==r&&"="!==r;);return"#"===r||("["===k.charAt(F)&&"]"===k.charAt(F+1)?(w+="[]",F+=2):"{"===k.charAt(F)&&"}"===k.charAt(F+1)&&(w+="{}",F+=2)),[w,"TK_WORD"]}}if("<"===r&&("?"===k.charAt(F)||"%"===k.charAt(F))){Y.lastIndex=F-1;var A=Y.exec(k);if(A)return r=A[0],F+=r.length-1,[r=r.replace(j.lineBreak,"\n"),"TK_STRING"]}if("<"===r&&"\x3c!--"===k.substring(F-1,F+3)){for(F+=3,r="\x3c!--";!j.newline.test(k.charAt(F))&&F<P;)r+=k.charAt(F),F++;return H=!0,[r,"TK_COMMENT"]}if("-"===r&&H&&"--\x3e"===k.substring(F-1,F+2))return H=!1,F+=2,["--\x3e","TK_COMMENT"];if("."===r)return[r,"TK_DOT"];if(q(r,I)){for(;F<P&&q(r+k.charAt(F),I)&&(r+=k.charAt(F),!(P<=(F+=1))););return","===r?[r,"TK_COMMA"]:"="===r?[r,"TK_EQUALS"]:[r,"TK_OPERATOR"]}return[r,"TK_UNKNOWN"]}this.tokenize=function(){var e,t,n;P=k.length,F=0,H=!1,$=[];for(var r=null,a=[],o=[];!t||"TK_EOF"!==t.type;){for(n=i(),e=new J(n[1],n[0],D,B);"TK_COMMENT"===e.type||"TK_BLOCK_COMMENT"===e.type||"TK_UNKNOWN"===e.type;)"TK_BLOCK_COMMENT"===e.type&&(e.directives=n[2]),o.push(e),n=i(),e=new J(n[1],n[0],D,B);o.length&&(e.comments_before=o,o=[]),"TK_START_BLOCK"===e.type||"TK_START_EXPR"===e.type?(e.parent=t,a.push(r),r=e):("TK_END_BLOCK"===e.type||"TK_END_EXPR"===e.type)&&r&&("]"===e.text&&"["===r.text||")"===e.text&&"("===r.text||"}"===e.text&&"{"===r.text)&&(e.parent=r.parent,r=a.pop()),$.push(e),t=e}return $}}return{run:function M(e,t){function i(e){return e.replace(/\s+$/g,"")}var n,r,a,m,o,s,v,l,c,b,C,E,d,f;for((t=t||{}).wrap_line_length!==undefined&&0!==parseInt(t.wrap_line_length,10)||t.max_char===undefined||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),r=t.indent_inner_html!==undefined&&t.indent_inner_html,a=t.indent_size===undefined?4:parseInt(t.indent_size,10),m=t.indent_char===undefined?" ":t.indent_char,s=t.brace_style===undefined?"collapse":t.brace_style,o=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),v=t.unformatted||["a","span","img","bdo","em","strong","dfn","code","samp","kbd","const","cite","abbr","acronym","q","sub","sup","tt","i","b","big","small","u","s","strike","font","ins","del","address","pre"],l=t.preserve_newlines===undefined||t.preserve_newlines,c=l?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,b=t.indent_handlebars!==undefined&&t.indent_handlebars,C=t.wrap_attributes===undefined?"auto":t.wrap_attributes,E=t.wrap_attributes_indent_size===undefined?a:parseInt(t.wrap_attributes_indent_size,10)||a,d=t.end_with_newline!==undefined&&t.end_with_newline,f=Array.isArray(t.extra_liners)?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),t.indent_with_tabs&&(m="\t",a=1),(n=new function k(){return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=r,this.Utils={whitespace:"\n\r\t ".split(""),single_token:"br,input,link,meta,source,!doctype,basefont,base,area,hr,wbr,param,img,isindex,embed".split(","),extra_liners:f,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(;0<e.length;e++)if(!this.Utils.in_array(e.charAt(0),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(e=this.input.charAt(this.pos),this.Utils.in_array(e,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(e,this.Utils.whitespace);)l&&"\n"===e&&this.newlines<=c&&(this.newlines+=1),this.pos++,e=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(e){this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e)):(this.line_char_count++,e.push(" "))},this.get_content=function(){for(var e="",t=[];"<"!=this.input.charAt(this.pos);){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(this.traverse_whitespace())this.space_or_wrap(t);else{if(b){var n=this.input.substr(this.pos,3);if("{{#"===n||"{{/"===n)break;if("{{!"===n)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}e=this.input.charAt(this.pos),this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp("</".concat(e,"\\s*>"),"igm");n.lastIndex=this.pos;var r=n.exec(this.input),a=r?r.index:this.input.length;return this.pos<a&&(t=this.input.substring(this.pos,a),this.pos=a),t},this.record_tag=function(e){this.tags["".concat(e,"count")]?this.tags["".concat(e,"count")]++:this.tags["".concat(e,"count")]=1,this.tags[e+this.tags["".concat(e,"count")]]=this.indent_level,this.tags[e+this.tags["".concat(e,"count")]+"parent"]=this.tags.parent,this.tags.parent=e+this.tags["".concat(e,"count")]},this.retrieve_tag=function(e){if(this.tags["".concat(e,"count")]){for(var t=this.tags.parent;t&&e+this.tags["".concat(e,"count")]!==t;)t=this.tags["".concat(t,"parent")];t&&(this.indent_level=this.tags[e+this.tags["".concat(e,"count")]],this.tags.parent=this.tags[t+"parent"]),delete this.tags[e+this.tags["".concat(e,"count")]+"parent"],delete this.tags[e+this.tags["".concat(e,"count")]],1===this.tags["".concat(e,"count")]?delete this.tags["".concat(e,"count")]:this.tags["".concat(e,"count")]--}},this.indent_to_tag=function(e){if(this.tags["".concat(e,"count")]){for(var t=this.tags.parent;t&&e+this.tags["".concat(e,"count")]!==t;)t=this.tags["".concat(t,"parent")];t&&(this.indent_level=this.tags[e+this.tags["".concat(e,"count")]])}},this.get_tag=function(e){var t,n,r="",a=[],o="",i=!1,s=!0,l=this.pos,c=this.line_char_count;e=e!==undefined&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=l,this.line_char_count=c),a.length?a.join(""):["","TK_EOF"];if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace))i=!0;else{if("'"!==r&&'"'!==r||(r+=this.get_unformatted(r),i=!0),"="===r&&(i=!1),a.length&&"="!=a[a.length-1]&&">"!=r&&i){if(this.space_or_wrap(a),i=!1,!s&&"force"===C&&"/"!=r){this.print_newline(!0,a),this.print_indentation(a);for(var d=0;d<E;d++)a.push(m)}for(var f=0;f<a.length;f++)if(" "===a[f]){s=!1;break}}if(b&&"<"===n&&r+this.input.charAt(this.pos)==="{{"&&(r+=this.get_unformatted("}}"),a.length&&" "!=a[a.length-1]&&"<"!=a[a.length-1]&&(r=" ".concat(r)),i=!0),"<"!==r||n||(t=this.pos-1,n="<"),b&&!n&&2<=a.length&&"{"===a[a.length-1]&&"{"===a[a.length-2]&&(t="#"===r||"/"===r||"!"===r?this.pos-3:this.pos-2,n="{"),this.line_char_count++,a.push(r),a[1]&&("!"===a[1]||"?"===a[1]||"%"===a[1])){a=[this.get_comment(t)];break}if(b&&a[1]&&"{"===a[1]&&a[2]&&"!"===a[2]){a=[this.get_comment(t)];break}if(b&&"{"===n&&2<a.length&&"}"===a[a.length-2]&&"}"===a[a.length-1])break}}while(">"!=r);var p,u,h=a.join("");p=-1!=h.indexOf(" ")?h.indexOf(" "):"{"===h[0]?h.indexOf("}"):h.indexOf(">"),u="<"!==h[0]&&b?"#"===h[2]?3:2:1;var g=h.substring(u,p).toLowerCase();return"/"===h.charAt(h.length-2)||this.Utils.in_array(g,this.Utils.single_token)?e||(this.tag_type="SINGLE"):b&&"{"===h[0]&&"else"===g?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(g,v)?(o=this.get_unformatted("</".concat(g,">"),h),a.push(o),this.pos,this.tag_type="SINGLE"):"script"===g&&(-1===h.search("type")||-1<h.search("type")&&-1<h.search(/\b(text|application)\/(x-)?(javascript|ecmascript|jscript|livescript)/))?e||(this.record_tag(g),this.tag_type="SCRIPT"):"style"===g&&(-1===h.search("type")||-1<h.search("type")&&-1<h.search("text/css"))?e||(this.record_tag(g),this.tag_type="STYLE"):"!"===g.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===g.charAt(0)?(this.retrieve_tag(g.substring(1)),this.tag_type="END"):(this.record_tag(g),"html"!=g.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(a),this.Utils.in_array(g,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!=this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=l,this.line_char_count=c),a.join("")},this.get_comment=function(e){var t="",n=">",r=!1;this.pos=e;var a=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&((t+=a)[t.length-1]!==n[n.length-1]||-1==t.indexOf(n));)!r&&t.length<10&&(0===t.indexOf("<![if")?(n="<![endif]>",r=!0):0===t.indexOf("<![cdata[")?(n="]]>",r=!0):0===t.indexOf("<![")?(n="]>",r=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",r=!0):0===t.indexOf("{{!")?(n="}}",r=!0):0===t.indexOf("<?")?(n="?>",r=!0):0===t.indexOf("<%")&&(n="%>",r=!0)),a=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(e,t){if(t&&-1!=t.toLowerCase().indexOf(e))return"";var n="",r="",a=0,o=!0;do{if(this.pos>=this.input.length)return r;if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace)){if(!o){this.line_char_count--;continue}if("\n"===n||"\r"===n){r+="\n",this.line_char_count=0;continue}}r+=n,this.line_char_count++,o=!0,b&&"{"===n&&r.length&&"{"===r[r.length-2]&&(a=(r+=this.get_unformatted("}}")).length)}while(-1===r.toLowerCase().indexOf(e,a));return r},this.get_token=function(){var e;if("TK_TAG_SCRIPT"!==this.last_token&&"TK_TAG_STYLE"!==this.last_token)return"CONTENT"===this.current_mode?"string"!=typeof(e=this.get_content())?e:[e,"TK_CONTENT"]:"TAG"===this.current_mode?"string"!=typeof(e=this.get_tag())?e:[e,"TK_TAG_".concat(this.tag_type)]:void 0;var t=this.last_token.substr(7);return"string"!=typeof(e=this.get_contents_to(t))?e:[e,"TK_".concat(t)]},this.get_full_indent=function(e){return(e=this.indent_level+e||0)<1?"":new Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!=e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(n&&!this.Utils.in_array(n,t))},this.printer=function(e,t,n,r,a){this.input=e||"",this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=a,this.indent_level=0,this.wrap_line_length=r;for(var o=this.line_char_count=0;o<this.indent_size;o++)this.indent_string+=this.indent_character;this.print_newline=function(e,t){this.line_char_count=0,t&&t.length&&(e||"\n"!=t[t.length-1])&&("\n"!=t[t.length-1]&&(t[t.length-1]=i(t[t.length-1])),t.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(e){this.is_whitespace(e)&&!this.output.length||((e||""!==e)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),e=function t(e){return e.replace(/^\s+/g,"")}(e)),this.print_token_raw(e))},this.print_token_raw=function(e){0<this.newlines&&(e=i(e)),e&&""!==e&&(1<e.length&&"\n"===e[e.length-1]?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t<this.newlines;t++)this.print_newline(0<t,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){0<this.indent_level&&this.indent_level--}},this}).printer(e,m,a,o,s);;){var p=n.get_token();if(n.token_text=p[0],n.token_type=p[1],"TK_EOF"===n.token_type)break;switch(n.token_type){case"TK_TAG_START":n.print_newline(!1,n.output),n.print_token(n.token_text),n.indent_content&&(n.indent(),n.indent_content=!1),n.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":n.print_newline(!1,n.output),n.print_token(n.token_text),n.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===n.last_token&&""===n.last_text){var u=n.token_text.match(/\w+/)[0],h=null;n.output.length&&(h=n.output[n.output.length-1].match(/(?:<|{{#)\/?\s*(\w+)/)),(null===h||h[1]!=u&&!n.Utils.in_array(h[1],v))&&n.print_newline(!1,n.output)}n.print_token(n.token_text),n.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var g=n.token_text.match(/^\s*<([a-z-]+)/i);g&&n.Utils.in_array(g[1],v)||n.print_newline(!1,n.output),n.print_token(n.token_text),n.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":n.print_token(n.token_text),n.indent_content&&(n.indent(),n.indent_content=!1),n.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":n.print_token(n.token_text),n.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==n.token_text){n.print_newline(!1,n.output);var y=n.token_text,L=void 0,_=1;"TK_SCRIPT"===n.token_type?L=R:"TK_STYLE"===n.token_type&&(L=x),"keep"===t.indent_scripts?_=0:"separate"===t.indent_scripts&&(_=-n.indent_level);var w=n.get_full_indent(_);if(L)y=L(y.replace(/^\s*/,w),t);else{var A=y.match(/^\s*/)[0].match(/[^\n\r]*$/)[0].split(n.indent_string).length-1,T=n.get_full_indent(_-A);y=y.replace(/^\s*/,w).replace(/\r\n|\r|\n/g,"\n"+T).replace(/\s+$/,"")}y&&(n.print_token_raw(y),n.print_newline(!0,n.output))}n.current_mode="TAG";break;default:""!==n.token_text&&n.print_token(n.token_text)}n.last_token=n.token_type,n.last_text=n.token_text}var S=n.output.join("").replace(/[\r\n\t ]+$/,"");return d&&(S+="\n"),S}}},Object.assign(xt.DEFAULTS,{codeMirror:window.CodeMirror,codeMirrorOptions:{lineNumbers:!0,tabMode:"indent",indentWithTabs:!0,lineWrapping:!0,mode:"text/html",tabSize:2},codeBeautifierOptions:{end_with_newline:!0,indent_inner_html:!0,extra_liners:["p","h1","h2","h3","h4","h5","h6","blockquote","pre","ul","ol","table","dl"],brace_style:"expand",indent_char:"\t",indent_size:1,wrap_line_length:0},codeViewKeepActiveButtons:["fullscreen"]}),xt.PLUGINS.codeView=function(c){var d,f,p=c.$,u=function u(){return c.$box.hasClass("fr-code-view")};function h(){return f?f.getValue():d.val()}function g(){u()&&(f&&f.setSize(null,c.opts.height?c.opts.height:"auto"),c.opts.heightMin||c.opts.height?(c.$box.find(".CodeMirror-scroll, .CodeMirror-gutters").css("min-height",c.opts.heightMin||c.opts.height),d.css("height",c.opts.height)):c.$box.find(".CodeMirror-scroll, .CodeMirror-gutters").css("min-height",""))}var m,v=!1;function b(){u()&&c.events.trigger("blur")}function C(){u()&&v&&c.events.trigger("focus")}function r(e){d||(!function l(){d=p('<textarea class="fr-code" tabIndex="-1">'),c.$wp.append(d),d.attr("dir",c.opts.direction),c.$box.hasClass("fr-basic")||(m=p('<a data-cmd="html" title="Code View" class="fr-command fr-btn html-switch'.concat(c.helpers.isMobile()?"":" fr-desktop",'" role="button" tabIndex="-1"><i class="fa fa-code"></i></button>')),c.$box.append(m),c.events.bindClick(c.$box,"a.html-switch",function(){c.events.trigger("commands.before",["html"]),E(!1),c.events.trigger("commands.after",["html"])}));var e=function e(){return!u()};c.events.on("buttons.refresh",e),c.events.on("copy",e,!0),c.events.on("cut",e,!0),c.events.on("paste",e,!0),c.events.on("destroy",y,!0),c.events.on("html.set",function(){u()&&E(!0)}),c.events.on("codeView.update",g),c.events.on("codeView.toggle",function(){c.$box.hasClass("fr-code-view")&&E()}),c.events.on("form.submit",function(){u()&&(c.html.set(h()),c.events.trigger("contentChanged",[],!0))},!0)}(),!f&&c.opts.codeMirror?((f=c.opts.codeMirror.fromTextArea(d.get(0),c.opts.codeMirrorOptions)).on("blur",b),f.on("focus",C)):(c.events.$on(d,"keydown keyup change input",function(){c.opts.height?this.removeAttribute("rows"):(this.rows=1,0===this.value.length?this.style.height="auto":this.style.height="".concat(this.scrollHeight,"px"))}),c.events.$on(d,"blur",b),c.events.$on(d,"focus",C))),c.undo.saveStep(),c.html.cleanEmptyTags(),c.html.cleanWhiteTags(!0),c.core.hasFocus()&&(c.core.isEmpty()||(c.selection.save(),c.$el.find('.fr-marker[data-type="true"]').first().replaceWith('<span class="fr-tmp fr-sm">F</span>'),c.$el.find('.fr-marker[data-type="false"]').last().replaceWith('<span class="fr-tmp fr-em">F</span>')));var t=c.html.get(!1,!0);c.$el.find("span.fr-tmp").remove(),c.$box.toggleClass("fr-code-view",!0);var n,r,a=!1;if(c.core.hasFocus()&&(a=!0,c.events.disableBlur(),c.$el.blur()),t=(t=t.replace(/<span class="fr-tmp fr-sm">F<\/span>/,"FROALA-SM")).replace(/<span class="fr-tmp fr-em">F<\/span>/,"FROALA-EM"),c.codeBeautifier&&!t.includes("fr-embedly")&&(t=c.codeBeautifier.run(t,c.opts.codeBeautifierOptions)),f){n=t.indexOf("FROALA-SM"),(r=t.indexOf("FROALA-EM"))<n?n=r:r-=9;var o=(t=t.replace(/FROALA-SM/g,"").replace(/FROALA-EM/g,"")).substring(0,n).length-t.substring(0,n).replace(/\n/g,"").length,i=t.substring(0,r).length-t.substring(0,r).replace(/\n/g,"").length;n=t.substring(0,n).length-t.substring(0,t.substring(0,n).lastIndexOf("\n")+1).length,r=t.substring(0,r).length-t.substring(0,t.substring(0,r).lastIndexOf("\n")+1).length,f.setSize(null,c.opts.height?c.opts.height:"auto"),c.opts.heightMin&&c.$box.find(".CodeMirror-scroll").css("min-height",c.opts.heightMin),f.setValue(t),v=!a,f.focus(),v=!0,f.setSelection({line:o,ch:n},{line:i,ch:r}),f.refresh(),f.clearHistory()}else{n=t.indexOf("FROALA-SM"),r=t.indexOf("FROALA-EM")-9,c.opts.heightMin&&d.css("min-height",c.opts.heightMin),c.opts.height&&d.css("height",c.opts.height),c.opts.heightMax&&d.css("max-height",c.opts.height||c.opts.heightMax),d.val(t.replace(/FROALA-SM/g,"").replace(/FROALA-EM/g,"")).trigger("change");var s=p(c.o_doc).scrollTop();v=!a,d.focus(),v=!0,d.get(0).setSelectionRange(n,r),p(c.o_doc).scrollTop(s)}c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(p(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!0),e.addClass("fr-active").attr("aria-pressed",!0),!c.helpers.isMobile()&&c.opts.toolbarInline&&c.toolbar.hide()}function E(e){void 0===e&&(e=!u());var t=c.$tb.find('.fr-command[data-cmd="html"]');e?(c.popups.hideAll(),r(t)):(c.$box.toggleClass("fr-code-view",!1),function n(e){var t=h();c.html.set(t),c.$el.blur(),c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1),c.selection.setAtStart(c.el),c.selection.restore(),c.placeholder.refresh(),c.undo.saveStep()}(t),c.events.trigger("codeView.update"))}function y(){u()&&E(!1),f&&f.toTextArea(),d.val("").removeData().remove(),d=null,m&&(m.remove(),m=null)}return{_init:function e(){if(c.events.on("focus",function(){c.opts.toolbarContainer&&function t(){var e=c.$tb.find('.fr-command[data-cmd="html"]');u()?(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(p(this).data("cmd"))<0}).addClass("fr-disabled").attr("aria-disabled",!1),e.addClass("fr-active").attr("aria-pressed",!1)):(c.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(e).removeClass("fr-disabled").attr("aria-disabled",!1),e.removeClass("fr-active").attr("aria-pressed",!1))}()}),!c.$wp)return!1},toggle:E,isActive:u,get:h}},xt.RegisterCommand("html",{title:"Code View",undo:!1,focus:!1,forcedRefresh:!0,toggle:!0,callback:function(){this.codeView.toggle()},plugin:"codeView"}),xt.DefineIcon("html",{NAME:"code",SVG_KEY:"codeView"}),Object.assign(xt.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(xt.DEFAULTS,{colorsText:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsBackground:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]}),xt.PLUGINS.colors=function(m){var v=m.$,s='<div class="fr-color-hex-layer fr-active fr-layer" id="fr-color-hex-layer- \n '.concat(m.id,'"><div class="fr-input-line"><input maxlength="7" id="[ID]"\n type="text" placeholder="').concat(m.language.translate("HEX Color"),'" \n tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button \n type="button" class="fr-command fr-submit" data-cmd="[COMMAND]" tabIndex="2" role="button">\n ').concat(m.language.translate("OK"),"</button></div></div>");function l(e){for(var t="text"===e?m.opts.colorsText:m.opts.colorsBackground,n='<div class="fr-color-set fr-'.concat(e,'-color fr-selected-set">'),r=0;r<t.length;r++)0!==r&&r%m.opts.colorsStep==0&&(n+="<br>"),"REMOVE"!==t[r]?n+='<span class="fr-command fr-select-color" style="background:'.concat(t[r],';" \n tabIndex="-1" aria-selected="false" role="button" data-cmd="apply').concat(e,'Color" \n data-param1="').concat(t[r],'"><span class="fr-sr-only"> ').concat(m.language.translate("Color")).concat(t[r]," \n &nbsp;&nbsp;&nbsp;</span></span>"):n+='<span class="fr-command fr-select-color" data-cmd="apply'.concat(e,'Color"\n tabIndex="-1" role="button" data-param1="REMOVE" \n title="').concat(m.language.translate("Clear Formatting"),'">').concat(m.icon.create("remove"),' \n <span class="fr-sr-only"> ').concat(m.language.translate("Clear Formatting")," </span></span>");return"".concat(n,"</div>")}function c(e){var t,n=m.popups.get("".concat(e,"Color.picker")),r=v(m.selection.element());t="background"===e?"background-color":"color";var a=n.find(".fr-".concat(e,"-color .fr-select-color"));for(a.find(".fr-selected-color").remove(),a.removeClass("fr-active-item"),a.not('[data-param1="REMOVE"]').attr("aria-selected",!1);r.get(0)!==m.el;){if("transparent"!==r.css(t)&&"rgba(0, 0, 0, 0)"!==r.css(t)){var o=n.find(".fr-".concat(e,'-color .fr-select-color[data-param1="').concat(m.helpers.RGBToHex(r.css(t)),'"]'));o.append('<span class="fr-selected-color" aria-hidden="true">\uf00c</span>'),o.addClass("fr-active-item").attr("aria-selected",!0);break}r=r.parent()}!function i(e){var t=m.popups.get("".concat(e,"Color.picker")),n=t.find(".fr-".concat(e,"-color .fr-active-item")).attr("data-param1"),r=t.find(".fr-color-hex-layer input");n||(n="");r.length&&v(r.val(n).input).trigger("change")}(e)}function r(e){"REMOVE"!==e?m.format.applyStyle("background-color",m.helpers.HEXtoRGB(e)):m.format.removeStyle("background-color"),m.popups.hide("backgroundColor.picker")}function a(e){"REMOVE"!==e?m.format.applyStyle("color",m.helpers.HEXtoRGB(e)):m.format.removeStyle("color"),m.popups.hide("textColor.picker")}return{showColorsPopup:function d(e){var t=m.$tb.find('.fr-command[data-cmd="'.concat(e,'"]')),n=m.popups.get("".concat(e,".picker"));if(n||(n=function i(e){var t="";m.opts.toolbarInline&&0<m.opts.colorsButtons.length&&(t+='<div class="fr-buttons fr-colors-buttons fr-tabs">\n '.concat(m.button.buildList(m.opts.colorsButtons),"\n </div>"));var n,r="";n="textColor"===e?(m.opts.colorsHEXInput&&(r=s.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(m.id)).replace(/\[COMMAND\]/g,"customTextColor")),{buttons:t,text_colors:l("text"),custom_color:r}):(m.opts.colorsHEXInput&&(r=s.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(m.id)).replace(/\[COMMAND\]/g,"customBackgroundColor")),{buttons:t,background_colors:l("background"),custom_color:r});var a=m.popups.create("".concat(e,".picker"),n);return function o(h,g){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible(g)||!t.is("span"))return!0;var n=e.which,r=!0;if(xt.KEYCODE.TAB===n){var a=h.find(".fr-buttons");r=!m.accessibility.focusToolbar(a,!!e.shiftKey)}else if(xt.KEYCODE.ARROW_UP===n||xt.KEYCODE.ARROW_DOWN===n||xt.KEYCODE.ARROW_LEFT===n||xt.KEYCODE.ARROW_RIGHT===n){if(t.is("span.fr-select-color")){var o=t.parent().find("span.fr-select-color"),i=o.index(t),s=m.opts.colorsStep,l=Math.floor(o.length/s),c=i%s,d=Math.floor(i/s),f=d*s+c,p=l*s;xt.KEYCODE.ARROW_UP===n?f=((f-s)%p+p)%p:xt.KEYCODE.ARROW_DOWN===n?f=(f+s)%p:xt.KEYCODE.ARROW_LEFT===n?f=((f-1)%p+p)%p:xt.KEYCODE.ARROW_RIGHT===n&&(f=(f+1)%p);var u=v(o.get(f));m.events.disableBlur(),u.focus(),r=!1}}else xt.KEYCODE.ENTER===n&&(m.button.exec(t),r=!1);return!1===r&&(e.preventDefault(),e.stopPropagation()),r},!0)}(a,"".concat(e,".picker")),a}(e)),!n.hasClass("fr-active"))if(m.popups.setContainer("".concat(e,".picker"),m.$tb),c("textColor"===e?"text":"background"),t.isVisible()){var r=m.button.getPosition(t),a=r.left,o=r.top;m.popups.show("".concat(e,".picker"),a,o,t.outerHeight())}else m.position.forSelection(n),m.popups.show("".concat(e,".picker"))},background:r,customColor:function o(e){var t=m.popups.get("".concat(e,"Color.picker")).find(".fr-color-hex-layer input");if(t.length){var n=t.val();"background"===e?r(n):a(n)}},text:a,back:function e(){m.popups.hide("textColor.picker"),m.popups.hide("backgroundColor.picker"),m.toolbar.showInline()}}},xt.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"}),xt.RegisterCommand("textColor",{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}}),xt.RegisterCommand("applytextColor",{undo:!0,callback:function(e,t){this.colors.text(t)}}),xt.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}}),xt.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"}),xt.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}}),xt.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(e,t){this.colors.background(t)}}),xt.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}}),xt.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),xt.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"}),Object.assign(xt.DEFAULTS,{dragInline:!0}),xt.PLUGINS.draggable=function(d){var f=d.$;function e(e){return!(!e.originalEvent||!e.originalEvent.target||e.originalEvent.target.nodeType!==Node.TEXT_NODE)||(e.target&&"A"===e.target.tagName&&1===e.target.childNodes.length&&"IMG"===e.target.childNodes[0].tagName&&(e.target=e.target.childNodes[0]),f(e.target).hasClass("fr-draggable")?(d.undo.canDo()||d.undo.saveStep(),d.opts.dragInline?d.$el.attr("contenteditable",!0):d.$el.attr("contenteditable",!1),d.opts.toolbarInline&&d.toolbar.hide(),f(e.target).addClass("fr-dragging"),d.browser.msie||d.browser.edge||d.selection.clear(),void e.originalEvent.dataTransfer.setData("text","Froala")):(e.preventDefault(),!1))}var p,u=function u(e){return!(e&&("HTML"===e.tagName||"BODY"===e.tagName||d.node.isElement(e)))};function h(e,t,n){if(d.opts.iframe){var r=d.helpers.getPX(d.$wp.find(".fr-iframe").css("padding-top")),a=d.helpers.getPX(d.$wp.find(".fr-iframe").css("padding-left"));e+=d.$iframe.offset().top+r,t+=d.$iframe.offset().left+a}p.offset().top!==e&&p.css("top",e),p.offset().left!==t&&p.css("left",t),p.width()!==n&&p.css("width",n)}function t(e){e.originalEvent.dataTransfer.dropEffect="move",d.opts.dragInline?(!function n(){for(var e=null,t=0;t<xt.INSTANCES.length;t++)if((e=xt.INSTANCES[t].$el.find(".fr-dragging")).length)return e.get(0)}()||d.browser.msie||d.browser.edge)&&e.preventDefault():(e.preventDefault(),function c(e){var t=d.doc.elementFromPoint(e.originalEvent.pageX-d.win.pageXOffset,e.originalEvent.pageY-d.win.pageYOffset);if(!u(t)){for(var n=0,r=t;!u(r)&&r===t&&0<e.originalEvent.pageY-d.win.pageYOffset-n;)n++,r=d.doc.elementFromPoint(e.originalEvent.pageX-d.win.pageXOffset,e.originalEvent.pageY-d.win.pageYOffset-n);(!u(r)||p&&0===d.$el.find(r).length&&r!==p.get(0))&&(r=null);for(var a=0,o=t;!u(o)&&o===t&&e.originalEvent.pageY-d.win.pageYOffset+a<f(d.doc).height();)a++,o=d.doc.elementFromPoint(e.originalEvent.pageX-d.win.pageXOffset,e.originalEvent.pageY-d.win.pageYOffset+a);(!u(o)||p&&0===d.$el.find(o).length&&o!==p.get(0))&&(o=null),t=null===o&&r?r:o&&null===r?o:o&&r?n<a?r:o:null}if(f(t).hasClass("fr-drag-helper"))return!1;if(t&&!d.node.isBlock(t)&&(t=d.node.blockParent(t)),t&&0<=["TD","TH","TR","THEAD","TBODY"].indexOf(t.tagName)&&(t=f(t).parents("table").get(0)),t&&0<=["LI"].indexOf(t.tagName)&&(t=f(t).parents("UL, OL").get(0)),t&&!f(t).hasClass("fr-drag-helper")){var i;p||(xt.$draggable_helper||(xt.$draggable_helper=f(document.createElement("div")).attr("class","fr-drag-helper")),p=xt.$draggable_helper,d.events.on("shared.destroy",function(){p.html("").removeData().remove(),p=null},!0)),i=e.originalEvent.pageY<f(t).offset().top+f(t).outerHeight()/2;var s=f(t),l=0;i||0!==s.next().length?(i||(s=s.next()),"before"===p.data("fr-position")&&s.is(p.data("fr-tag"))||(0<s.prev().length&&(l=parseFloat(s.prev().css("margin-bottom"))||0),l=Math.max(l,parseFloat(s.css("margin-top"))||0),h(s.offset().top-l/2-d.$box.offset().top,s.offset().left-d.win.pageXOffset-d.$box.offset().left,s.width()),p.data("fr-position","before"))):"after"===p.data("fr-position")&&s.is(p.data("fr-tag"))||(l=parseFloat(s.css("margin-bottom"))||0,h(s.offset().top+f(t).height()+l/2-d.$box.offset().top,s.offset().left-d.win.pageXOffset-d.$box.offset().left,s.width()),p.data("fr-position","after")),p.data("fr-tag",s),p.addClass("fr-visible"),d.$box.append(p)}else p&&0<d.$box.find(p).length&&p.removeClass("fr-visible")}(e))}function n(e){e.originalEvent.dataTransfer.dropEffect="move",d.opts.dragInline||e.preventDefault()}function r(e){d.$el.attr("contenteditable",!0);var t=d.$el.find(".fr-dragging");p&&p.hasClass("fr-visible")&&d.$box.find(p).length?a(e):t.length&&(e.preventDefault(),e.stopPropagation()),p&&d.$box.find(p).length&&p.removeClass("fr-visible"),t.removeClass("fr-dragging")}function a(e){var t,n;d.$el.attr("contenteditable",!0);for(var r=0;r<xt.INSTANCES.length;r++)if((t=xt.INSTANCES[r].$el.find(".fr-dragging")).length){n=xt.INSTANCES[r];break}if(t.length){if(e.preventDefault(),e.stopPropagation(),p&&p.hasClass("fr-visible")&&d.$box.find(p).length)p.data("fr-tag")[p.data("fr-position")]('<span class="fr-marker"></span>'),p.removeClass("fr-visible");else if(!1===d.markers.insertAtPoint(e.originalEvent))return!1;if(t.removeClass("fr-dragging"),!1===(t=d.events.chainTrigger("element.beforeDrop",t)))return!1;var a=t;if(t.parent().is("A")&&1===t.parent().get(0).childNodes.length&&(a=t.parent()),d.core.isEmpty())d.events.focus();else d.$el.find(".fr-marker").replaceWith(xt.MARKERS),d.selection.restore();if(n===d||d.undo.canDo()||d.undo.saveStep(),d.core.isEmpty())d.$el.html(a);else{var o=d.markers.insert();0===a.find(o).length?f(o).replaceWith(a):0===t.find(o).length&&f(o).replaceWith(t),t.after(xt.MARKERS),d.selection.restore()}return d.popups.hideAll(),d.selection.save(),d.$el.find(d.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(d.opts.htmlAllowedEmptyTags.join(",")).remove(),d.html.wrap(),d.html.fillEmptyBlocks(),d.selection.restore(),d.undo.saveStep(),d.opts.iframe&&d.size.syncIframe(),n!==d&&(n.popups.hideAll(),n.$el.find(n.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),n.html.wrap(),n.html.fillEmptyBlocks(),n.undo.saveStep(),n.events.trigger("element.dropped"),n.opts.iframe&&n.size.syncIframe()),d.events.trigger("element.dropped",[a]),!1}p&&p.removeClass("fr-visible"),d.undo.canDo()||d.undo.saveStep(),setTimeout(function(){d.undo.saveStep()},0)}function o(e){if(e&&"DIV"===e.tagName&&d.node.hasClass(e,"fr-drag-helper"))e.parentNode.removeChild(e);else if(e&&e.nodeType===Node.ELEMENT_NODE)for(var t=e.querySelectorAll("div.fr-drag-helper"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n])}return{_init:function i(){d.opts.enter===xt.ENTER_BR&&(d.opts.dragInline=!0),d.events.on("dragstart",e,!0),d.events.on("dragover",t,!0),d.events.on("dragenter",n,!0),d.events.on("document.dragend",r,!0),d.events.on("document.drop",r,!0),d.events.on("drop",a,!0),d.events.on("html.processGet",o)}}},Object.assign(xt.DEFAULTS,{editInPopup:!1}),xt.MODULES.editInPopup=function(r){function e(){r.events.$on(r.$el,r._mouseup,function(){setTimeout(function(){!function n(){var e,t=r.popups.get("text.edit");e="INPUT"===r.el.tagName?r.$el.attr("placeholder"):r.$el.text(),t.find("input").val(e).trigger("change"),r.popups.setContainer("text.edit",r.$sc),r.popups.show("text.edit",r.$el.offset().left+r.$el.outerWidth()/2,r.$el.offset().top+r.$el.outerHeight(),r.$el.outerHeight())}()},10)})}return{_init:function n(){r.opts.editInPopup&&(!function t(){var e={edit:'<div id="fr-text-edit-'.concat(r.id,'" class="fr-layer fr-text-edit-layer"><div class="fr-input-line"><input type="text" placeholder="').concat(r.language.translate("Text"),'" tabIndex="1"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="updateText" tabIndex="2">').concat(r.language.translate("Update"),"</button></div></div>")};r.popups.create("text.edit",e)}(),e())},update:function t(){var e=r.popups.get("text.edit").find("input").val();0===e.length&&(e=r.opts.placeholderText),"INPUT"===r.el.tagName?r.$el.attr("placeholder",e):r.$el.text(e),r.events.trigger("contentChanged"),r.popups.hide("text.edit")}}},xt.RegisterCommand("updateText",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}}),Object.assign(xt.POPUP_TEMPLATES,{emoticons:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Object.assign(xt.DEFAULTS,{emoticonsSet:[{id:"people",name:"Smileys & People",code:"1f600",emoticons:[{code:"1f600",desc:"Grinning face"},{code:"1f601",desc:"Grinning Face with Smiling Eyes"},{code:"1f602",desc:"Face with Tears of Joy"},{code:"1f603",desc:"Smiling Face with Open Mouth"},{code:"1f604",desc:"Smiling Face with Open Mouth and Smiling Eyes"},{code:"1f605",desc:"Smiling Face with Open Mouth and Cold Sweat"},{code:"1f606",desc:"Smiling Face with Open Mouth and Tightly-Closed Eyes"},{code:"1f609",desc:"Winking Face"},{code:"1f60a",desc:"Smiling Face with Smiling Eyes"},{code:"1f608",desc:"Face Savouring Delicious Food"},{code:"1f60e",desc:"Smiling Face with Sunglasses"},{code:"1f60d",desc:"Smiling Face with Heart-Shaped Eyes"},{code:"1f618",desc:"Face Throwing a Kiss"},{code:"1f617",desc:"Kissing Face"},{code:"1f619",desc:"Kissing Face with Smiling Eyes"},{code:"1f61a",desc:"Kissing Face with Closed Eyes"},{code:"263a",desc:"White Smiling Face"},{code:"1f642",desc:"Slightly Smiling Face"},{code:"1f610",desc:"Neutral Face"},{code:"1f611",desc:"Expressionless Face"},{code:"1f636",desc:"Face Without Mouth"},{code:"1f60f",desc:"Smirking Face"},{code:"1f623",desc:"Persevering Face"},{code:"1f625",desc:"Disappointed but Relieved Face"},{code:"1f62e",desc:"Face with Open Mouth"},{code:"1f62f",desc:"Hushed Face"},{code:"1f62a",desc:"Sleepy Face"},{code:"1f62b",desc:"Tired Face"},{code:"1f634",desc:"Sleeping Face"},{code:"1f60c",desc:"Relieved Face"},{code:"1f61b",desc:"Face with Stuck-out Tongue"},{code:"1f61c",desc:"Face with Stuck-out Tongue and Winking Eye"},{code:"1f61d",desc:"Face with Stuck-out Tongue and Tightly-Closed Eyes"},{code:"1f612",desc:"Unamused Face"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f614",desc:"Pensive Face"},{code:"1f615",desc:"Confused Face"},{code:"1f632",desc:"Astonished Face"},{code:"1f616",desc:"Confounded Face"},{code:"1f61e",desc:"Disappointed Face"},{code:"1f61f",desc:"Worried Face"},{code:"1f624",desc:"Face with Look of Triumph"},{code:"1f622",desc:"Crying Face"},{code:"1f62d",desc:"Loudly Crying Face"},{code:"1f626",desc:"Frowning Face with Open Mouth"},{code:"1f627",desc:"Anguished Face"},{code:"1f628",desc:"Fearful Face"},{code:"1f629",desc:"Weary Face"},{code:"1f62c",desc:"Grimacing Face"},{code:"1f630",desc:"Face with Open Mouth and Cold Sweat"},{code:"1f631",desc:"Face Screaming in Fear"},{code:"1f633",desc:"Flushed Face"},{code:"1f635",desc:"Dizzy Face"},{code:"1f621",desc:"Pouting Face"},{code:"1f620",desc:"Angry Face"},{code:"1f637",desc:"Face with Medical Mask"},{code:"1f607",desc:"Smiling Face with Halo"},{code:"1f608",desc:"Smiling Face with Horns"},{code:"1f47f",desc:"Imp"},{code:"1f479",desc:"Japanese Ogre"},{code:"1f47a",desc:"Japanese Goblin"},{code:"1f480",desc:"Skull"},{code:"1f47b",desc:"Ghost"},{code:"1f47d",desc:"Extraterrestrial Alien"},{code:"1f47e",desc:"Alien Monster"},{code:"1f4a9",desc:"Pile of Poo"},{code:"1f63a",desc:"Smiling Cat Face with Open Mouth"},{code:"1f638",desc:"Grinning Cat Face with Smiling Eyes"},{code:"1f639",desc:"Cat Face with Tears of Joy"},{code:"1f63b",desc:"Smiling Cat Face with Heart-Shaped Eyes"},{code:"1f63c",desc:"Cat Face with Wry Smile"},{code:"1f63d",desc:"Kissing Cat Face with Closed Eyes"},{code:"1f640",desc:"Weary Cat Face"},{code:"1f63f",desc:"Crying Cat Face"},{code:"1f63e",desc:"Pouting Cat Face"},{code:"1f648",desc:"See-No-Evil Monkey"},{code:"1f649",desc:"Hear-No-Evil Monkey"},{code:"1f64a",desc:"Speak-No-Evil Monkey"},{code:"1f476",desc:"Baby"},{code:"1f466",desc:"Boy"},{code:"1f467",desc:"Girl"},{code:"1f468",desc:"Man"},{code:"1f469",desc:"Woman"},{code:"1f474",desc:"Older Man"},{code:"1f475",desc:"Older Woman"},{code:"1f46e",desc:"Police Officer"},{code:"1f482",desc:" Guardsman"},{code:"1f477",desc:" Construction Worker"},{code:"1f478",desc:"Princess"},{code:"1f473",desc:"Man with Turban"},{code:"1f472",desc:"Man with Gua Pi Mao"},{code:"1f471",desc:"Person with Blond Hair"},{code:"1f470",desc:"Bride with Veil"},{code:"1f47c",desc:"Baby Angel"},{code:"1f385",desc:"Father Christmas"},{code:"1f64e",desc:"Person with Pouting Face"},{code:"1f645",desc:"Face with No Good Gesture"},{code:"1f646",desc:"Face with Ok Gesture"},{code:"1f481",desc:"Information Desk Person"},{code:"1f64b",desc:"Happy Person Raising One Hand"},{code:"1f647",desc:"Person Bowing Deeply"},{code:"1f486",desc:"Face Massage"},{code:"1f487",desc:"Haircut"},{code:"1f6b6",desc:"Pedestrian"},{code:"1f3c3",desc:"Runner"},{code:"1f483",desc:"Dancer"},{code:"1f46f",desc:"Woman with Bunny Ears"},{code:"1f6c0",desc:"Bath"},{code:"1f464",desc:"Bust in Silhouette"},{code:"1f465",desc:"Busts in Silhouette"},{code:"1f3c7",desc:"Horse Racing"},{code:"1f3c2",desc:" Snowboarder"},{code:"1f3c4",desc:" Surfer"},{code:"1f6a3",desc:" Rowboat"},{code:"1f3ca",desc:" Swimmer"},{code:"1f6b4",desc:" Bicyclist"},{code:"1f6b5",desc:"Mountain Bicyclist"},{code:"1f46b",desc:" Man and Woman Holding Hands"},{code:"1f46c",desc:"Two Men Holding Hands"},{code:"1f46d",desc:"Two Women Holding Hands"},{code:"1f48f",desc:"Kiss"},{code:"1f468-2764-1f48b-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",desc:"Man Kiss Man"},{code:"1f469-2764-1f48b-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Kiss Woman"},{code:"1f491",desc:"Couple with Heart"},{code:"1f468-2764-1f468",uCode:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68",desc:"Man Heart Man"},{code:"1f469-2764-1f469",uCode:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",desc:"Woman Heart Woman"},{code:"1f46a",desc:"Family"},{code:"1f468",desc:"Man Woman Boy"},{code:"1f468-1f469-1f467",desc:"Man Woman Girl"},{code:"1f468-1f469-1f467-1f466",desc:"Man Woman Girl Boy"},{code:"1f468-1f469-1f466-1f466",desc:"Man Woman Boy Boy"},{code:"1f468-1f469-1f467-1f467",desc:"Man Woman Girl Girl"},{code:"1f468-1f468-1f466",desc:"Man Man Boy"},{code:"1f468-1f468-1f467",desc:"Man Man Girl"},{code:"1f468-1f468-1f467-1f466",desc:"Man Man Girl Boy"},{code:"1f468-1f468-1f466-1f466",desc:"Man Man Boy Boy"},{code:"1f469-1f469-1f466",desc:"Woman Woman Boy"},{code:"1f469-1f469-1f467",desc:"Woman Woman Girl"},{code:"1f469-1f469-1f467-1f466",desc:"Woman Woman Girl Boy"},{code:"1f469-1f469-1f467-1f467",desc:"Woman Woman Girl Girl"},{code:"1f4aa",desc:"Flexed Biceps"},{code:"1f448",desc:"White Left Pointing Backhand Index"},{code:"1f449",desc:"White Right Pointing Backhand Index"},{code:"1f446",desc:"White Up Pointing Backhand Index"},{code:"1f447",desc:"White Down Pointing Backhand Index"},{code:"270c",desc:"Victory Hand"},{code:"270b",desc:"Raised Hand"},{code:"1f44c",desc:"Ok Hand Sign"},{code:"1f44d",desc:"Thumbs Up Sign"},{code:"1f44e",desc:"Thumbs Down Sign"},{code:"270a",desc:"Raised Fist"},{code:"1f44a",desc:"Fisted Hand Sign"},{code:"1f44b",desc:"Waving Hand Sign"},{code:"1f44f",desc:"Clapping Hands Sign"},{code:"1f450",desc:"Open Hands Sign"},{code:"1f64c",desc:"Person Raising Both Hands in Celebration"},{code:"1f64f",desc:"Person with Folded Hands"},{code:"1f485",desc:"Nail Polish"},{code:"1f442",desc:"Ear"},{code:"1f443",desc:"Nose"},{code:"1f463",desc:"Footprints"},{code:"1f440",desc:"Eyes"},{code:"1f445",desc:"Tongue"},{code:"1f444",desc:"Mouth"},{code:"1f48b",desc:"Kiss Mark"},{code:"1f498",desc:"Heart with Arrow"},{code:"2764",desc:"Heavy Black Heart"},{code:"1f493",desc:"Heavy Black Heart"},{code:"1f494",desc:"Broken Heart"},{code:"1f495",desc:"Two Hearts"},{code:"1f496",desc:"Sparkling Hearts"},{code:"1f497",desc:"Growing Hearts"},{code:"1f499",desc:"Blue Heart"},{code:"1f49a",desc:"Green Heart"},{code:"1f49b",desc:"Yellow Heart"},{code:"1f49c",desc:"Purple Heart"},{code:"1f49d",desc:"Heart with Ribbon"},{code:"1f49e",desc:"Revolving Hearts"},{code:"1f49f",desc:"Heart Decoration"},{code:"1f48c",desc:"Love Letter"},{code:"1f4a4",desc:"Sleeping Symbol"},{code:"1f4a2",desc:"Anger Symbol"},{code:"1f4a3",desc:"Bomb"},{code:"1f4a5",desc:"Collision Symbol"},{code:"1f4a6",desc:"Splashing Sweat Symbol"},{code:"1f4a8",desc:"Dash Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ac",desc:"Speech Balloon"},{code:"1f4ad",desc:"Thought Balloon"},{code:"1f453",desc:"Eyeglasses"},{code:"1f454",desc:"Necktie"},{code:"1f455",desc:"T-Shirt"},{code:"1f456",desc:"Jeans"},{code:"1f457",desc:"Dress"},{code:"1f458",desc:"Kimono"},{code:"1f459",desc:"Bikini"},{code:"1f45a",desc:"Womans Clothes"},{code:"1f45b",desc:"Purse"},{code:"1f45c",desc:"Handbag"},{code:"1f45d",desc:"Pouch"},{code:"1f392",desc:"School Satchel"},{code:"1f45e",desc:"Mans Shoe"},{code:"1f45f",desc:"Athletic Shoe"},{code:"1f460",desc:"High-Heeled Shoe"},{code:"1f461",desc:"Womans Sandal"},{code:"1f462",desc:"Womans Boots"},{code:"1f451",desc:"Crown"},{code:"1f452",desc:"Womans Hat"},{code:"1f462",desc:"Top Hat"},{code:"1f393",desc:"Graduation Cap"},{code:"1f484",desc:"Lipstick"},{code:"1f48d",desc:"Ring"},{code:"1f48e",desc:"Gem Stone"}]},{id:"nature",name:"Animals & Nature",code:"1F435",emoticons:[{code:"1F435",desc:"Monkey Face"},{code:"1F412",desc:"Monkey"},{code:"1F436",desc:"Dog Face"},{code:"1F415",desc:"Dog"},{code:"1F429",desc:"Poodle"},{code:"1F43A",desc:"Wolf Face"},{code:"1F431",desc:"Cat Face"},{code:"1F408",desc:"Cat"},{code:"1F42F",desc:"Tiger Face"},{code:"1F405",desc:"Tiger"},{code:"1F406",desc:"Leopard"},{code:"1F434",desc:"Horse Face"},{code:"1F40E",desc:"Horse"},{code:"1F42E",desc:"Cow Face"},{code:"1F402",desc:"Ox"},{code:"1F403",desc:"Water Buffalo"},{code:"1F404",desc:"Cow"},{code:"1F437",desc:"Pig Face"},{code:"1F416",desc:"Pig"},{code:"1F417",desc:"Boar"},{code:"1F43D",desc:"Pig Nose"},{code:"1F40F",desc:"Ram"},{code:"1F411",desc:"Sheep"},{code:"1F410",desc:"Goat"},{code:"1F42A",desc:"Dromedary Camel"},{code:"1F42B",desc:"Bactrian Camel"},{code:"1F418",desc:"Elephant"},{code:"1F42D",desc:"Mouse Face"},{code:"1F401",desc:"Mouse"},{code:"1F400",desc:"Rat"},{code:"1F439",desc:"Hamster Face"},{code:"1F430",desc:"Rabbit Face"},{code:"1F407",desc:"Rabbit"},{code:"1F43B",desc:"Bear Face"},{code:"1F428",desc:"Koala"},{code:"1F43C",desc:"Panda Face"},{code:"1F43E",desc:"Paw Prints"},{code:"1F414",desc:"Chicken"},{code:"1F413",desc:"Rooster"},{code:"1F423",desc:"Hatching Chick"},{code:"1F424",desc:"Baby Chick"},{code:"1F425",desc:"Front-Facing Baby Chick"},{code:"1F426",desc:"Bird"},{code:"1F427",desc:"Penguin"},{code:"1F438",desc:"Frog Face"},{code:"1F40A",desc:"Crocodile"},{code:"1F422",desc:"Turtle"},{code:"1F40D",desc:"Snake"},{code:"1F432",desc:"Dragon Face"},{code:"1F409",desc:"Dragon"},{code:"1F433",desc:"Spouting Whale"},{code:"1F40B",desc:"Whale"},{code:"1F42C",desc:"Dolphin"},{code:"1F41F",desc:"Fish"},{code:"1F420",desc:"Tropical Fish"},{code:"1F421",desc:"Blowfish"},{code:"1F419",desc:"Octopus"},{code:"1F41A",desc:"Spiral Shell"},{code:"1F40C",desc:"Snail"},{code:"1F41B",desc:"Bug"},{code:"1F41C",desc:"Ant"},{code:"1F41D",desc:"Honeybee"},{code:"1F41E",desc:"Lady Beetle"},{code:"1F490",desc:"Bouquet"},{code:"1F338",desc:"Cherry Blossom"},{code:"1F4AE",desc:"White Flower"},{code:"1F339",desc:"Rose"},{code:"1F33A",desc:"Hibiscus"},{code:"1F33B",desc:"Sunflower"},{code:"1F33C",desc:"Blossom"},{code:"1F337",desc:"Tulip"},{code:"1F331",desc:"Seedling"},{code:"1F332",desc:"Evergreen Tree"},{code:"1F333",desc:"Deciduous Tree"},{code:"1F334",desc:"Palm Tree"},{code:"1F335",desc:"Cactus"},{code:"1F33E",desc:"Ear of Rice"},{code:"1F33F",desc:"Herb"},{code:"2618",desc:"Four Leaf Clover"},{code:"1F341",desc:"Maple Leaf"},{code:"1F342",desc:"Fallen Leaf"},{code:"1F343",desc:"Leaf Fluttering in Wind"}]},{id:"foods",name:"Food & Drink",code:"1F347",emoticons:[{code:"1F347",desc:"Grapes"},{code:"1F348",desc:"Melon"},{code:"1F349",desc:"Watermelon"},{code:"1F34A",desc:"Tangerine"},{code:"1F34B",desc:"Lemon"},{code:"1F34C",desc:"Banana"},{code:"1F34D",desc:"Pineapple"},{code:"1F34E",desc:"Red Apple"},{code:"1F34F",desc:"Green Apple"},{code:"1F350",desc:"Pear"},{code:"1F351",desc:"Peach"},{code:"1F352",desc:"Cherries"},{code:"1F353",desc:"Strawberry"},{code:"1F345",desc:"Tomato"},{code:"1F346",desc:"Aubergine"},{code:"1F33D",desc:"Ear of Maize"},{code:"1F344",desc:"Mushroom"},{code:"1F330",desc:"Chestnut"},{code:"1F35E",desc:"Bread"},{code:"1F356",desc:"Meat on Bone"},{code:"1F357",desc:"Poultry Leg"},{code:"1F354",desc:"Hamburger"},{code:"1F35F",desc:"French Fries"},{code:"1F355",desc:"Slice of Pizza"},{code:"1F373",desc:"Cooking"},{code:"1F372",desc:"Pot of Food"},{code:"1F371",desc:"Bento Box"},{code:"1F358",desc:"Rice Cracker"},{code:"1F359",desc:"Rice Ball"},{code:"1F35A",desc:"Cooked Rice"},{code:"1F35B",desc:"Curry and Rice"},{code:"1F35C",desc:"Steaming Bowl"},{code:"1F35D",desc:"Spaghetti"},{code:"1F360",desc:"Roasted Sweet Potato"},{code:"1F362",desc:"Oden"},{code:"1F363",desc:"Sushi"},{code:"1F364",desc:"Fried Shrimp"},{code:"1F365",desc:"Fish Cake with Swirl Design"},{code:"1F361",desc:"Dango"},{code:"1F366",desc:"Soft Ice Cream"},{code:"1F367",desc:"Shaved Ice"},{code:"1F368",desc:"Ice Cream"},{code:"1F369",desc:"Doughnut"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday Cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate Bar"},{code:"1F36C",desc:"Candy"},{code:"1F36D",desc:"Lollipop"},{code:"1F36E",desc:"Custard"},{code:"1F36F",desc:"Honey Pot"},{code:"1F37C",desc:"Baby Bottle"},{code:"2615",desc:"Hot Beverage"},{code:"1F375",desc:"Teacup Without Handle"},{code:"1F376",desc:"Sake Bottle and Cup"},{code:"1F377",desc:"Wine Glass"},{code:"1F378",desc:"Cocktail Glass"},{code:"1F379",desc:"Tropical Drink"},{code:"1F37A",desc:"Beer Mug"},{code:"1F37B",desc:"Clinking Beer Mugs"},{code:"1F374",desc:"Fork and Knife"},{code:"1F52A",desc:"Hocho"}]},{id:"activity",name:"Activities",code:"1f383",emoticons:[{code:"1f383",desc:" Jack-O-Lantern"},{code:"1f384",desc:"Christmas Tree"},{code:"1f386",desc:" Fireworks"},{code:"1f387",desc:"Firework Sparkler"},{code:"2728",desc:" Sparkles"},{code:"1f388",desc:"Balloon"},{code:"1f389",desc:"Party Popper"},{code:"1f38a",desc:"Confetti Ball"},{code:"1f38b",desc:"Tanabata Tree"},{code:"1f38d",desc:"Pine Decoration"},{code:"1f38e",desc:"Japanese Dolls"},{code:"1f38f",desc:"Carp Streamer"},{code:"1f390",desc:"Wind Chime"},{code:"1f391",desc:"Moon Viewing Ceremony"},{code:"1f380",desc:"Ribbon"},{code:"1f381",desc:"Wrapped Present"},{code:"1f3ab",desc:"Ticket"},{code:"1f3c6",desc:"Trophy"},{code:"1f388",desc:"Balloon"},{code:"26bd",desc:"Soccer Ball"},{code:"26be",desc:"Baseball"},{code:"1f3c0",desc:"Basketball and Hoop"},{code:"1f3c8",desc:"American Football"},{code:"1f3c9",desc:"Rugby Football"},{code:"1f3be",desc:"Tennis Racquet and Ball"},{code:"1f3b1",desc:"Billiards"},{code:"1f3b3",desc:"Bowling"},{code:"1f3af",desc:"Direct Hit"},{code:"26f3",desc:"Flag in Hole"},{code:"1f3a3",desc:"Fishing Pole and Fish"},{code:"1f3bd",desc:"Running Shirt with Sash"},{code:"1f3bf",desc:"Ski and Ski Boot"},{code:"1f3ae",desc:"Video Game"},{code:"1f3b2",desc:"Game Die"},{code:"2660",desc:"Black Spade Suit"},{code:"2665",desc:"Black Heart SuiT"},{code:"2666",desc:"Black Diamond Suit"},{code:"2663",desc:"Black Club Suit"},{code:"1f0cf",desc:"Playing Card Black Joker"},{code:"1f004",desc:"Mahjong Tile Red Dragon"},{code:"1f3b4",desc:"Flower Playing Cards"}]},{id:"places",name:"Travel & Places",code:"1f30d",emoticons:[{code:"1f30d",desc:"Earth Globe Europe-Africa"},{code:"1f30e",desc:"Earth Globe Americas"},{code:"1f30f",desc:"Earth Globe Asia-Australia"},{code:"1f310",desc:"Globe with Meridians"},{code:"1f5fe",desc:"Silhouette of Japan"},{code:"1f30b",desc:"Volcano"},{code:"1f5fb",desc:"Mount Fuji"},{code:"1f3e0",desc:"House Building"},{code:"1f3e1",desc:"House with Garden"},{code:"1f3e2",desc:"Office Building"},{code:"1f3e3",desc:"Japanese Post Office"},{code:"1f3e4",desc:"European Post Office"},{code:"1f3e5",desc:"Hospital"},{code:"1f3e6",desc:"Bank"},{code:"1f3e8",desc:"Hotel"},{code:"1f3e9",desc:"Love Hotel"},{code:"1f3ea",desc:"Convenience Store"},{code:"1f3eb",desc:"School"},{code:"1f3ec",desc:"Department Store"},{code:"1f3ed",desc:"Factory"},{code:"1f3ef",desc:"Japanese Castle"},{code:"1f3f0",desc:"European Castle"},{code:"1f492",desc:"Wedding"},{code:"1f5fc",desc:"Tokyo Tower"},{code:"1f5fd",desc:"Statue of Liberty"},{code:"26ea",desc:"Church"},{code:"26f2",desc:"Fountain"},{code:"26fa",desc:"Tent"},{code:"1f301",desc:"Foggy"},{code:"1f303",desc:"Night with Stars"},{code:"1f304",desc:"Sunrise over Mountains"},{code:"1f305",desc:"Sunrise"},{code:"1f306",desc:"Cityscape at Dusk"},{code:"1f307",desc:"Sunset over Buildings"},{code:"1f309",desc:"Bridge at Night"},{code:"2668",desc:"Hot Springs"},{code:"1f30c",desc:"Milky Way"},{code:"1f3a0",desc:"Carousel Horse"},{code:"1f3a1",desc:"Ferris Wheel"},{code:"1f3a2",desc:"Roller Coaster"},{code:"1f488",desc:"Barber Pole"},{code:"1f3aa",desc:"Circus Tent"},{code:"1f3ad",desc:"Performing Arts"},{code:"1f3a8",desc:"Artist Palette"},{code:"1f3b0",desc:"Slot Machine"},{code:"1f682",desc:"Steam Locomotive"},{code:"1f683",desc:"Railway Car"},{code:"1f684",desc:"High-Speed Train"},{code:"1f685",desc:"High-Speed Train with Bullet Nose"},{code:"1f686",desc:"Train"},{code:"1f687",desc:"Metro"},{code:"1f688",desc:"Light Rail"},{code:"1f689",desc:"Station"},{code:"1f68a",desc:"Tram"},{code:"1f69d",desc:"Monorail"},{code:"1f69e",desc:"Mountain Railway"},{code:"1f68b",desc:"Tram Car"},{code:"1f68c",desc:"Bus"},{code:"1f68d",desc:"Oncoming Bus"},{code:"1f68e",desc:"Trolleybus"},{code:"1f690",desc:"Minibus"},{code:"1f691",desc:"Ambulance"},{code:"1f692",desc:"Fire Engine"},{code:"1f693",desc:"Police Car"},{code:"1f694",desc:"Oncoming Police Car"},{code:"1f695",desc:"Taxi"},{code:"1f695",desc:"Oncoming Taxi"},{code:"1f697",desc:"Automobile"},{code:"1f698",desc:"Oncoming Automobile"},{code:"1f699",desc:"Recreational Vehicle"},{code:"1f69a",desc:"Delivery Truck"},{code:"1f69b",desc:"Articulated Lorry"},{code:"1f69c",desc:"Tractor"},{code:"1f6b2",desc:"Bicycle"},{code:"1f68f",desc:"Bus Stop"},{code:"26fd",desc:"Fuel Pump"},{code:"1f6a8",desc:"Police Cars Revolving Light"},{code:"1f6a5",desc:"Horizontal Traffic Light"},{code:"1f6a6",desc:"Vertical Traffic Light"},{code:"1f6a7",desc:"Construction Sign"},{code:"2693",desc:"Anchor"},{code:"26f5",desc:"Sailboat"},{code:"1f6a4",desc:"Speedboat"},{code:"1f6a2",desc:"Ship"},{code:"2708",desc:"Airplane"},{code:"1f4ba",desc:"Seat"},{code:"1f681",desc:"Helicopter"},{code:"1f69f",desc:"Suspension Railway"},{code:"1f6a0",desc:"Mountain Cableway"},{code:"1f6a1",desc:"Aerial Tramway"},{code:"1f680",desc:"Rocket"},{code:"1f6aa",desc:"Door"},{code:"1f6bd",desc:"Toilet"},{code:"1f6bf",desc:"Shower"},{code:"1f6c1",desc:"Bathtub"},{code:"231b",desc:"Hourglass"},{code:"23f3",desc:"Hourglass with Flowing Sand"},{code:"231a",desc:"Watch"},{code:"23f0",desc:"Alarm Clock"},{code:"1f55b",desc:"Clock Face Twelve Oclock"},{code:"1f567",desc:"Clock Face Twelve-Thirty"},{code:"1f550",desc:"Clock Face One Oclock"},{code:"1f55c",desc:"Clock Face One-thirty"},{code:"1f551",desc:"Clock Face Two Oclock"},{code:"1f55d",desc:"Clock Face Two-thirty"},{code:"1f552",desc:"Clock Face Three Oclock"},{code:"1f55e",desc:"Clock Face Three-thirty"},{code:"1f553",desc:"Clock Face Four Oclock"},{code:"1f55f",desc:"Clock Face Four-thirty"},{code:"1f554",desc:"Clock Face Five Oclock"},{code:"1f560",desc:"Clock Face Five-thirty"},{code:"1f555",desc:"Clock Face Six Oclock"},{code:"1f561",desc:"Clock Face Six-thirty"},{code:"1f556",desc:"Clock Face Seven Oclock"},{code:"1f562",desc:"Clock Face Seven-thirty"},{code:"1f557",desc:"Clock Face Eight Oclock"},{code:"1f563",desc:"Clock Face Eight-thirty"},{code:"1f558",desc:"Clock Face Nine Oclock"},{code:"1f564",desc:"Clock Face Nine-thirty"},{code:"1f559",desc:"Clock Face Ten Oclock"},{code:"1f565",desc:"Clock Face Ten-thirty"},{code:"1f55a",desc:"Clock Face Eleven Oclock"},{code:"1f566",desc:"Clock Face Eleven-thirty"},{code:"1f311",desc:"New Moon Symbol"},{code:"1f312",desc:"Waxing Crescent Moon Symbol"},{code:"1f313",desc:"First Quarter Moon Symbol"},{code:"1f314",desc:"Waxing Gibbous Moon Symbol"},{code:"1f315",desc:"Full Moon Symbol"},{code:"1f316",desc:"Waning Gibbous Moon Symbol"},{code:"1f317",desc:"Last Quarter Moon Symbol"},{code:"1f318",desc:"Waning Crescent Moon Symbol"},{code:"1f319",desc:"Crescent Moon"},{code:"1f31a",desc:"New Moon with Face"},{code:"1f31b",desc:"First Quarter Moon with Face"},{code:"1f31c",desc:"Last Quarter Moon with Face"},{code:"2600",desc:"Black Sun with Rays"},{code:"1f31d",desc:"Full Moon with Face"},{code:"1f31e",desc:"Sun with Face"},{code:"2b50",desc:"White Medium Star"},{code:"1f31f",desc:"Glowing Star"},{code:"1f320",desc:"Shooting Star"},{code:"2601",desc:"Cloud"},{code:"26c5",desc:"Sun Behind Cloud"},{code:"1f300",desc:"Cyclone"},{code:"1f308",desc:"Rainbow"},{code:"1f302",desc:"Closed Umbrella"},{code:"2614",desc:"Umbrella with Rain Drops"},{code:"26a1",desc:"High Voltage Sign"},{code:"2744",desc:"Snowflake"},{code:"2603",desc:"Snowman Without Snow"},{code:"1f525",desc:"Fire"},{code:"1f4a7",desc:"Droplet"},{code:"1F30A",desc:"Water Wave"}]},{id:"objects",name:"Objects",code:"1F507",emoticons:[{code:"1F507",desc:"Speaker with Cancellation Stroke"},{code:"1F508",desc:"Speaker"},{code:"1F509",desc:"Speaker with One Sound Wave"},{code:"1F50A",desc:"Speaker with Three Sound Wave"},{code:"1F4E2",desc:"Public Address Loudspeaker"},{code:"1F4E3",desc:"Cheering Megaphone"},{code:"1F4EF",desc:"Postal Horn"},{code:"1F514",desc:"Bell"},{code:"1F515",desc:"Bell with Cancellation Stroke"},{code:"1F3BC",desc:"Musical Score"},{code:"1F3B5",desc:"Musical Note"},{code:"1F3B6",desc:"Multiple Musical Notes"},{code:"1F3A4",desc:"Microphone"},{code:"1F3A7",desc:"Headphone"},{code:"1F4FB",desc:"Radio"},{code:"1F3B7",desc:"Saxophone"},{code:"1F3B8",desc:"Guitar"},{code:"1F3B9",desc:"Musical Keyboard"},{code:"1F3BA",desc:"Trumpet"},{code:"1F3BB",desc:"Violin"},{code:"1F4F1",desc:"Mobile Phone"},{code:"1F4F2",desc:"Mobile Phone with Rightwards Arrow at Left"},{code:"260E",desc:"Black Telephone"},{code:"1F4DE",desc:"Telephone Receiver"},{code:"1F4DF",desc:"Pager"},{code:"1F4E0",desc:"Fax Machine"},{code:"1F50B",desc:"Battery"},{code:"1F50C",desc:"Electric Plug"},{code:"1F4BB",desc:"Personal Computer"},{code:"1F4BD",desc:"Minidisc"},{code:"1F4BE",desc:"Floppy Disk"},{code:"1F4BF",desc:"Optical Disk"},{code:"1F4C0",desc:"Dvd"},{code:"1F3A5",desc:"Movie Camera"},{code:"1F3AC",desc:"Clapper Board"},{code:"1F4FA",desc:"Television"},{code:"1F4F7",desc:"Camera"},{code:"1F4F9",desc:"Video Camera"},{code:"1F4FC",desc:"Videocassette"},{code:"1F50D",desc:"Left-Pointing Magnifying Glass"},{code:"1F50E",desc:"Right-Pointing Magnifying Glass"},{code:"1F52C",desc:"Microscope"},{code:"1F52D",desc:"Telelscope"},{code:"1F4E1",desc:"Satellite Antenna"},{code:"1F4A1",desc:"Electric Light Bulb"},{code:"1F526",desc:"Electric Torch"},{code:"1F3EE",desc:"Izakaya Lantern"},{code:"1F4D4",desc:"Notebook with Decorative Cover"},{code:"1F4D5",desc:"Closed Book"},{code:"1F4D6",desc:"Open Book"},{code:"1F4D7",desc:"Green Book"},{code:"1F4D8",desc:"Blue Book"},{code:"1F4D9",desc:"Orange Book"},{code:"1F4DA",desc:"Books"},{code:"1F4D3",desc:"Notebook"},{code:"1F4D2",desc:"Ledger"},{code:"1F4C3",desc:"Curl"},{code:"1F4DC",desc:"Scroll"},{code:"1F4C4",desc:"Page Facing Up"},{code:"1F4F0",desc:"Newspaper"},{code:"1F4D1",desc:"Bookmark Tabs"},{code:"1F516",desc:"Bookmark"},{code:"1F4B0",desc:"Money Bag"},{code:"1F4B4",desc:"Banknote with Yen Sign"},{code:"1F4B5",desc:"Banknote with Dollar Sign"},{code:"1F4B6",desc:"Banknote with Euro Sign"},{code:"1F4B7",desc:"Banknote with Pound Sign"},{code:"1F4B8",desc:"Money with Wings"},{code:"1F4B3",desc:"Credit Card"},{code:"1F4B9",desc:"Chart with Upwards Trend and Yen Sign"},{code:"1F4B1",desc:"Currency Exchange"},{code:"1F4B2",desc:"Heavy Dollar Sign"},{code:"2709",desc:"Envelope"},{code:"1F4E7",desc:"E-Mail Symbol"},{code:"1F4E8",desc:"Incoming Envelope"},{code:"1F4E9",desc:"Envelope with Downwards Arrow Above"},{code:"1F4E4",desc:"Outbox Tray"},{code:"1F4E5",desc:"Inbox Tray"},{code:"1F4E6",desc:"Package"},{code:"1F4BE",desc:"Closed Mailbox with Raised Flag"},{code:"1F4EA",desc:"Closed Mailbox with Lowered Flag"},{code:"1F4EC",desc:"Open Mailbox with Raised Flag"},{code:"1F4ED",desc:"Open Mailbox with Lowered Flag"},{code:"1F5F3",desc:"Postbox"},{code:"270F",desc:"Pencil"},{code:"2712",desc:"Black Nib"},{code:"1F4DD",desc:"Memo"},{code:"1F4BC",desc:"Briefcase"},{code:"1F4C1",desc:"File Folder"},{code:"1F4C2",desc:"Open File Folder"},{code:"1F4C5",desc:"Calender"},{code:"1F4C6",desc:"Tear-off Calender"},{code:"1F4C7",desc:"Card Index"},{code:"1F4C8",desc:"Chart with Upwards Trend"},{code:"1F4C9",desc:"Chart with Downwards Trend"},{code:"1F4CA",desc:"Bar Chart"},{code:"1F4CB",desc:"Clipboard"},{code:"1F4CC",desc:"Pushpin"},{code:"1F4CD",desc:"Round Pushpin"},{code:"1F4CE",desc:"Paperclip"},{code:"1F4CF",desc:"Straight Ruler"},{code:"1F4D0",desc:"Triangular Ruler"},{code:"2702",desc:"Black Scissors"},{code:"1F512",desc:"Lock"},{code:"1F513",desc:"Open Lock"},{code:"1F50F",desc:"Lock with Ink Pen"},{code:"1F510",desc:"Closed Lock with Key"},{code:"1F511",desc:"Key"},{code:"1F528",desc:"Hammer"},{code:"1F52B",desc:"Pistol"},{code:"1F527",desc:"Wrench"},{code:"1F529",desc:"Nut and Bolt"},{code:"1F517",desc:"Link Symbol"},{code:"1F489",desc:"Syringe"},{code:"1F48A",desc:"Pill"},{code:"1F6AC",desc:"Smoking Symbol"},{code:"1F5FF",desc:"Moyai"},{code:"1F52E",desc:"Crystal Ball"}]},{id:"symbols",name:"Symbols",code:"1F3E7",emoticons:[{code:"1F3E7",desc:"Automated Teller Machine"},{code:"1F6AE",desc:"Put Litter in Its Place Symbol"},{code:"1F6B0",desc:"Potable Water Symbol"},{code:"267F",desc:"Wheelchair Symbol"},{code:"1F6B9",desc:"Mens Symbol"},{code:"1F6BA",desc:"Womens Symbol"},{code:"1F6BB",desc:"Restroom"},{code:"1F6BC",desc:"Baby Symbol"},{code:"1F6BE",desc:"Water Closet"},{code:"1F6C2",desc:"Passport Control"},{code:"1F6C3",desc:"Customs"},{code:"1F6C4",desc:"Baggage Claim"},{code:"1F6C5",desc:"Left Luggage"},{code:"26A0",desc:"Warning Sign"},{code:"1F6B8",desc:"Children Crossing"},{code:"26D4",desc:"No Entry"},{code:"1F6AB",desc:"No Entry Sign"},{code:"1F6B3",desc:"No Bicycles"},{code:"1F6AD",desc:"No Smoking Symbol"},{code:"1F6AF",desc:"Do Not Litter Symbol"},{code:"1F6B1",desc:"Non-Potable Water Symbol"},{code:"1F6B7",desc:"No Pedestrians"},{code:"1F4F5",desc:"No Mobile Phones"},{code:"1F51E",desc:"No One Under Eighteen Symbol"},{code:"2B06",desc:"Upwards Black Arrow"},{code:"2197",desc:"North East Arrow"},{code:"27A1",desc:"Black Rightwards Arrow"},{code:"2198",desc:"South East Arrow"},{code:"2B07",desc:"Downwards Black Arrow"},{code:"2199",desc:"South West Arrow"},{code:"2B05",desc:"Leftwards Black Arrow"},{code:"2196",desc:"North West Arrow"},{code:"2195",desc:"Up Down Arrow"},{code:"2194",desc:"Left Right Arrow"},{code:"21A9",desc:"Leftwards Arrow with Hook"},{code:"21AA",desc:"Rightwards Arrow with Hook"},{code:"2934",desc:"Arrow Pointing Rightwards Then Curving Upwards"},{code:"2935",desc:"Arrow Pointing Rightwards Then Curving Downwards"},{code:"1F503",desc:"Clockwise Downwards and Upwards Open Circle Arrows"},{code:"1F504",desc:"Anticlockwise Downwards and Upwards Open Circle Arrows"},{code:"1F519",desc:"Back with Leftwards Arrow Above"},{code:"1F51A",desc:"End with Leftwards Arrow Above"},{code:"1F51B",desc:"On with Exclamation Mark with Left Right Arrow Above"},{code:"1F51C",desc:"Soon with Rightwards Arrow Above"},{code:"1F51D",desc:"Top with Upwards Arrow Above"},{code:"1F52F",desc:"Six Pointed Star with Middle Dot"},{code:"2648",desc:"Aries"},{code:"2649",desc:"Taurus"},{code:"264A",desc:"Gemini"},{code:"264B",desc:"Cancer"},{code:"264C",desc:"Leo"},{code:"264D",desc:"Virgo"},{code:"264E",desc:"Libra"},{code:"264F",desc:"Scorpius"},{code:"2650",desc:"Sagittarius"},{code:"2651",desc:"Capricorn"},{code:"2652",desc:"Aquarius"},{code:"2653",desc:"Pisces"},{code:"26CE",desc:"Ophiuchus"},{code:"1F500",desc:"Twisted Rightwards Arrows"},{code:"1F501",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows"},{code:"1F502",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay"},{code:"25B6",desc:"Black Right-Pointing Triangle"},{code:"23E9",desc:"Black Right-Pointing Double Triangle"},{code:"25C0",desc:"Black Left-Pointing Triangle"},{code:"23EA",desc:"Black Left-Pointing Double Triangle"},{code:"1F53C",desc:"Up-Pointing Small Red Triangle"},{code:"23EB",desc:"Black Up-Pointing Double Triangle"},{code:"1F53D",desc:"Down-Pointing Small Red Triangle"},{code:"23EC",desc:"Black Down-Pointing Double Triangle"},{code:"1F3A6",desc:"Cinema"},{code:"1F505",desc:"Low Brightness Symbol"},{code:"1F506",desc:"High Brightness Symbol"},{code:"1F4F6",desc:"Antenna with Bars"},{code:"1F4F3",desc:"Vibration Mode"},{code:"1F4F4",desc:"Mobile Phone off"},{code:"267B",desc:"Black Universal Recycling Symbol"},{code:"1F531",desc:"Trident Emblem"},{code:"1F4DB",desc:"Name Badge"},{code:"1F530",desc:"Japanese Symbol for Beginner"},{code:"2B55",desc:"Heavy Large Circle"},{code:"2705",desc:"White Heavy Check Mark"},{code:"2611",desc:"Ballot Box with Check"},{code:"2714",desc:"Heavy Check Mark"},{code:"2716",desc:"Heavy Multiplication X"},{code:"274C",desc:"Cross Mark"},{code:"274E",desc:"Negative Squared Cross Mark"},{code:"2795",desc:"Heavy Plus Sign"},{code:"2796",desc:"Heavy Minus Sign"},{code:"2797",desc:"Heavy Division Sign"},{code:"27B0",desc:"Curly Loop"},{code:"27BF",desc:"Double Curly Loop"},{code:"303D",desc:"Part Alternation Mark"},{code:"2733",desc:"Eight Spoked Asterisk"},{code:"2734",desc:"Eight Pointed Black Star"},{code:"2747",desc:"Sparkle"},{code:"203C",desc:"Double Exclamation Mark"},{code:"2049",desc:"Exclamation Question Mark"},{code:"2753",desc:"Black Question Mark Ornament"},{code:"2754",desc:"White Question Mark Ornament"},{code:"2755",desc:"White Exclamation Mark Ornament"},{code:"2757",desc:"Heavy Exclamation Mark Symbol"},{code:"3030",desc:"Wavy Dash"},{code:"2122",desc:"Trade Mark Sign"},{code:"1F51F",desc:"Keycap Ten"},{code:"1F4AF",desc:"Hundred Points Symbol"},{code:"1F520",desc:"Input Symbol for Latin Capital Letters"},{code:"1F521",desc:"Input Symbol for Latin Small Letters"},{code:"1F522",desc:"Input Symbol for Numbers"},{code:"1F523",desc:"Input Symbol for Symbols"},{code:"1F524",desc:"Input Symbol for Latin Letters"},{code:"1F170",desc:"Negative Squared Latin Capital Letter a"},{code:"1F18E",desc:"Negative Squared Ab"},{code:"1F171",desc:"Negative Squared Latin Capital Letter B"},{code:"1F191",desc:"Squared Cl"},{code:"1F192",desc:"Squared Cool"},{code:"1F193",desc:"Squared Free"},{code:"2139",desc:"Information Source"},{code:"1F194",desc:"Squared Id"},{code:"24C2",desc:"Circled Latin Capital Letter M"},{code:"1F195",desc:"Squared New"},{code:"1F196",desc:"Squared Ng"},{code:"1F17E",desc:"Negative Squared Latin Capital Letter O"},{code:"1F197",desc:"Squared Ok"},{code:"1F17F",desc:"Negative Squared Latin Capital Letter P"},{code:"1F198",desc:"Squared Sos"},{code:"1F199",desc:"Squared Up with Exclamation Mark"},{code:"1F19A",desc:"Squared Vs"},{code:"1F201",desc:"Squared Katakana Koko"},{code:"1F202",desc:"Squared Katakana Sa"},{code:"1F237",desc:"Squared Cjk Unified Ideograph-6708"},{code:"1F236",desc:"Squared Cjk Unified Ideograph-6709"},{code:"1F22F",desc:"Squared Cjk Unified Ideograph-6307"},{code:"1F250",desc:"Circled Ideograph Advantage"},{code:"1F239",desc:"Squared Cjk Unified Ideograph-5272"},{code:"1F21A",desc:"Squared Cjk Unified Ideograph-7121"},{code:"1F232",desc:"Squared Cjk Unified Ideograph-7981"},{code:"1F251",desc:"Circled Ideograph Accept"},{code:"1F238",desc:"Squared Cjk Unified Ideograph-7533"},{code:"1F234",desc:"Squared Cjk Unified Ideograph-5408"},{code:"1F233",desc:"Squared Cjk Unified Ideograph-7a7a"},{code:"3297",desc:"Circled Ideograph Congratulation"},{code:"3299",desc:"Circled Ideograph Secret"},{code:"1F23A",desc:"Squared Cjk Unified Ideograph-55b6"},{code:"1F235",desc:"Squared Cjk Unified Ideograph-6e80"},{code:"25AA",desc:"Black Small Square"},{code:"25AB",desc:"White Small Square"},{code:"25FB",desc:"White Medium Square"},{code:"25FC",desc:"Black Medium Square"},{code:"25FD",desc:"White Medium Small Square"},{code:"25FE",desc:"Black Medium Small Square"},{code:"2B1B",desc:"Black Large Square"},{code:"2B1C",desc:"White Large Square"},{code:"1F536",desc:"Large Orange Diamond"},{code:"1F537",desc:"Large Blue Diamond"},{code:"1F538",desc:"Small Orange Diamond"},{code:"1F539",desc:"Small Blue Diamond"},{code:"1F53A",desc:"Up-Pointing Red Triangle"},{code:"1F53B",desc:"Down-Pointing Red Triangle"},{code:"1F4A0",desc:"Diamond Shape with a Dot Inside"},{code:"1F518",desc:"Radio Button"},{code:"1F532",desc:"Black Square Button"},{code:"1F533",desc:"White Square Button"},{code:"26AA",desc:"Medium White Circle"},{code:"26AB",desc:"Medium Black Circle"},{code:"1F534",desc:"Large Red Circle"},{code:"1F535",desc:"Large Blue Circle"}]},{id:"flags",name:"Flags",code:"1F3C1",emoticons:[{code:"1f3c1",desc:"Chequered Flag"},{code:"1f1e8-1f1f3",desc:"China Flag"},{code:"1f38c",desc:"Crossed Flags"},{code:"1f1e9-1f1ea",desc:"Germany Flag"},{code:"1f1ea-1f1f8",desc:"Spain Flag"},{code:"1f1e6-1f1e8",desc:"Ascension Island Flag"},{code:"1f1e6-1f1e9",desc:"Andorra Flag"},{code:"1f1e6-1f1ea",desc:"United Arab Emirates Flag"},{code:"1f1e6-1f1eb",desc:"Afghanistan Flag"},{code:"1f1e6-1f1ec",desc:"Antigua & Barbuda Flag"},{code:"1f1e6-1f1ee",desc:"Anguilla Flag"},{code:"1f1e6-1f1f1",desc:"Albania Flag"},{code:"1f1e6-1f1f2",desc:"Armenia Flag"},{code:"1f1e6-1f1f4",desc:"Angola Flag"},{code:"1f1e6-1f1f6",desc:"Antarctica Flag"},{code:"1f1e6-1f1f7",desc:"Argentina Flag"},{code:"1f1e6-1f1f8",desc:"American Samoa Flag"},{code:"1f1e6-1f1f9",desc:"Austria Flag"},{code:"1f1e6-1f1fa",desc:"Australia Flag"},{code:"1f1e6-1f1fc",desc:"Aruba Flag"},{code:"1f1e6-1f1fd",desc:"\xc5land Islands Flag"},{code:"1f1e6-1f1ff",desc:"Azerbaijan Flag"},{code:"1f1e7-1f1e7",desc:"Barbados Flag"},{code:"1f1e7-1f1e9",desc:"Bangladesh Flag"},{code:"1f1e7-1f1ea",desc:"Belgium Flag"},{code:"1f1e7-1f1eb",desc:"Burkina Faso Flag"},{code:"1f1e7-1f1ec",desc:"Bulgaria Flag"},{code:"1f1e7-1f1ed",desc:"Bahrain Flag"},{code:"1f1e7-1f1ee",desc:"Burundi Flag"},{code:"1f1e7-1f1ef",desc:"Benin Flag"},{code:"1f1e7-1f1f1",desc:"St. Barth\xe9lemy Flag"},{code:"1f1e7-1f1f2",desc:"Bermuda Flag"},{code:"1f1e7-1f1f4",desc:"Bolivia Flag"},{code:"1f1e7-1f1f6",desc:"Caribbean Netherlands Flag"},{code:"1f1e7-1f1f7",desc:"Brazil Flag"},{code:"1f1e7-1f1f8",desc:"Bahamas Flag"},{code:"1f1e7-1f1f9",desc:"Bhutan Flag"},{code:"1f1e7-1f1fb",desc:"Bouvet Island Flag"},{code:"1f1e7-1f1fc",desc:"Botswana Flag"},{code:"1f1e7-1f1fe",desc:"Belarus Flag"},{code:"1f1e7-1f1ff",desc:"Belize Flag"},{code:"1f1e8-1f1e6",desc:"Canada Flag"},{code:"1f1e8-1f1e8",desc:"Cocos (keeling) Islands Flag"},{code:"1f1e8-1f1e9",desc:"Congo - Kinshasa Flag"},{code:"1f1e8-1f1eb",desc:"Central African Republic Flag"},{code:"1f1e8-1f1ec",desc:"Congo - Brazzaville Flag"},{code:"1f1e8-1f1ed",desc:"Switzerland Flag"},{code:"1f1e8-1f1ee",desc:"C\xf4te D\u2019ivoire Flag"},{code:"1f1e8-1f1f0",desc:"Cook Islands Flag"},{code:"1f1e8-1f1f1",desc:"Chile Flag"},{code:"1f1e8-1f1f2",desc:"Cameroon Flag"},{code:"1f1e8-1f1f4",desc:"Colombia Flag"},{code:"1f1e8-1f1f7",desc:"Costa Rica Flag"},{code:"1f1e8-1f1fa",desc:"Cuba Flag"},{code:"1f1e8-1f1fb",desc:"Cape Verde Flag"},{code:"1f1e8-1f1fc",desc:"Cura\xe7ao Flag"},{code:"1f1e8-1f1fd",desc:"Christmas Island Flag"},{code:"1f1e8-1f1fe",desc:"Cyprus Flag"},{code:"1f1e8-1f1ff",desc:'Czechia Flag"'},{code:"1f1e9-1f1ec",desc:"Diego Garcia Flag"},{code:"1f1e9-1f1ef",desc:"Djibouti Flag"},{code:"1f1e9-1f1f0",desc:"Denmark Flag"},{code:"1f1e9-1f1f2",desc:"Dominica Flag"},{code:"1f1e9-1f1f4",desc:"Dominican Republic Flag"},{code:"1f1e9-1f1ff",desc:"Algeria Flag"},{code:"1f1ea-1f1e6",desc:"Ceuta & Melilla Flag"},{code:"1f1ea-1f1e8",desc:"Ecuador Flag"},{code:"1f1ea-1f1ea",desc:"Estonia Flag"},{code:"1f1ea-1f1ec",desc:"Egypt Flag"},{code:"1f1ea-1f1ed",desc:"Western Sahara Flag"},{code:"1f1ea-1f1f7",desc:"Eritrea Flag"},{code:"1f1ea-1f1f9",desc:"Ethiopia Flag"},{code:"1f1ea-1f1fa",desc:"European Union Flag"},{code:"1f1eb-1f1ee",desc:"Finland Flag"},{code:"1f1eb-1f1ef",desc:"Fiji Flag"},{code:"1f1eb-1f1f0",desc:"Falkland Islands Flag"},{code:"1f1eb-1f1f2",desc:"Micronesia Flag"},{code:"1f1eb-1f1f4",desc:"Faroe Islands Flag"},{code:"1f1ec-1f1e6",desc:"Gabon Flag"},{code:"1f1ec-1f1e9",desc:"Grenada Flag"},{code:"1f1ec-1f1ea",desc:"Georgia Flag"},{code:"1f1ec-1f1eb",desc:"French Guiana Flag"},{code:"1f1ec-1f1ec",desc:"Guernsey Flag"},{code:"1f1ec-1f1ed",desc:"Ghana Flag"},{code:"1f1ec-1f1ee",desc:"Gibraltar Flag"},{code:"1f1ec-1f1f1",desc:"Greenland Flag"},{code:"1f1ec-1f1f2",desc:"Gambia Flag"},{code:"1f1ec-1f1f3",desc:"Guinea Flag"},{code:"1f1ec-1f1f5",desc:"Guadeloupe Flag"},{code:"1f1ec-1f1f6",desc:"Equatorial Guinea Flag"},{code:"1f1ec-1f1f7",desc:"Greece Flag"},{code:"1f1ec-1f1f8",desc:"South Georgia & South Sandwich Islands Flag"},{code:"1f1ec-1f1f9",desc:"Guatemala Flag"},{code:"1f1ec-1f1fa",desc:"Guam Flag"},{code:"1f1ec-1f1fc",desc:"Guinea-Bissau Flag"},{code:"1f1ec-1f1fe",desc:"Guyana Flag"},{code:"1f1ed-1f1f0",desc:"Hong Kong Sar China Flag"},{code:"1f1ed-1f1f2",desc:"Heard & Mcdonald Islands Flag"},{code:"1f1ed-1f1f3",desc:"Honduras Flag"},{code:"1f1ed-1f1f7",desc:"Croatia Flag"},{code:"1f1ed-1f1f9",desc:"Haiti Flag"},{code:"1f1ed-1f1fa",desc:"Hungary Flag"},{code:"1f1ee-1f1e8",desc:"Canary Islands Flag"},{code:"1f1ee-1f1e9",desc:"Indonesia Flag"},{code:"1f1ee-1f1ea",desc:"Ireland Flag"},{code:"1f1ee-1f1f1",desc:"Israel Flag"},{code:"1f1ee-1f1f2",desc:"Isle of Man Flag"},{code:"1f1ee-1f1f3",desc:"India Flag"},{code:"1f1ee-1f1f4",desc:"British Indian Ocean Territory Flag"},{code:"1f1ee-1f1f6",desc:"Iraq Flag"},{code:"1f1ee-1f1f7",desc:"Iran Flag"},{code:"1f1ee-1f1f8",desc:"Iceland Flag"},{code:"1f1ef-1f1ea",desc:"Jersey Flag"},{code:"1f1ef-1f1f2",desc:"Jamaica Flag"},{code:"1f1ef-1f1f4",desc:"Jordan Flag"},{code:"1f1f0-1f1ea",desc:"Kenya Flag"},{code:"1f1f0-1f1ec",desc:"Kyrgyzstan Flag"},{code:"1f1f0-1f1ed",desc:"Cambodia Flag"},{code:"1f1f0-1f1ee",desc:"Kiribati Flag"},{code:"1f1f0-1f1f2",desc:"Comoros Flag"},{code:"1f1f0-1f1f3",desc:"St. Kitts & Nevis Flag"},{code:"1f1f0-1f1f5",desc:"North Korea Flag"},{code:"1f1f0-1f1fc",desc:"Kuwait Flag"},{code:"1f1f0-1f1fe",desc:"Cayman Islands Flag"},{code:"1f1f0-1f1ff",desc:"Kazakhstan Flag"},{code:"1f1f1-1f1e6",desc:"Laos Flag"},{code:"1f1f1-1f1e7",desc:"Lebanon Flag"},{code:"1f1f1-1f1e8",desc:"St. Lucia Flag"},{code:"1f1f1-1f1ee",desc:"Liechtenstein Flag"},{code:"1f1f1-1f1f0",desc:"Sri Lanka Flag"},{code:"1f1f1-1f1f7",desc:"Liberia Flag"},{code:"1f1f1-1f1f8",desc:"Lesotho Flag"},{code:"1f1f1-1f1f9",desc:"Lithuania Flag"},{code:"1f1f1-1f1fa",desc:"Luxembourg Flag"},{code:"1f1f1-1f1fb",desc:"Latvia Flag"},{code:"1f1f1-1f1fe",desc:"Libya Flag"},{code:"1f1f2-1f1e6",desc:"Morocco Flag"},{code:"1f1f2-1f1e8",desc:"Monaco Flag"},{code:"1f1f2-1f1e9",desc:"Moldova Flag"},{code:"1f1f2-1f1ea",desc:"Montenegro Flag"},{code:"1f1f2-1f1eb",desc:"St. Martin Flag"},{code:"1f1f2-1f1ec",desc:"Madagascar Flag"},{code:"1f1f2-1f1ed",desc:"Marshall Islands Flag"},{code:"1f1f2-1f1f0",desc:"Macedonia Flag"},{code:"1f1f2-1f1f1",desc:"Mali Flag"},{code:"1f1f2-1f1f2",desc:"Myanmar (burma) Flag"},{code:"1f1f2-1f1f3",desc:"Mongolia Flag"},{code:"1f1f2-1f1f4",desc:"Macau Sar China Flag"},{code:"1f1f2-1f1f5",desc:"Northern Mariana Islands Flag"},{code:"1f1f2-1f1f6",desc:"Martinique Flag"},{code:"1f1f2-1f1f7",desc:"Mauritania Flag"},{code:"1f1f2-1f1f8",desc:"Montserrat Flag"},{code:"1f1f2-1f1f9",desc:"Malta Flag"},{code:"1f1f2-1f1fa",desc:"Mauritius Flag"},{code:"1f1f2-1f1fb",desc:"Maldives Flag"},{code:"1f1f2-1f1fc",desc:"Malawi Flag"},{code:"1f1f2-1f1fd",desc:"Mexico Flag"},{code:"1f1f2-1f1fe",desc:"Malaysia Flag"},{code:"1f1f2-1f1ff",desc:"Mozambique Flag"},{code:"1f1f3-1f1e6",desc:"Namibia Flag"},{code:"1f1f3-1f1e8",desc:"New Caledonia Flag"},{code:"1f1f3-1f1ea",desc:"Niger Flag"},{code:"1f1f3-1f1eb",desc:"Norfolk Island Flag"},{code:"1f1f3-1f1ec",desc:"Nigeria Flag"},{code:"1f1f3-1f1ee",desc:"Nicaragua Flag"},{code:"1f1f3-1f1f1",desc:"Netherlands Flag"},{code:"1f1f3-1f1f4",desc:"Norway Flag"},{code:"1f1f3-1f1f5",desc:"Nepal Flag"},{code:"1f1f3-1f1f7",desc:"Nauru Flag"},{code:"1f1f3-1f1fa",desc:"Niue Flag"},{code:"1f1f3-1f1ff",desc:"New Zealand Flag"},{code:"1f1f4-1f1f2",desc:"Oman Flag"},{code:"1f1f8-1f1ff",desc:"Swaziland Flag"},{code:"1f1f5-1f1e6",desc:"Panama Flag"},{code:"1f1f5-1f1ea",desc:"Peru Flag"},{code:"1f1f5-1f1eb",desc:"French Polynesia Flag"},{code:"1f1f5-1f1ec",desc:"Papua New Guinea Flag"},{code:"1f1f5-1f1ed",desc:"Philippines Flag"},{code:"1f1f5-1f1f0",desc:"Pakistan Flag"},{code:"1f1f5-1f1f1",desc:"Poland Flag"},{code:"1f1f5-1f1f2",desc:"St. Pierre & Miquelon Flag"},{code:"1f1f5-1f1f3",desc:"Pitcairn Islands Flag"},{code:"1f1f5-1f1f7",desc:"Puerto Rico Flag"},{code:"1f1f5-1f1f8",desc:"Palestinian Territories Flag"},{code:"1f1f5-1f1f9",desc:"Portugal Flag"},{code:"1f1f5-1f1fc",desc:"Palau Flag"},{code:"1f1f5-1f1fe",desc:"Paraguay Flag"},{code:"1f1f6-1f1e6",desc:"Qatar Flag"},{code:"1f1f7-1f1ea",desc:"R\xe9union Flag"},{code:"1f1f7-1f1f4",desc:"Romania Flag"},{code:"1f1f7-1f1f8",desc:"Serbia Flag"},{code:"1f1f7-1f1fc",desc:"Rwanda Flag"},{code:"1f1f8-1f1e6",desc:"Saudi Arabia Flag"},{code:"1f1f8-1f1e7",desc:"Solomon Islands Flag"},{code:"1f1f8-1f1e8",desc:"Seychelles Flag"},{code:"1f1f8-1f1e9",desc:"Sudan Flag"},{code:"1f1f8-1f1ea",desc:"Sweden Flag"},{code:"1f1f8-1f1ec",desc:"Singapore Flag"},{code:"1f1f8-1f1ee",desc:"Slovenia Flag"},{code:"1f1f8-1f1ed",desc:"St. Helena Flag"},{code:"1f1f8-1f1ef",desc:"Svalbard & Jan Mayen Flag"},{code:"1f1f8-1f1f1",desc:"Sierra Leone Flag"},{code:"1f1f8-1f1f2",desc:"San Marino Flag"},{code:"1f1f8-1f1f3",desc:"Senegal Flag"},{code:"1f1f8-1f1f4",desc:"Somalia Flag"},{code:"1f1f8-1f1f7",desc:"Suriname Flag"},{code:"1f1f8-1f1f8",desc:"South Sudan Flag"},{code:"1f1f8-1f1f9",desc:"S\xe3o Tom\xe9 & Pr\xedncipe Flag"},{code:"1f1f8-1f1fb",desc:"El Salvador Flag"},{code:"1f1f8-1f1fd",desc:"Sint Maarten Flag"},{code:"1f1f8-1f1fe",desc:"Syria Flag"},{code:"1f1f9-1f1e6",desc:"Tristan Da Cunha Flag"},{code:"1f1f9-1f1e8",desc:"Turks & Caicos Islands Flag"},{code:"1f1f9-1f1eb",desc:"French Southern Territories Flag"},{code:"1f1f9-1f1ec",desc:"Togo Flag"},{code:"1f1f9-1f1ed",desc:"Thailand Flag"},{code:"1f1f9-1f1ef",desc:"Tajikistan Flag"},{code:"1f1f9-1f1f0",desc:"Tokelau Flag"},{code:"1f1f9-1f1f1",desc:"Timor-Leste Flag"},{code:"1f1f9-1f1f2",desc:"Turkmenistan Flag"},{code:"1f1f9-1f1f3",desc:"Tunisia Flag"},{code:"1f1f9-1f1f4",desc:"Tonga Flag"},{code:"1f1f9-1f1f7",desc:"Turkey Flag"},{code:"1f1f9-1f1f9",desc:"Trinidad & Tobago Flag"},{code:"1f1f9-1f1fb",desc:"Tuvalu Flag"},{code:"1f1f9-1f1fc",desc:"Taiwan Flag"},{code:"1f1f9-1f1ff",desc:"Tanzania Flag"},{code:"1f1fa-1f1e6",desc:"Ukraine City Flag"},{code:"1f1fa-1f1ec",desc:"Uganda Flag"},{code:"1f1fa-1f1f2",desc:"U.s. Outlying Islands Flag"},{code:"1f1fa-1f1fe",desc:"Uruguay Flag"},{code:"1f1fa-1f1ff",desc:"Uzbekistan Flag"},{code:"1f1fb-1f1e6",desc:"Vatican City Flag"},{code:"1f1fb-1f1e8",desc:"St. Vincent & Grenadines Flag"},{code:"1f1fb-1f1ea",desc:"Venezuela Flag"},{code:"1f1fb-1f1ec",desc:"British Virgin Islands Flag"},{code:"1f1fb-1f1ee",desc:"U.s. Virgin Islands Flag"},{code:"1f1fb-1f1f3",desc:"Vietnam Flag"},{code:"1f1fc-1f1f8",desc:"Samoa Flag"},{code:"1f1fb-1f1fa",desc:"Vanuatu Flag"},{code:"1f1fc-1f1eb",desc:'"Wallis & Futuna Flag'},{code:"1f1fd-1f1f0",desc:"Kosovo Flag"},{code:"1f1fe-1f1ea",desc:"Yemen Flag"},{code:"1f1fe-1f1f9",desc:"Mayotte Flag"},{code:"1f1ff-1f1e6",desc:"South Africa Flag"},{code:"1f1ff-1f1f2",desc:"Zambia Flag"},{code:"1f1ff-1f1fc",desc:"Zimbabwe Flag"},{code:"1f1eb-1f1f7",desc:"France Flag"},{code:"1f1ec-1f1e7",desc:"United Kingdom Flag"},{code:"1f1ee-1f1f9",desc:"Italy Flag"},{code:"1f1ef-1f1f5",desc:"Japan Flag"},{code:"1f1f0-1f1f7",desc:"South Korea Flag"},{code:"1f1f7-1f1fa",desc:"Russia Flag"},{code:"1F6A9",desc:"Triangular Flag on Post"},{code:"1f1fa-1f1f8",desc:"United States Flag"}]}],emoticonsButtons:["emoticonsBack","|"],emoticonsUseImage:!0}),xt.PLUGINS.emoticons=function(m){var v=m.$,a=m.opts.emoticonsSet,o=a&&a[0],i="";function s(){if(!m.selection.isCollapsed())return!1;var e=m.selection.element(),t=m.selection.endElement();if(e&&m.node.hasClass(e,"fr-emoticon"))return e;if(t&&m.node.hasClass(t,"fr-emoticon"))return t;var n=m.selection.ranges(0),r=n.startContainer;if(r.nodeType==Node.ELEMENT_NODE&&0<r.childNodes.length&&0<n.startOffset){var a=r.childNodes[n.startOffset-1];if(m.node.hasClass(a,"fr-emoticon"))return a}return!1}function l(){return"".concat(function r(e,t){return'<div class="fr-buttons fr-tabs fr-tabs-scroll">\n '.concat(function n(e,r){var a="";return e.forEach(function(e){var t={image:e.code.toLowerCase()},n={elementClass:e.id===r.id?"fr-active fr-active-tab":"",emoticonsUnicodeClass:m.opts.emoticonsUseImage?"":"fr-tabs-unicode",title:m.language.translate(e.name),dataCmd:"setEmoticonCategory",dataParam1:e.id,image:m.opts.emoticonsUseImage?'<img src="path_to_url"/>'):"&#x".concat(t.image,";")};a+='<button class="fr-command fr-btn '.concat(n.elementClass," ").concat(n.emoticonsUnicodeClass,'" \n title="').concat(n.title,'" data-cmd="').concat(n.dataCmd,'" data-param1="').concat(n.dataParam1,'">\n ').concat(n.image," </button>")}),a}(e,t),"\n </div>")}(a,o),"\n ").concat(function n(e){return'\n <div class="fr-icon-container fr-emoticon-container">\n '.concat(function t(e){var a="";return e.emoticons.forEach(function(e){var t=e.code.split("-").reduce(function(e,t){return e?"".concat(e,"&zwj;&#x").concat(t.toLowerCase(),";"):"&#x".concat(t.toLowerCase(),";")},""),n={image:e.code.toLowerCase(),compiledCode:e.uCode?e.uCode:t},r={dataParam1:e.code.toLowerCase(),dataParam2:n.compiledCode,title:m.language.translate(e.desc),image:m.opts.emoticonsUseImage?'<img src="path_to_url"/>'):"".concat(n.compiledCode),desc:m.language.translate(e.desc)};a+='<span class="fr-command fr-emoticon fr-icon" role="button" \n data-cmd="insertEmoticon" data-param1="'.concat(r.dataParam1,'" \n data-param2="').concat(r.dataParam2,'" title="').concat(r.title,'" >\n ').concat(r.image,'<span class="fr-sr-only">').concat(r.desc,"&nbsp;&nbsp;&nbsp;</span></span>")}),a}(e),"\n </div>\n ")}(o),"\n ").concat(function e(){return m.opts.emoticonsUseImage?'<p style="font-size: 12px; text-align: center; padding: 0 5px;">Emoji free by <a class="fr-link" tabIndex="-1" href="path_to_url" target="_blank" rel="nofollow noopener noreferrer" role="link" aria-label="Open Emoji One website.">Emoji One</a></p>':""}())}return{_init:function e(){var n=function n(){for(var e=m.el.querySelectorAll(".fr-emoticon:not(.fr-deletable)"),t=0;t<e.length;t++)e[t].className+=" fr-deletable"};n(),m.events.on("html.set",n),m.events.on("keydown",function(e){if(m.keys.isCharacter(e.which)&&m.selection.inEditor()){var t=m.selection.ranges(0),n=s();m.node.hasClass(n,"fr-emoticon-img")&&n&&(0===t.startOffset&&m.selection.element()===n?v(n).before(xt.MARKERS+xt.INVISIBLE_SPACE):v(n).after(xt.INVISIBLE_SPACE+xt.MARKERS),m.selection.restore())}}),m.events.on("keyup",function(e){for(var t=m.el.querySelectorAll(".fr-emoticon"),n=0;n<t.length;n++)"undefined"!=typeof t[n].textContent&&0===t[n].textContent.replace(/\u200B/gi,"").length&&v(t[n]).remove();if(!(e.which>=xt.KEYCODE.ARROW_LEFT&&e.which<=xt.KEYCODE.ARROW_DOWN)){var r=s();m.node.hasClass(r,"fr-emoticon-img")&&(v(r).append(xt.MARKERS),m.selection.restore())}})},insert:function c(e,t){var n=s(),r=m.selection.ranges(0);n?(0===r.startOffset&&m.selection.element()===n?v(n).before(xt.MARKERS+xt.INVISIBLE_SPACE):0<r.startOffset&&m.selection.element()===n&&r.commonAncestorContainer.parentNode.classList.contains("fr-emoticon")&&v(n).after(xt.INVISIBLE_SPACE+xt.MARKERS),m.selection.restore(),m.html.insert('<span class="fr-emoticon fr-deletable'.concat(t?" fr-emoticon-img":"",'"').concat(t?' style="background: url('.concat(t,');"'):"",">").concat(t?"&nbsp;":e,"</span>&nbsp;").concat(xt.MARKERS),!0)):m.html.insert('<span class="fr-emoticon fr-deletable'.concat(t?" fr-emoticon-img":"",'"').concat(t?' style="background: url('.concat(t,');"'):"",">").concat(t?"&nbsp;":e,"</span>&nbsp;"),!0)},setEmoticonCategory:function n(t){o=a.filter(function(e){return e.id===t})[0],function e(){m.popups.get("emoticons").html(i+l())}()},showEmoticonsPopup:function d(){var e=m.popups.get("emoticons");if(e||(e=function o(){m.opts.toolbarInline&&0<m.opts.emoticonsButtons.length&&(i='<div class="fr-buttons fr-emoticons-buttons fr-tabs">'.concat(m.button.buildList(m.opts.emoticonsButtons),"</div>"));var e={buttons:i,custom_layer:l()},t=m.popups.create("emoticons",e);return function n(g){m.events.on("popup.tab",function(e){var t=v(e.currentTarget);if(!m.popups.isVisible("emoticons")||!t.is("span, a"))return!0;var n,r,a,o=e.which;if(xt.KEYCODE.TAB==o){if(t.is("span.fr-emoticon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var i=g.find(".fr-buttons");n=!m.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==n){var s=g.find("span.fr-emoticon:focus").first().concat(g.findVisible(" div.fr-tabs").first().concat(g.find("a")));t.is("span.fr-emoticon")&&(s=s.not("span.fr-emoticon:not(:focus)")),r=s.index(t),r=e.shiftKey?((r-1)%s.length+s.length)%s.length:(r+1)%s.length,a=s.get(r),m.events.disableBlur(),a.focus(),n=!1}}else if(xt.KEYCODE.ARROW_UP==o||xt.KEYCODE.ARROW_DOWN==o||xt.KEYCODE.ARROW_LEFT==o||xt.KEYCODE.ARROW_RIGHT==o){if(t.is("span.fr-emoticon")){var l=t.parent().find("span.fr-emoticon");r=l.index(t);var c=m.opts.emoticonsStep,d=Math.floor(l.length/c),f=r%c,p=Math.floor(r/c),u=p*c+f,h=d*c;xt.KEYCODE.ARROW_UP==o?u=((u-c)%h+h)%h:xt.KEYCODE.ARROW_DOWN==o?u=(u+c)%h:xt.KEYCODE.ARROW_LEFT==o?u=((u-1)%h+h)%h:xt.KEYCODE.ARROW_RIGHT==o&&(u=(u+1)%h),a=v(l.get(u)),m.events.disableBlur(),a.focus(),n=!1}}else xt.KEYCODE.ENTER==o&&(t.is("a")?t[0].click():m.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(t),t}()),!e.hasClass("fr-active")){m.popups.refresh("emoticons"),m.popups.setContainer("emoticons",m.$tb);var t=m.$tb.find('.fr-command[data-cmd="emoticons"]'),n=m.button.getPosition(t),r=n.left,a=n.top;m.popups.show("emoticons",r,a,t.outerHeight())}},back:function t(){m.popups.hide("emoticons"),m.toolbar.showInline()}}},xt.DefineIcon("emoticons",{NAME:"smile-o",FA5NAME:"smile",SVG_KEY:"smile"}),xt.RegisterCommand("emoticons",{title:"Emoticons",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("emoticons")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("emoticons")):this.emoticons.showEmoticonsPopup()},plugin:"emoticons"}),xt.RegisterCommand("insertEmoticon",{callback:function(e,t,n){this.emoticons.insert(n,this.opts.emoticonsUseImage?"path_to_url".concat(t,".svg"):null),this.popups.hide("emoticons")}}),xt.RegisterCommand("setEmoticonCategory",{undo:!1,focus:!1,callback:function(e,t){this.emoticons.setEmoticonCategory(t)}}),xt.DefineIcon("emoticonsBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("emoticonsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}}),Object.assign(xt.DEFAULTS,{entities:"&quot;&#39;&iexcl;&cent;&pound;&curren;&yen;&brvbar;&sect;&uml;&copy;&ordf;&laquo;&not;&shy;&reg;&macr;&deg;&plusmn;&sup2;&sup3;&acute;&micro;&para;&middot;&cedil;&sup1;&ordm;&raquo;&frac14;&frac12;&frac34;&iquest;&Agrave;&Aacute;&Acirc;&Atilde;&Auml;&Aring;&AElig;&Ccedil;&Egrave;&Eacute;&Ecirc;&Euml;&Igrave;&Iacute;&Icirc;&Iuml;&ETH;&Ntilde;&Ograve;&Oacute;&Ocirc;&Otilde;&Ouml;&times;&Oslash;&Ugrave;&Uacute;&Ucirc;&Uuml;&Yacute;&THORN;&szlig;&agrave;&aacute;&acirc;&atilde;&auml;&aring;&aelig;&ccedil;&egrave;&eacute;&ecirc;&euml;&igrave;&iacute;&icirc;&iuml;&eth;&ntilde;&ograve;&oacute;&ocirc;&otilde;&ouml;&divide;&oslash;&ugrave;&uacute;&ucirc;&uuml;&yacute;&thorn;&yuml;&OElig;&oelig;&Scaron;&scaron;&Yuml;&fnof;&circ;&tilde;&Alpha;&Beta;&Gamma;&Delta;&Epsilon;&Zeta;&Eta;&Theta;&Iota;&Kappa;&Lambda;&Mu;&Nu;&Xi;&Omicron;&Pi;&Rho;&Sigma;&Tau;&Upsilon;&Phi;&Chi;&Psi;&Omega;&alpha;&beta;&gamma;&delta;&epsilon;&zeta;&eta;&theta;&iota;&kappa;&lambda;&mu;&nu;&xi;&omicron;&pi;&rho;&sigmaf;&sigma;&tau;&upsilon;&phi;&chi;&psi;&omega;&thetasym;&upsih;&piv;&ensp;&emsp;&thinsp;&zwnj;&zwj;&lrm;&rlm;&ndash;&mdash;&lsquo;&rsquo;&sbquo;&ldquo;&rdquo;&bdquo;&dagger;&Dagger;&bull;&hellip;&permil;&prime;&Prime;&lsaquo;&rsaquo;&oline;&frasl;&euro;&image;&weierp;&real;&trade;&alefsym;&larr;&uarr;&rarr;&darr;&harr;&crarr;&lArr;&uArr;&rArr;&dArr;&hArr;&forall;&part;&exist;&empty;&nabla;&isin;&notin;&ni;&prod;&sum;&minus;&lowast;&radic;&prop;&infin;&ang;&and;&or;&cap;&cup;&int;&there4;&sim;&cong;&asymp;&ne;&equiv;&le;&ge;&sub;&sup;&nsub;&sube;&supe;&oplus;&otimes;&perp;&sdot;&lceil;&rceil;&lfloor;&rfloor;&lang;&rang;&loz;&spades;&clubs;&hearts;&diams;"}),xt.PLUGINS.entities=function(a){var o,i,s=a.$;function r(e){var t=e.textContent;if(t.match(o)){for(var n="",r=0;r<t.length;r++)i[t[r]]?n+=i[t[r]]:n+=t[r];e.textContent=n}}function l(e){if(e&&0<=["STYLE","SCRIPT","svg","IFRAME"].indexOf(e.tagName))return!0;for(var t=a.node.contents(e),n=0;n<t.length;n++)t[n].nodeType===Node.TEXT_NODE?r(t[n]):l(t[n]);return e.nodeType===Node.TEXT_NODE&&r(e),!1}var c=function c(e){return 0===e.length?"":a.clean.exec(e,l).replace(/\&amp;/g,"&")};return{_init:function d(){a.opts.htmlSimpleAmpersand||(a.opts.entities="".concat(a.opts.entities,"&amp;"));var e=s(document.createElement("div")).html(a.opts.entities).text(),t=a.opts.entities.split(";");i={},o="";for(var n=0;n<e.length;n++){var r=e.charAt(n);i[r]="".concat(t[n],";"),o+="\\".concat(r+(n<e.length-1?"|":""))}o=new RegExp("(".concat(o,")"),"g"),a.events.on("html.get",c,!0)}}},Object.assign(xt.POPUP_TEMPLATES,{"file.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_PROGRESS_BAR_]"}),Object.assign(xt.DEFAULTS,{fileUpload:!0,fileUploadURL:null,fileUploadParam:"file",fileUploadParams:{},fileUploadToS3:!1,fileUploadToAzure:!1,fileUploadMethod:"POST",fileMaxSize:10485760,fileAllowedTypes:["*"],fileInsertButtons:["fileBack","|"],fileUseSelectedText:!1}),xt.PLUGINS.file=function(E){var r,p=E.$,y="path_to_url",u=2,h=3,g=4,L=5,_=6,n={};function w(){var e=E.popups.get("file.insert");e||(e=l()),e.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),e.find(".fr-file-progress-bar-layer").addClass("fr-active"),e.find(".fr-buttons").hide(),a(E.language.translate("Uploading"),0)}function o(e){var t=E.popups.get("file.insert");t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-file-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e&&(E.events.focus(),E.popups.hide("file.insert")))}function a(e,t){var n=E.popups.get("file.insert");if(n){var r=n.find(".fr-file-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function m(e,t,n){E.edit.on(),E.events.focus(!0),E.selection.restore(),E.opts.fileUseSelectedText&&E.selection.text().length&&(t=E.selection.text()),E.html.insert('<a href="'.concat(e,'" target="_blank" id="fr-inserted-file" class="fr-file">').concat(t,"</a>"));var r=E.$el.find("#fr-inserted-file");r.removeAttr("id"),E.popups.hide("file.insert"),E.undo.saveStep(),d(),E.events.trigger("file.inserted",[r,n])}function A(e,t,n){var r=this.status,a=this.response,o=this.responseXML,i=this.responseText;try{if(E.opts.fileUploadToS3||E.opts.fileUploadToAzure)if(201===r){var s;if(E.opts.fileUploadToAzure){if(!1===E.events.trigger("file.uploadedToAzure",[this.responseURL,n,a],!0))return E.edit.on(),!1;s=t}else s=function c(e){try{var t=p(e).find("Location").text(),n=p(e).find("Key").text();return!1===E.events.trigger("file.uploadedToS3",[t,n,e],!0)?(E.edit.on(),!1):t}catch(r){return k(g,e),!1}}(o);s&&m(s,e,a||o)}else k(g,a||o);else if(200<=r&&r<300){var l=function d(e){try{if(!1===E.events.trigger("file.uploaded",[e],!0))return E.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(k(u,e),!1)}catch(n){return k(g,e),!1}}(i);l&&m(l.link,e,a||i)}else k(h,a||i)}catch(f){k(g,a||i)}}function T(){k(g,this.response||this.responseText||this.responseXML)}function S(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;a(E.language.translate("Uploading"),t)}}function k(e,t){E.edit.on(),function r(e){w();var t=E.popups.get("file.insert").find(".fr-file-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),E.events.disableBlur(),n.focus()}(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("file.error",[{code:e,message:n[e]},t])}function x(){E.edit.on(),o(!0)}function i(e){if(void 0!==e&&0<e.length){if(!1===E.events.trigger("file.beforeUpload",[e]))return!1;var t,n=e[0];if(!(null!==E.opts.fileUploadURL&&E.opts.fileUploadURL!==y||E.opts.fileUploadToS3||E.opts.fileUploadToAzure))return function C(a){var o=new FileReader;o.onload=function(){for(var e=o.result,t=atob(o.result.split(",")[1]),n=[],r=0;r<t.length;r++)n.push(t.charCodeAt(r));e=window.URL.createObjectURL(new Blob([new Uint8Array(n)],{type:a.type})),E.file.insert(e,a.name,null)},w(),o.readAsDataURL(a)}(n),!1;if(n.size>E.opts.fileMaxSize)return k(L),!1;if(E.opts.fileAllowedTypes.indexOf("*")<0&&E.opts.fileAllowedTypes.indexOf(n.type.replace(/file\//g,""))<0)return k(_),!1;if(E.drag_support.formdata&&(t=E.drag_support.formdata?new FormData:null),t){var r;if(!1!==E.opts.fileUploadToS3)for(r in t.append("key",E.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),E.opts.fileUploadToS3.params)E.opts.fileUploadToS3.params.hasOwnProperty(r)&&t.append(r,E.opts.fileUploadToS3.params[r]);for(r in E.opts.fileUploadParams)E.opts.fileUploadParams.hasOwnProperty(r)&&t.append(r,E.opts.fileUploadParams[r]);t.append(E.opts.fileUploadParam,n);var a,o,i=E.opts.fileUploadURL;E.opts.fileUploadToS3&&(i=E.opts.fileUploadToS3.uploadURL?E.opts.fileUploadToS3.uploadURL:"https://".concat(E.opts.fileUploadToS3.region,".amazonaws.com/").concat(E.opts.fileUploadToS3.bucket));var s=E.opts.fileUploadMethod;E.opts.fileUploadToAzure&&(i=E.opts.fileUploadToAzure.uploadURL?"".concat(E.opts.fileUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(E.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(E.opts.fileUploadToAzure.container,"/").concat(n.name)),a=i,E.opts.fileUploadToAzure.SASToken&&(i+=E.opts.fileUploadToAzure.SASToken),s="PUT");var l=E.core.getXHR(i,s);if(E.opts.fileUploadToAzure){var c=(new Date).toUTCString();if(!E.opts.fileUploadToAzure.SASToken&&E.opts.fileUploadToAzure.accessKey){var d=E.opts.fileUploadToAzure.account,f=E.opts.fileUploadToAzure.container;if(E.opts.fileUploadToAzure.uploadURL){var p=E.opts.fileUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+d+"/"+f+"/"+n.name),g=s+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+u+"\n"+h,m=E.cryptoJSPlugin.cryptoJS.HmacSHA256(g,E.cryptoJSPlugin.cryptoJS.enc.Base64.parse(E.opts.fileUploadToAzure.accessKey)).toString(E.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;o=m,l.setRequestHeader("Authorization",v)}for(r in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",n.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),E.opts.fileUploadParams)E.opts.fileUploadParams.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.fileUploadParams[r]);for(r in E.opts.fileUploadToAzure.params)E.opts.fileUploadToAzure.params.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.fileUploadToAzure.params[r])}l.onload=function(){A.call(l,n.name,a,o)},l.onerror=T,l.upload.onprogress=S,l.onabort=x,w();var b=E.popups.get("file.insert");b&&(b.off("abortUpload"),b.on("abortUpload",function(){4!==l.readyState&&l.abort()})),l.send(E.opts.fileUploadToAzure?n:t)}}}function s(){o()}function l(e){if(e)return E.popups.onHide("file.insert",s),!0;var t;E.opts.fileUpload||E.opts.fileInsertButtons.splice(E.opts.fileInsertButtons.indexOf("fileUpload"),1),t='<div class="fr-buttons fr-tabs">'.concat(E.button.buildList(E.opts.fileInsertButtons),"</div>");var n="";E.opts.fileUpload&&(n='<div class="fr-file-upload-layer fr-layer fr-active" id="fr-file-upload-layer-'.concat(E.id,'"><strong>').concat(E.language.translate("Drop file"),"</strong><br>(").concat(E.language.translate("or click"),')<div class="fr-form"><input type="file" name="').concat(E.opts.fileUploadParam,'" accept="').concat(0<=E.opts.fileAllowedTypes.indexOf("*")?"/":"").concat(E.opts.fileAllowedTypes.join(", ").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-file-upload-layer-').concat(E.id,'" role="button"></div></div>'));var r={buttons:t,upload_layer:n,progress_bar:'<div class="fr-file-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="fileDismissError" tabIndex="2" role="button">OK</button></div></div>'},a=E.popups.create("file.insert",r);return function o(n){E.events.$on(n,"dragover dragenter",".fr-file-upload-layer",function(){return p(this).addClass("fr-drop"),!1},!0),E.events.$on(n,"dragleave dragend",".fr-file-upload-layer",function(){return p(this).removeClass("fr-drop"),!1},!0),E.events.$on(n,"drop",".fr-file-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),p(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;t&&t.files&&(n.data("instance")||E).file.upload(t.files)},!0),E.helpers.isIOS()&&E.events.$on(n,"touchstart",'.fr-file-upload-layer input[type="file"]',function(){p(this).trigger("click")}),E.events.$on(n,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var e=n.data("instance")||E;e.events.disableBlur(),n.find("input:focus").blur(),e.events.enableBlur(),e.file.upload(this.files)}p(this).val("")},!0)}(a),a}function t(e){E.node.hasClass(e,"fr-file")}function c(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var n=t.files[0];if(n&&"undefined"!=typeof n.type){if(n.type.indexOf("image")<0){if(!E.opts.fileUpload)return e.preventDefault(),e.stopPropagation(),!1;E.markers.remove(),E.markers.insertAtPoint(e.originalEvent),E.$el.find(".fr-marker").replaceWith(xt.MARKERS),E.popups.hideAll();var r=E.popups.get("file.insert");return r||(r=l()),E.popups.setContainer("file.insert",E.$sc),E.popups.show("file.insert",e.originalEvent.pageX,e.originalEvent.pageY),w(),i(t.files),e.preventDefault(),e.stopPropagation(),!1}}else n.type.indexOf("image")<0&&(e.preventDefault(),e.stopPropagation())}}function d(){var e,t=Array.prototype.slice.call(E.el.querySelectorAll("a.fr-file")),n=[];for(e=0;e<t.length;e++)n.push(t[e].getAttribute("href"));if(r)for(e=0;e<r.length;e++)n.indexOf(r[e].getAttribute("href"))<0&&E.events.trigger("file.unlink",[r[e]]);r=t}return n[1]="File cannot be loaded from the passed link.",n[u]="No link in upload response.",n[h]="Error during file upload.",n[g]="Parsing response failed.",n[L]="File is too large.",n[_]="File file type is invalid.",n[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",{_init:function f(){!function e(){E.events.on("drop",c),E.events.$on(E.$win,"keydown",function(e){var t=e.which,n=E.popups.get("file.insert");n&&t===xt.KEYCODE.ESC&&n.trigger("abortUpload")}),E.events.on("destroy",function(){var e=E.popups.get("file.insert");e&&e.trigger("abortUpload")})}(),E.events.on("link.beforeRemove",t),E.$wp&&(d(),E.events.on("contentChanged",d)),l(!0)},showInsertPopup:function v(){var e=E.$tb.find('.fr-command[data-cmd="insertFile"]'),t=E.popups.get("file.insert");if(t||(t=l()),o(),!t.hasClass("fr-active"))if(E.popups.refresh("file.insert"),E.popups.setContainer("file.insert",E.$tb),e.isVisible){var n=E.button.getPosition(e),r=n.left,a=n.top;E.popups.show("file.insert",r,a,e.outerHeight())}else E.position.forSelection(t),E.popups.show("file.insert")},upload:i,insert:m,back:function e(){E.events.disableBlur(),E.selection.restore(),E.events.enableBlur(),E.popups.hide("file.insert"),E.toolbar.showInline()},hideProgressBar:o}},xt.DefineIcon("insertFile",{NAME:"file-o",FA5NAME:"file",SVG_KEY:"insertFile"}),xt.RegisterCommand("insertFile",{title:"Upload File",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("file.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("file.insert")):this.file.showInsertPopup()},plugin:"file"}),xt.DefineIcon("fileBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("fileBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.file.back()},refresh:function(e){this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),xt.RegisterCommand("fileDismissError",{title:"OK",callback:function(){this.file.hideProgressBar(!0)}}),Object.assign(xt.POPUP_TEMPLATES,{"filesManager.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_PROGRESS_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(xt.DEFAULTS,{filesInsertButtons:["imageBack","|","filesUpload","filesByURL","filesEmbed"],filesInsertButtons2:["deleteAll","insertAll","cancel","minimize"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,filesManagerUploadURL:null,imageCORSProxy:"path_to_url",imageUploadRemoteUrls:!0,filesManagerUploadParam:"file",filesManagerUploadParams:{},googleOptions:{},filesManagerUploadToS3:!1,filesManagerUploadToAzure:!1,filesManagerUploadMethod:"POST",filesManagerMaxSize:10485760,filesManagerAllowedTypes:["*"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),xt.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}&wmode=opaque" frameborder="0" allowfullscreen></iframe>',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vidyard"}],xt.VIDEO_EMBED_REGEX=/^\W*((<iframe(.|\n)*>(\s|\n)*<\/iframe>)|(<embed(.|\n)*>))\W*$/i,xt.IMAGE_EMBED_REGEX=/^\W*((<img(.|\n)*>(\s|\n)*))\W*$/i,xt.PLUGINS.filesManager=function(A){var y,i,T,l,c,d,s,f,S=A.$,L="path_to_url",p=!1,t=!1,k=new Map,x=new Map,_=new Map,w=new Map,R=new Map,M=new Map,o=0,a=[],u=-1,O=[],h=0,g=["file","image","imageTUI","video"],N=1,m=2,I=3,D=4,B=5,H=6,$=10,F=["video/avi","video/mpeg","video/x-ms-wmv"],v={};function b(){var e=A.popups.get("filesManager.insert"),t=e.find(".fr-files-by-url-layer input");t.val(""),e.find(".fr-files-embed-layer textarea").val("").trigger("change"),t.trigger("change")}function C(e){var t;A.hasOwnProperty("imageTUI")||(s="fr-disabled"),M.forEach(function(e,t){Z(t)}),E()?(t=A.popups.get("filesManager.insert"))||(t=Ue()):(t=A.popups.get("filesManager.insert"))||(t=function i(){var e='<div class="fr-buttons fr-tabs">'.concat(A.button.buildList(A.opts.fileInsertButtons),"</div>"),t="<div style= 'padding:10px'>\n <div class = 'fr-message'><h3 style ='font-size: 16px; margin: 10px 10px;font-weight: normal;'>".concat(A.language.translate(function a(){var e="",t=function n(){var t=[];return g.forEach(function(e){A.opts.pluginsEnabled.indexOf(e)<0&&t.push(e.charAt(0).toUpperCase()+e.slice(1))}),t}();e=t.join(", "),1<t.length?e+=" plugin are":e+=" plugin is";return e}()+" not enabled. Do you want to enable?"),"</h3></div>\n <div style='text-align:right;'>\n <button class='fr-trim-button fr-plugins-enable'>").concat(A.language.translate("Enable"),"</button> \n <button class='fr-trim-button fr-plugins-cancel'>").concat(A.language.translate("Cancel"),"</button>\n </div>"),n={buttons:e,upload_layer:t,by_url_layer:"",embed_layer:"",upload_progress_layer:"",progress_bar:""},r=A.popups.create("filesManager.insert",n);return Ie(r),r}());var n=A.$tb.find('.fr-command[data-cmd="insertFiles"]');if(J(),e||!t.hasClass("fr-active"))if(e||X(),A.popups.refresh("filesManager.insert"),A.popups.setContainer("filesManager.insert",A.$tb),n.isVisible()){var r=A.button.getPosition(n,k.size),a=r.left,o=r.top;A.popups.show("filesManager.insert",a,o,n.outerHeight())}else A.position.forSelection(t),A.popups.show("filesManager.insert");A.popups.setPopupDimensions(t),E()&&A.popups.setFileListHeight(t),t.find(".fr-upload-progress")&&0==k.size&&t.find(".fr-upload-progress").addClass("fr-none")}function E(){var t=!0;return g.forEach(function(e){A.opts.pluginsEnabled.indexOf(e)<0&&(t=!1)}),t}function P(){J()}function U(){if(l||function i(){var e;A.shared.$image_resizer?(l=A.shared.$image_resizer,d=A.shared.$img_overlay,A.events.on("destroy",function(){S("body").first().append(l.removeClass("fr-active"))},!0)):(A.shared.$image_resizer=S(document.createElement("div")).attr("class","fr-image-resizer"),l=A.shared.$image_resizer,A.events.$on(l,"mousedown",function(e){e.stopPropagation()},!0),A.opts.imageResize&&(l.append(z("nw")+z("ne")+z("sw")+z("se")),A.shared.$img_overlay=S(document.createElement("div")).attr("class","fr-image-overlay"),d=A.shared.$img_overlay,e=l.get(0).ownerDocument,S(e).find("body").first().append(d)));A.events.on("shared.destroy",function(){l.html("").removeData().remove(),l=null,A.opts.imageResize&&(d.remove(),d=null)},!0),A.helpers.isMobile()||A.events.$on(S(A.o_win),"resize",function(){y&&!y.hasClass("fr-uploading")?rt(!0):y&&(U(),replace(),Q(!1))});if(A.opts.imageResize){e=l.get(0).ownerDocument,A.events.$on(l,A._mousedown,".fr-handler",V),A.events.$on(S(e),A._mousemove,W),A.events.$on(S(e.defaultView||e.parentWindow),A._mouseup,G),A.events.$on(d,"mouseleave",G);var r=1,a=null,o=0;A.events.on("keydown",function(e){if(y){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,n=e.which;(n!==a||200<e.timeStamp-o)&&(r=1),(n==xt.KEYCODE.EQUALS||A.browser.mozilla&&n==xt.KEYCODE.FF_EQUALS)&&t&&!e.altKey?r=qe.call(this,e,1,1,r):(n==xt.KEYCODE.HYPHEN||A.browser.mozilla&&n==xt.KEYCODE.FF_HYPHEN)&&t&&!e.altKey?r=qe.call(this,e,2,-1,r):A.keys.ctrlKey(e)||n!=xt.KEYCODE.ENTER||(y.before("<br>"),_e(y)),a=n,o=e.timeStamp}},!0),A.events.on("keyup",function(){r=1})}}(),!y)return!1;var e=A.$wp||A.$sc;e.append(l),l.data("instance",A);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),n=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);n-=A.helpers.getPX(e.css("border-left-width")),t-=A.helpers.getPX(e.css("border-top-width")),A.$el.is("img")&&A.$sc.is("body")&&(n=t=0);var r=ct();dt()&&(r=r.find(".fr-img-wrap"));var a=0,o=0;A.opts.iframe&&(a=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-top")),o=A.helpers.getPX(A.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(A.opts.iframe?r.offset().top+a:r.offset().top+t)-1).css("left",(A.opts.iframe?r.offset().left+o:r.offset().left+n)-1).css("width",r.get(0).getBoundingClientRect().width).css("height",r.get(0).getBoundingClientRect().height).addClass("fr-active")}function z(e){return'<div class="fr-handler fr-h'.concat(e,'"></div>')}function K(e){dt()?y.parents(".fr-img-caption").css("width",e):y.css("width",e)}function V(e){if(!A.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;A.undo.canDo()||A.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var n=A.$oel.get(0).ownerDocument,r=n.defaultView||n.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(s){}a&&r.frameElement&&(t+=A.helpers.getPX(S(r.frameElement).offset().left)+r.frameElement.clientLeft)}(c=S(this)).data("start-x",t),c.data("start-width",y.width()),c.data("start-height",y.height());var o=y.width();if(A.opts.imageResizeWithPercent){var i=y.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;o=(o/S(i).outerWidth()*100).toFixed(2)+"%"}K(o),d.show(),A.popups.hideAll(),it()}function W(e){if(!A.core.sameInstance(l))return!0;var t;if(c&&y){if(e.preventDefault(),A.$el.find("img.fr-error").left)return!1;var n=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!n)return!1;var r=n-c.data("start-x"),a=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(r=0-r),A.opts.imageResizeWithPercent){var o=y.parentsUntil(A.$el,A.html.blockTagsQuery()).get(0)||A.el;a=((a+r)/S(o).outerWidth()*100).toFixed(2),A.opts.imageRoundPercent&&(a=Math.round(a)),K("".concat(a,"%")),(t=dt()?(A.helpers.getPX(y.parents(".fr-img-caption").css("width"))/S(o).outerWidth()*100).toFixed(2):(A.helpers.getPX(y.css("width"))/S(o).outerWidth()*100).toFixed(2))===a||A.opts.imageRoundPercent||K("".concat(t,"%")),y.css("height","").removeAttr("height")}else a+r>=A.opts.imageMinWidth&&(K(a+r),t=dt()?A.helpers.getPX(y.parents(".fr-img-caption").css("width")):A.helpers.getPX(y.css("width"))),t!==a+r&&K(t),((y.attr("style")||"").match(/(^height:)|(; *height:)/)||y.attr("height"))&&(y.css("height",c.data("start-height")*y.width()/c.data("start-width")),y.removeAttr("height"));U(),A.events.trigger("image.resize",[lt()])}}function G(e){if(!A.core.sameInstance(l))return!0;if(c&&y){if(e&&e.stopPropagation(),A.$el.find("img.fr-error").left)return!1;c=null,d.hide(),U(),A.undo.saveStep(),A.events.trigger("image.resizeEnd",[lt()])}else l.removeClass("fr-active")}function Y(){M.forEach(function(e,t){var n=A.popups.get("filesManager.insert");n.find(".fr-checkbox-file-"+t).get(0).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t)&&(document.getElementById("fr-file-autoplay-button-"+t).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.add("fr-checkbox-disabled"),document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.remove("fr-files-checkbox")),n.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),n.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled")})}function j(e,t,n,r){A.edit.on(),y&&y.addClass("fr-error"),v[e]?(e!=I&&e!=m&&e!=D||Ee(100,r,!0),M.set(r,v[e]),Y(),function a(){M.forEach(function(e,t){A.popups.get("filesManager.insert"),document.getElementById("fr-file-edit-button-".concat(t))&&(document.getElementById("fr-file-edit-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-view-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-insert-button-".concat(t)).classList.add("fr-disabled"))})}(),ne(A.language.translate(v[e]),r)):ne(A.language.translate("Something went wrong. Please try again."),r),!y&&n&&Ze(n),A.events.trigger("filesManager.error",[{code:e,message:v[e]},t,n])}function q(){var e=A.popups.get("filesManager.insert"),t=e.find('.fr-command[data-cmd="insertAll"]'),n=e.find('.fr-command[data-cmd="deleteAll"]'),r=!0;R.forEach(function a(e,t,n){R.get(t)&&(r=!1)}),r?t.addClass("fr-disabled"):t.removeClass("fr-disabled"),r?n.addClass("fr-disabled"):n.removeClass("fr-disabled")}function Z(e){x.get(e)&&x.get(e).link&&A.events.trigger("filesManager.removed",[x.get(e).link]);var t=A.popups.get("filesManager.insert");t.find(".fr-file-"+e).get(0)!==undefined&&(t.find(".fr-file-"+e).get(0).outerHTML=""),x["delete"](e),k["delete"](e),R["delete"](e),q(),0==k.size&&(h=0),M["delete"](e),A.popups.setPopupDimensions(t,!0),A.opts.toolbarBottom?C(!0):A.popups.setPopupDimensions(t),t.find(".fr-upload-progress")&&0==k.size&&t.find(".fr-upload-progress").addClass("fr-none")}function X(){for(var e=A.popups.get("filesManager.insert"),t=e.find(".fr-insert-checkbox"),n=0;n<t.length;n++)t.get(n).children.target.checked=!1,e.find(".fr-file-"+t.get(n).id.split("-").pop()).get(0).classList.add("fr-unchecked");if(T)document.getElementById("fr-file-autoplay-button-".concat(T))&&(document.getElementById("fr-file-autoplay-button-".concat(T)).checked=!1),O=O.filter(function(e){return e!=T});else{for(var r=e.find(".fr-file-autoplay-button"),a=0;a<r.length;a++)r.get(a).checked=!1;O=[]}R=new Map,q()}function Q(e){var t=A.popups.get("filesManager.insert");if(t||(t=Ue()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-files-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),y){var n=ct();A.popups.setContainer("filesManager.insert",A.$sc);var r=n.offset().left,a=n.offset().top+n.height();A.popups.show("filesManager.insert",r,a,n.outerHeight())}void 0===e&&ee(A.language.translate("Uploading"),0)}function J(e){var t=A.popups.get("filesManager.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-files-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||A.$el.find("img.fr-error").length)){if(A.events.focus(),A.$el.find("img.fr-error").length&&(A.$el.find("img.fr-error").remove(),A.undo.saveStep(),A.undo.run(),A.undo.dropRedo()),!A.$wp&&y){var n=y;rt(!0),A.selection.setAfter(n.get(0)),A.selection.restore()}A.popups.hide("filesManager.insert")}}function ee(e,t){var n=A.popups.get("filesManager.insert");if(n){var r=n.find(".fr-files-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function te(e){Q();var t=A.popups.get("filesManager.insert").find(".fr-files-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),A.events.disableBlur(),n.focus()}function ne(e,t){var n=A.popups.get("filesManager.insert"),r=n.find(".fr-upload-progress-layer"),a=n.find(".fr-file-".concat(t));r.addClass("fr-error"),a.find("h5").text(e)}v[N]="File cannot be loaded from the passed link.",v[m]="No link in upload response.",v[I]="Error during file upload.",v[D]="Parsing response failed.",v[B]="File is too large.",v[H]="File type is invalid.",v[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",v[8]="File is corrupted.",v[9]="Error during file loading.",v[$]="File upload cancelled";var n,re,ae,oe,ie,se,r,le,ce,de,fe="";function pe(e){fe=e,n=document.getElementsByClassName(e),Array.prototype.map.call(n,function(e){!function r(e){if(e.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation(),re=e.pageX,ae=e.pageY;var t=document.getElementById("filesList");ae+20>t.getBoundingClientRect().bottom&&ue(t,0,10),ae-20<t.getBoundingClientRect().top&&ue(t,0,-10)},!1),A.helpers.isMobile()){var t=e.getElementsByClassName("dot");t[0].addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation();for(var t=e.target;t&&!t.classList.contains(fe);)t=t.parentElement;for(var n=document.elementFromPoint(e.targetTouches[0].clientX,e.targetTouches[0].clientY);n&&!n.classList.contains(fe);)n=n.parentElement;var r=document.getElementsByClassName("fr-hovered-over-file");Array.prototype.forEach.call(r,function(e){e.classList.remove("fr-hovered-over-file")}),n&&!t.classList.contains("fr-unchecked")&&n.classList.add("fr-hovered-over-file");var a=document.getElementById("filesList");e.targetTouches[0].clientY+5>a.getBoundingClientRect().bottom&&ue(a,0,5),e.targetTouches[0].clientY-5<a.getBoundingClientRect().top&&ue(a,0,-5)},!1)}if(e.ondrag=he,e.ondragend=ge,A.helpers.isMobile()){var n=e.getElementsByClassName("dot");n[0].addEventListener("touchmove",he,!1),n[0].addEventListener("touchend",ge,!1)}}(e)})}function ue(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function he(e){for(A.helpers.isMobile()&&(ie=event.touches[0].clientX,se=event.touches[0].clientY),oe=e.target;!oe.classList.contains(fe);)oe=oe.parentElement;oe.classList.contains(fe)&&!oe.classList.contains("fr-unchecked")?A.helpers.isMobile()&&oe.classList.add("drag-sort-active"):oe=undefined}function ge(e){var t;if(oe!==undefined){var n,r;if(A.helpers.isMobile())for(n=ie,r=se,t=event.target;!t.classList.contains(fe);)t=t.parentElement;else n=event.clientX,r=event.clientY;A.helpers.isMobile()||!A.browser.safari&&!A.browser.mozilla||(n=re,r=ae);for(var a=document.elementFromPoint(n,r);a&&!a.classList.contains(fe);)a=a.parentElement;a&&!a.classList.contains(fe)?a=undefined:a&&oe!==a&&function s(e,t){var n,r,a=e.parentNode,o=t.parentNode;if(!a||!o||a.isEqualNode(t)||o.isEqualNode(e))return;for(var i=0;i<a.children.length;i++)a.children[i].isEqualNode(e)&&(n=i);for(var i=0;i<o.children.length;i++)o.children[i].isEqualNode(t)&&(r=i);a.isEqualNode(o)&&n<r&&r++;a.insertBefore(t,a.children[n]),o.insertBefore(e,o.children[r])}(oe,a),A.helpers.isMobile()&&(t.classList.remove("fr-hovered-over-file"),a.classList.remove("fr-hovered-over-file"))}}function me(e){var r=A.popups.get("filesManager.insert");r.find(".fr-upload-progress-layer").hasClass("fr-active")||r.find(".fr-upload-progress-layer").addClass("fr-active"),r.find(".fr-upload-progress").removeClass("fr-none");var t=k.get(e),n=function i(e){var t,n={weekday:"long",year:"numeric",month:"long",day:"numeric"};try{t=e.toLocaleDateString(A.opts.language?A.opts.language:undefined,n)}catch(r){t=e.toLocaleDateString(undefined,n)}return t+""}(new Date),a=R.get(e)?"":"fr-unchecked ",o="\n <div id='fr-file-".concat(e,"' class='fr-file-list-item fr-file-").concat(e," ").concat(a,"' draggable = \"").concat(!a,'" >\n <div class=\'fr-file-item-left\' >\n\n \n <div class="fr-file-item-insert-checkbox fr-files-checkbox-line">\n ').concat(A.helpers.isMobile()?"<div id='fr-pick-".concat(e,"}' class='dot'>\n </div>"):"",'\n <div id="checkbox-key-').concat(e,'" class="fr-files-checkbox fr-insert-checkbox fr-checkbox-').concat(e,'">\n <input name="target" class="fr-insert-attr fr-checkbox-file-').concat(e,' fr-file-insert-check" data-cmd="fileInsertCheckbox"\n data-checked="_blank" type="checkbox" id="fr-link-target-').concat(A.id,'" tabIndex="0" />\n <span>').concat('<svg version="1.1" xmlns="path_to_url" xmlns:xlink="path_to_url" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>','\n </span>\n </div>\n <label id="fr-label-target-').concat(A.id,"\"></label>\n </div>\n \n <div class='fr-file-item-icon fr-file-item-icon-").concat(e,"' >\n <img src='path_to_url alt='Image preview' class='thumbnail-padding' height='36px' width='36px' />\n </div>\n\n <div class='fr-file-item-description' >\n <div class='fr-file-name fr-files-manager-tooltip'>\n ").concat(function s(e,t,n){null==t&&(t=100);null==n&&(n="...");return e.length>t?e.substring(0,t-n.length)+n:e}(t.name,20),'\n <span class="').concat(20<t.name.length?"tooltiptext":"fr-none",'">').concat(t.name,"\n </span>\n </div>\n <div class='fr-file-details'>\n <div class='fr-file-date'>").concat(n,"\n </div>\n \n <div class='fr-file-size'>\n ").concat(function l(e){if(0==e)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024));return" | "+1*(e/Math.pow(1024,t)).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]}(t.size),"\n </div>\n </div>\n\n <div class='fr-file-error'>\n <h5 class='fr-file-error-h5'></h5>\n </div>\n </div>\n \n </div>\n\n <div class='fr-file-item-right fr-file-item-right-").concat(e,"'>")+Ce(e)+"</div>\n </div>";r.find(".fr-upload-progress-layer")[0].innerHTML=o+r.find(".fr-upload-progress-layer")[0].innerHTML,k.forEach(function c(e,t,n){R.get(t)&&r.find("input.fr-insert-attr.fr-checkbox-file-".concat(t))[0].setAttribute("checked",null)}),O.forEach(function(e){document.getElementById("fr-file-autoplay-button-"+e).checked=!0}),be(e,t),J(),A.opts.toolbarBottom?C(!0):A.popups.setPopupDimensions(r),pe("fr-file-list-item")}function ve(e){switch(e){case"application/msword":return A.icon.getFileIcon("docIcon");case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return A.icon.getFileIcon("docxIcon");case"image/gif":return A.icon.getFileIcon("gifIcon");case"image/jpeg":return A.icon.getFileIcon("jpegIcon");case"image/jpeg":return A.icon.getFileIcon("jpgIcon");case"type/text":return A.icon.getFileIcon("logIcon");case"video/quicktime":return A.icon.getFileIcon("movIcon");case"audio/mp3":case"audio/mpeg":return A.icon.getFileIcon("mp3Icon");case"video/mp4":return A.icon.getFileIcon("mp4Icon");case"audio/ogg":return A.icon.getFileIcon("oggIcon");case"video/ogg":return A.icon.getFileIcon("ogvIcon");case"application/pdf":return A.icon.getFileIcon("pdfIcon");case"image/png":return A.icon.getFileIcon("pngIcon");case"text/plain":return A.icon.getFileIcon("txtIcon");case"video/webm":return A.icon.getFileIcon("webmIcon");case"image/webp":return A.icon.getFileIcon("webpIcon");case"video/x-ms-wmv":return A.icon.getFileIcon("wmvIcon");case"application/vnd.ms-excel":return A.icon.getFileIcon("xlsIcon");case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return A.icon.getFileIcon("xlsxIcon");case"application/x-zip-compressed":case"application/zip":return A.icon.getFileIcon("zipIcon");default:return A.icon.getFileIcon("defaultIcon")}}function be(r,a,e){var o=A.popups.get("filesManager.insert"),t=o.find(".fr-file-item-icon-"+r).get(0);if(Be(ke(a))&&"image/gif"!=ke(a)&&"image/webp"!=ke(a)){"a"!=t.children[0].localName&&(t.innerHTML="<a target='_blank' href=''>"+t.innerHTML+"</a>");o.find(".fr-file-item-icon-"+r).get(0).children[0].children[0];var i=new FileReader;if(null!=e&&e){var n=k.get(r);a.name=n.name,k.set(r,a)}if(i.onloadend=function(){o.find(".fr-file-item-icon-"+r).get(0).children[0].children[0].src=i.result;for(var e=atob(i.result.split(",")[1]),t=[],n=0;n<e.length;n++)t.push(e.charCodeAt(n));o.find(".fr-file-item-icon-"+r).get(0).children[0].href=window.URL.createObjectURL(new Blob([new Uint8Array(t)],{type:ke(a)})),o.find(".fr-file-item-icon-"+r).get(0).classList.add("file-item-thumbnail-hover")},a)i.readAsDataURL(a);else{var s=ve(ke(a));t.innerHTML='<svg height="40px" width="40px" viewBox="0 0 55 5" version="1.1" xmlns="path_to_url" xmlns:xlink="path_to_url">\n '.concat(s.path,"\n </svg>")}}else{var l=ve(ke(a));t.innerHTML='<svg height="40px" width="40px" viewBox="0 0 55 55" version="1.1" xmlns="path_to_url" xmlns:xlink="path_to_url">\n '.concat(l.path,"\n </svg>")}}function Ce(e){var t="";if($e(ke(k.get(e)))){var n="fr-files-checkbox",r="";Pe(ke(k.get(e)))||(n="fr-checkbox-disabled",r="disabled");t='\n <div class="fr-files-checkbox-line align-autoplay">\n <div id="checkbox-key-'.concat(e,'" class="').concat(n," fr-autoplay-checkbox fr-checkbox-").concat(e,'"> \n \n <input type="checkbox" id="fr-file-autoplay-button-').concat(e,'" class="fr-file-button-').concat(e,' fr-file-autoplay-button" data-title="Edit" data-param1="').concat(e,'" role="button" ').concat(r,"/>\n\n <span>").concat('<svg version="1.1" xmlns="path_to_url" xmlns:xlink="path_to_url" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>'," </span>\n </div> \n <label class='fr-autoplay-checkbox-label'>Autoplay </label>\n </div>")}var a="application/msword",o="application/vnd.openxmlformats-officedocument.wordprocessingml.document",i="";return!Fe(ke(k.get(e)))&&Pe(ke(k.get(e)))||(s="fr-disabled"),$e(ke(k.get(e)))&&(s="fr-disabled"),He(ke(k.get(e)))&&(s="fr-disabled",ke(k.get(e))!=a&&ke(k.get(e))!=o||A.opts.googleOptions&&!A.helpers.isMobile()&&A.opts.googleOptions.API_KEY&&A.opts.googleOptions.CLIENT_ID&&(s=""),"text/plain"!=ke(k.get(e))&&ke(k.get(e))!=a&&"application/pdf"!=ke(k.get(e))&&ke(k.get(e))!=o&&"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"!=ke(k.get(e))&&"application/vnd.ms-excel"!=ke(k.get(e))&&"type/text"!=ke(k.get(e))||(i="")),"video/url"===ke(k.get(e))&&(s="fr-disabled"),t+='<div class=\'fr-file-item-action-buttons\' >\n <button type="button" id="fr-file-insert-button-'.concat(e,'" class=" fr-doc-edit-').concat(e," fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n fr-file-button-").concat(e," fr-file-insert-button-").concat(e,' fr-file-insert-button" data-cmd="imageInsertByUpload" data-title="Insert" data-param1="').concat(e,'" tabIndex="2" role="button">\n <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-5 0 28 28" xlmns = "path_to_url"><path d = \'M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 \'></path></svg>\n </button>\n\n <button type="button" id="fr-file-edit-button-').concat(e,'" class=" fr-doc-edit-').concat(e," ").concat(s," fr-img-icon fr-btn fr-command fr-submit \n fr-file-action-icons fr-file-edit-button-").concat(e," fr-file-button-").concat(e,' fr-file-edit-button" data-cmd="editImage" data-title="Edit" data-param1="').concat(e,'" role="button">\n <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "0 4 25 25" xlmns = "path_to_url"><path d = \'M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0 c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z\'></path></svg>\n </button>\n \n <span class="fr-file-view-').concat(e,'"><button type="button" id="fr-file-view-button-').concat(e,'" class=" fr-doc-edit-').concat(e," ").concat(i," fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n fr-file-view-button-").concat(e,' fr-file-view-button" data-cmd="viewImage" data-title="View" data-param1="').concat(e,'" tabIndex="2" role="button">\n <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "15 19 21 21" xlmns = "path_to_url"> <path style="fill:none;stroke-width:0.9077;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 19.086094 16.541466 C 16.185625 16.541466 14.318281 19.447115 14.318281 19.447115 L 14.318281 19.555288 C 14.318281 19.555288 16.176719 22.475962 19.077187 22.475962 C 21.977656 22.475962 23.847969 19.576322 23.847969 19.576322 L 23.847969 19.465144 C 23.847969 19.465144 21.989531 16.541466 19.086094 16.541466 Z M 19.07125 21.024639 C 18.248906 21.024639 17.583906 20.357572 17.583906 19.53726 C 17.583906 18.716947 18.248906 18.04988 19.07125 18.04988 C 19.890625 18.04988 20.555625 18.716947 20.555625 19.53726 C 20.555625 20.357572 19.890625 21.024639 19.07125 21.024639 Z M 19.07125 21.024639 " transform="matrix(1.315789,0,0,1.3,0,0)"/></svg></button></span>\n\n <button type="button" id="fr-file-delete-button-').concat(e,'" class=" fr-doc-edit-').concat(e," fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons\n fr-file-button-").concat(e,' fr-file-delete-button" data-cmd="deleteImage" data-title="Delete" data-param1="').concat(e,'" role="button">\n <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-2 3 30 30" xlmns = "path_to_url"><path d = \'M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z\'></path></svg>\n </button>\n \n </div>\n <div id="user_area-').concat(e,"\" style=\"display: none;\">\n \n <div id=\"file_container\"></div>\n\n <div style='display:block;text-align: center; margin-left:50%; id='edit-file-loader' class='fr-file-loader'></div>\n\n </div> \n ")}function Ee(e,t,n){var r=A.popups.get("filesManager.insert");if(!n&&e<=100){r.find(".fr-checkbox-file-"+t).get(0).disabled=!0,r.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),r.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled");var a=r.find(".fr-file-progress-circle-"+t),o=r.find(".fr-file-upload-percent-"+t);return 50<e?a.get(0).setAttribute("class","fr-file-progress-circle-"+t+" progress-circle p"+Math.floor(e)+" over50"):a.get(0).setAttribute("class","fr-file-progress-circle-"+t+" progress-circle p"+Math.floor(e)),o.get(0).innerHTML=Math.floor(e)+"%",void ye(t,e,n)}n&&(r.find(".fr-checkbox-file-"+t).get(0).disabled=!1,r.find(".fr-checkbox-"+t).get(0).classList.remove("fr-checkbox-disabled"),r.find(".fr-checkbox-"+t).get(0).classList.add("fr-files-checkbox"),r.find(".fr-file-item-right-"+t).get(0).innerHTML=Ce(t),ye(t,100,n))}function ye(e,t,n){var r=A.popups.get("filesManager.insert");r.find(".fr-progress-bar").removeClass("fr-none").addClass("fr-display-block"),r.find(".fr-upload-progress").hasClass("fr-height-set")&&A.popups.setFileListHeight(r);var a=0;w.set(e,t),w.forEach(function(e,t){a+=e}),a/=w.size,100==t&&n&&o++,r.find('.fr-command[data-cmd="filesUpload"]').addClass("fr-disabled"),r.find('.fr-command[data-cmd="filesByURL"]').addClass("fr-disabled"),r.find('.fr-command[data-cmd="filesEmbed"]').addClass("fr-disabled"),r.find(".fr-progress-bar").get(0).style.width=a+"%",o==w.size&&(r.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),w=new Map,o=0,r.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),r.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),r.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"))}function Le(n,r){J(),A.popups.get("filesManager.insert").find(".fr-upload-progress-layer").addClass("fr-active"),n.forEach(function(e,t){Be(ke(e))&&A.opts.imageUploadRemoteUrls&&A.opts.imageCORSProxy&&A.opts.imageUpload?Ne(e,n,y,r[t]):x.set(r[t],e)})}function _e(e){e&&e.get&&function n(e){if("false"==S(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;if(e&&"touchend"==e.type&&de)return!0;if(e&&A.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;for(var t=0;t<xt.INSTANCES.length;t++)xt.INSTANCES[t]!=A&&xt.INSTANCES[t].events.trigger("image.hideResizer");A.toolbar.disable(),e&&(e.stopPropagation(),e.preventDefault());A.helpers.isMobile()&&(A.events.disableBlur(),A.$el.blur(),A.events.enableBlur());A.opts.iframe&&A.size.syncIframe();y=S(this),U(),A.browser.msie?(A.popups.areVisible()&&A.events.disableBlur(),A.win.getSelection&&(A.win.getSelection().removeAllRanges(),A.win.getSelection().addRange(A.doc.createRange()))):A.selection.clear();A.helpers.isIOS()&&(A.events.disableBlur(),A.$el.blur());A.button.bulkRefresh(),A.events.trigger("video.hideResizer")}.call(e.get(0))}function we(){var e=S(this);e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),(0==a.length||0<a.length&&a.length==u)&&(f=e),"VIDEO"==e.get(0).tagName||"AUDIO"==e.get(0).tagName?A.selection.setAfter(e.parent()):A.selection.setAfter(e),A.undo.saveStep(),A.events.trigger("filesManager.loaded",[e]),Te(a)}function Ae(){var e,t=Array.prototype.slice.call(A.el.querySelectorAll("video, .fr-video > *")),n=[];for(e=0;e<t.length;e++)n.push(t[e].getAttribute("src")),S(t[e]).toggleClass("fr-draggable",A.opts.videoMove),""===t[e].getAttribute("class")&&t[e].removeAttribute("class"),""===t[e].getAttribute("style")&&t[e].removeAttribute("style");if(r)for(e=0;e<r.length;e++)n.indexOf(r[e].getAttribute("src"))<0&&A.events.trigger("video.removed",[S(r[e])]);r=t}function Te(e){if(null!=e){if(0==e.length)return void(null!=f&&("VIDEO"==f.get(0).tagName?A.video._editVideo(f.parent()):"IMG"==f.get(0).tagName?A.image.edit(f):f.trigger("click"),A.toolbar.disable()));xe(e.shift(),e)}}function Se(e){var t=!1;if($e(ke(x.get(e))))A.trimVideoPlugin.trimVideo(k.get(e),e,k),t=!0;else if(Be(ke(x.get(e)))){var n=x.get(e).link,r=A.o_doc.createElement("img");r.src=n,y=r,i=e,A.imageTUI.launch(A,!1,e),t=!0}else if(He(ke(x.get(e)))){var a={apiKey:A.opts.googleOptions.API_KEY,clientId:A.opts.googleOptions.CLIENT_ID,authorizeButton:"authorize_button-".concat(e),signoutButton:"signout_button",userArea:"user_area-".concat(e),fileInput:"file_input",fileIndex:e,file:k.get(e),fileContainer:"file_container",loadingText:"File is being uploaded...",events:{onInvalidFile:function(e){},onError:function(e){}}};ce=function d(p){var o,e=["path_to_url"],u="id,title,mimeType,userPermission,editable,copyable,shared,fileSize",h="-------314159265358979323846",g="\r\n--"+h+"\r\n",m="\r\n--"+h+"--",t=(document.getElementById(p.authorizeButton),document.getElementById(p.userArea));p.events||(p.events={});function n(){gapi.client.init({apiKey:p.apiKey,clientId:p.clientId,discoveryDocs:e,scope:"path_to_url path_to_url path_to_url"}).then(function(){gapi.auth2.getAuthInstance().isSignedIn.listen(r),r(gapi.auth2.getAuthInstance().isSignedIn.get()),function t(e){!gapi.auth2.getAuthInstance().isSignedIn.get()||gapi.auth.getToken()!==undefined&&gapi.auth.getToken().access_token===undefined?Promise.resolve(gapi.auth2.getAuthInstance().signIn()).then(function(){i()}):i()}()},function(e){p.events.onError(e)})}function r(e){e&&(t.style.display="block")}function a(e){var t=gapi.auth.getToken().access_token,n=o,r="path_to_url"+n+"&format=docx&access_token="+t,a=new XMLHttpRequest;a.open("get",r),a.responseType="arraybuffer",a.onload=function(){var e=new Blob([new Uint8Array(this.response)],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}),t=k.get(p.fileIndex);e.name=t.name,e.lastModified=t.lastModified,e.lastModifiedDate=t.lastModifiedDate,k.set(p.fileIndex,e),A.filesManager.upload(e,x,y,p.fileIndex),l()},a.send()}function i(e){!function r(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),n=0;n<t.length;n++)t[n].setAttribute("disabled",!0),t[n].classList.add("fr-disabled")}(p.fileIndex);var t=p.file;t?function n(c,d){var f=new FileReader;f.readAsArrayBuffer(c),f.onload=function(e){for(var t={title:c.name,mimeType:"application/vnd.google-apps.document"},n="",r=new Uint8Array(f.result),a=r.byteLength,o=0;o<a;o++)n+=String.fromCharCode(r[o]);var i=btoa(n),s=g+"Content-Type: application/json; charset=UTF-8\r\n\r\n"+JSON.stringify(t)+g+"Content-Type: application/octet-stream\r\nContent-Transfer-Encoding: base64\r\n\r\n"+i+m,l=gapi.client.request({path:"/upload/drive/v2/files",method:"POST",params:{uploadType:"multipart",fields:u},headers:{"Content-Type":'multipart/related; boundary="'+h+'"',"Content-Length":s.Length},body:s});d||(d=function(e){}),l.execute(function(e,t){e.error?p.events.onError(e.error):d(e)})}}(t,s):p.events.onInvalidFile("File is not selected")}function s(e){o=e.id;var t="path_to_url"+e.id+"/edit",n=A.o_doc.body,r=A.o_doc.createElement("div");r.setAttribute("id","editDocContainer"),r.style.cssText="position: fixed; top: 0;left: 0;padding: 0;width: 100%;height: 100%;background: rgba(255,255,255,1);z-index: 9998;display:block",r.innerHTML='<div style="margin-top:25px; text-align:center"><label>Sign Out : </label><input type="checkbox" id ="markSignOut" role="button"/> <button id="signout_button" class="fr-trim-button" >Save </button> <button id="cancel_file_edit" class="fr-trim-button">Cancel</button></div> <iframe title="Edit your file" frameBorder="0" width="100%" height="700px" src="'+t+'"></iframe>',n.appendChild(r),document.getElementById("signout_button").onclick=a,document.getElementById("cancel_file_edit").onclick=l}function l(){document.getElementById("markSignOut").checked&&gapi.auth2.getAuthInstance().signOut().then(function(){gapi.auth.getToken()&&(gapi.auth.getToken().access_token=undefined)});var e=document.getElementById("editDocContainer");e.parentNode.removeChild(e),document.getElementById("user_area-".concat(p.fileIndex))&&(document.getElementById("user_area-".concat(p.fileIndex)).style.display="none"),function r(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),n=0;n<t.length;n++)t[n].removeAttribute("disabled"),t[n].classList.remove("fr-disabled")}(p.fileIndex)}p.events.onInvalidFile=p.events.onInvalidFile||function(e){},p.events.onError=p.events.onError||function(e){};var c={};return c.handleClientLoad=function(){gapi.load("client:auth2",n)},c}(a),function o(e,t){var r=function r(e,t){var n=document.createElement("script");n.src=e,n.onload=function(){this.onload=function(){},ce.handleClientLoad()},n.onreadystatechange=function(){"complete"===this.readyState&&this.onload()},(document.getElementsByTagName("head")[0]||document.body).appendChild(n)};!function n(){0!=e.length?r(e.shift(),n):t&&t()}()}(["path_to_url"],function(){})}t&&(p=!0)}function ke(e){if(""!=e.type)return e.type;var n,r=/(?:\.([^.]+))?$/.exec(e.name)[1];return[[".doc","application/msword"],[".docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],[".gif","image/gif"],[".jpeg","image/jpeg"],[".jpg","image/jpeg"],[".txt","text/plain"],[".log","type/text"],[".mov","video/quicktime"],[".mp3","audio/mpeg"],[".mp4","video/mp4"],[".ogg","audio/ogg"],[".ogv","video/ogg"],[".pdf","application/pdf"],[".png","image/png"],[".webm","video/webm"],[".webp","image/webp"],[".wmv","video/x-ms-wmv"],[".xls","application/vnd.ms-excel"],[".xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],[".zip","application/x-zip-compressed"]].forEach(function(e,t){e[0]==".".concat(r)&&(n=e[1])}),n}function xe(s,e){if(He(ke(x.get(s)))||!Pe(ke(x.get(s)))){var t=x.get(s).link,n=x.get(s).text;!n&&k.get(s)&&k.get(s).name&&(n=k.get(s).name);var r=x.get(s).response;if(A.edit.on(),A.events.focus(!0),A.selection.restore(),A.opts.fileUseSelectedText&&A.selection.text().length&&(n=A.selection.text()),t.endsWith(".pdf")||t.endsWith(".txt"))Re('<iframe src="'.concat(t,'" title="').concat(n,'" width="\u201d100%\u201d" height="\u201d100%\u201d" class="fr-file"></iframe>'),!0);else A.html.insert('<a href="'.concat(t,'" target="_blank" id="fr-inserted-file" class="fr-file">').concat(n,"</a>"));var a=A.$el.find("#fr-inserted-file");a.removeAttr("id"),A.undo.saveStep(),function L(){var e,t=Array.prototype.slice.call(A.el.querySelectorAll("a.fr-file")),n=[];for(e=0;e<t.length;e++)n.push(t[e].getAttribute("href"));if(le)for(e=0;e<le.length;e++)n.indexOf(le[e].getAttribute("href"))<0&&A.events.trigger("file.unlink",[le[e]]);le=t}(),A.selection.clear(),A.selection.setAfter(a),A.events.trigger("file.inserted",[a,r]),Te(e)}if(Be(ke(x.get(s)))&&Pe(ke(x.get(s)))){var i=x.get(s).link,o=x.get(s).sanitize,l=x.get(s).data,c=x.get(s).$existing_img,d=x.get(s).response;c&&"string"==typeof c&&(c=A.$(c)),A.edit.off(),ee(A.language.translate("Loading image")),o&&(i=A.helpers.sanitizeURL(i));var f=new Image;f.onload=function(){var e,t;if(c){A.undo.canDo()||c.hasClass("fr-uploading")||A.undo.saveStep();var n=c.data("fr-old-src");c.data("fr-image-pasted")&&(n=null),A.$wp?((e=c.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),n&&c.attr("src",n),c.replaceWith(e)):e=c;for(var r=e.get(0).attributes,a=0;a<r.length;a++){var o=r[a];0===o.nodeName.indexOf("data-")&&e.removeAttr(o.nodeName)}if(void 0!==l)for(t in l)l.hasOwnProperty(t)&&"link"!=t&&e.attr("data-".concat(t),l[t]);e.on("load",we),e.attr("src",i),A.edit.on(),A.undo.saveStep(),A.events.disableBlur(),A.$el.blur(),A.events.trigger(n?"image.replaced":"image.inserted",[e,d])}else e=function s(e,t,n){var r,a=S(document.createElement("img")).attr("src",e);if(t&&void 0!==t)for(r in t)t.hasOwnProperty(r)&&"link"!=r&&(" data-".concat(r,'="').concat(t[r],'"'),a.attr("data-".concat(r),t[r]));var o=A.opts.imageDefaultWidth;o&&"auto"!=o&&(o=A.opts.imageResizeWithPercent?"100%":"".concat(o,"px"));a.attr("style",o?"width: ".concat(o,";"):""),st(a,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),a.on("load",n),a.on("error",n),A.edit.on(),A.events.focus(!0),A.selection.restore(),A.undo.saveStep(),A.opts.imageSplitHTML?A.markers.split():A.markers.insert();A.html.wrap();var i=A.$el.find(".fr-marker");i.length?(i.parent().is("hr")&&i.parent().after(i),A.node.isLastSibling(i)&&i.parent().hasClass("fr-deletable")&&i.insertAfter(i.parent()),i.replaceWith(a)):A.$el.append(a);return a}(i,l,we),A.undo.saveStep(),A.events.disableBlur(),A.$el.blur(),A.events.trigger("image.inserted",[e,d])},f.onerror=function(){j(N,null,null,s),Te(e)},f.src=i}if(($e(ke(x.get(s)))||Fe(ke(x.get(s))))&&Pe(ke(x.get(s))))if(T=s,"video/url"==ke(x.get(s))){var p=!1;if(document.getElementById("fr-file-autoplay-button-"+s)!==undefined&&(p=document.getElementById("fr-file-autoplay-button-"+s).checked),p&&x.get(s)!==undefined&&-1<x.get(s).video.indexOf("iframe")&&x.get(s).video.indexOf("autoplay=1")<0){var u=x.get(s).video.substring(x.get(s).video.indexOf("src")+3),h="&";(u=(u=u.substring(u.indexOf('"')+1)).substring(0,u.indexOf('"'))).indexOf("?")<0&&(h="?"),x.get(s).video=x.get(s).video.replace(u,u+=h+"autoplay=1")}else!p&&x.get(s).video.indexOf(!1)&&(-1<x.get(s).video.indexOf("&autoplay=1")&&(x.get(s).video=x.get(s).video.replace("&autoplay=1","")),-1<x.get(s).video.indexOf("?autoplay=1")&&(x.get(s).video=x.get(s).video.replace("?autoplay=1","")));A.events.focus(!0),A.selection.restore(),A.html.insert('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'.concat(x.get(s).video,"</span>"),!1,A.opts.videoSplitHTML),A.popups.hide("filesManager.insert");var g=A.$el.find(".fr-jiv");g.removeClass("fr-jiv"),g.toggleClass("fr-rv",A.opts.videoResponsive),function _(e,t,n){!A.opts.htmlUntouched&&A.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(g,A.opts.videoDefaultDisplay,A.opts.videoDefaultAlign),g.toggleClass("fr-draggable",A.opts.videoMove),A.events.trigger("video.inserted",[g]),we.call(g)}else{var m=x.get(s).link,v=x.get(s).sanitize,b=x.get(s).data,C=x.get(s).$existing_img,E=x.get(s).response;A.edit.off(),v&&(m=A.helpers.sanitizeURL(m)),function w(){var e,t;if(C){A.undo.canDo()||C.find("video").hasClass("fr-uploading")||A.undo.saveStep();var n=C.find("video").data("fr-old-src"),r=C.data("fr-replaced");C.data("fr-replaced",!1),A.$wp?((e=C.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&C.find("video").attr("src",n),C.replaceWith(e)):e=C;for(var a=e.find("video").get(0).attributes,o=0;o<a.length;o++){var i=a[o];0===i.nodeName.indexOf("data-")&&e.find("video").removeAttr(i.nodeName)}if(void 0!==b)for(t in b)b.hasOwnProperty(t)&&"link"!=t&&e.find("video").attr("data-".concat(t),b[t]);e.find("video").on("canplay",we),e.find("video").attr("src",m),A.edit.on(),Ae(),A.undo.saveStep(),A.$el.blur(),A.events.trigger(r?"video.replaced":"video.inserted",[e,E])}else e=function u(e,t,n,r,a){var o,i="";if(t&&void 0!==t)for(o in t)t.hasOwnProperty(o)&&"link"!=o&&(i+=" data-".concat(o,'="').concat(t[o],'"'));var s,l=A.opts.videoDefaultWidth;l&&"auto"!=l&&(l="".concat(l,"px"));if(Fe(r))s=S(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+A.opts.videoDefaultDisplay[0]+("center"!=A.opts.videoDefaultAlign?" fr-fv"+A.opts.videoDefaultAlign[0]:"")).html('<audio src="'+e+'" '+i+" controls>"+A.language.translate("Your browser does not support HTML5 video.")+"</audio>");else{var c="",d=document.getElementById("fr-file-autoplay-button-"+a).checked;d&&(c="autoplay"),s=S(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+A.opts.videoDefaultDisplay[0]+("center"!=A.opts.videoDefaultAlign?" fr-fv"+A.opts.videoDefaultAlign[0]:"")).html('<video src="'+e+'" '+i+(l?' style="width: '+l+';" ':"")+c+" controls>"+A.language.translate("Your browser does not support HTML5 video.")+"</video>")}s.toggleClass("fr-draggable",A.opts.videoMove),A.edit.on(),A.events.focus(!0),A.selection.restore(),A.undo.saveStep(),A.opts.videoSplitHTML?A.markers.split():A.markers.insert();A.html.wrap();var f=A.$el.find(".fr-marker");A.node.isLastSibling(f)&&f.parent().hasClass("fr-deletable")&&f.insertAfter(f.parent());f.replaceWith(s);var p="";p=Fe(r)?"audio":"video",s.find(p).get(0).readyState>s.find(p).get(0).HAVE_FUTURE_DATA||A.helpers.isIOS()?n.call(s.find(p).get(0)):(s.find(p).on("canplaythrough load",n),s.find(p).on("error",n));return s}(m,b,we,ke(x.get(s)),s),Ae(),A.undo.saveStep(),A.events.trigger("video.inserted",[e,E])}()}A.popups.hide("filesManager.insert"),R["delete"](s);var y=A.popups.get("filesManager.insert");y.find("input.fr-insert-attr.fr-checkbox-file-".concat(s))[0].checked=!1,y.find(".fr-file-"+s).get(0).classList.add("fr-unchecked"),q(),document.getElementById("fr-file-autoplay-button-"+s)&&(document.getElementById("fr-file-autoplay-button-"+s).checked=!1),O=O.filter(function(e){return e!=s})}function Re(e,t){var n,r;xt.VIDEO_EMBED_REGEX.test(e)?(n="video",r=A.opts.videoSplitHTML):xt.IMAGE_EMBED_REGEX.test(e)&&(n="image",r=A.opts.imageSplitHTML),A.events.focus(!0),A.selection.restore();var a=!1;y&&(Ze(),a=!0),A.html.insert('<span id="fr-inserted-file" contenteditable="true" draggable="true" class="fr-'.concat(n,' fr-jiv fr-deletable">').concat(e,"</span>"),!1,r),A.popups.hide("filesManager.insert");var o=A.$el.find(".fr-jiv");o.removeClass("fr-jiv"),"video"==n&&(o.toggleClass("fr-rv",A.opts.videoResponsive),function i(e,t,n){!A.opts.htmlUntouched&&A.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}(o,A.opts.videoDefaultDisplay,A.opts.videoDefaultAlign),o.toggleClass("fr-draggable",A.opts.videoMove),A.events.trigger(a?"video.replaced":"video.inserted",[o])),"image"==n&&(st(o,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),o.find("img").removeClass("fr-dii"),o.find("img").addClass("fr-dib"),o.toggleClass("fr-draggable",A.opts.imageMove),A.events.trigger(a?"image.replaced":"image.inserted",[o])),t&&(f=o,A.selection.clear(),A.toolbar.disable(),A.video._editVideo(f))}function Me(e,t){try{if(!1===A.events.trigger("filesManager.uploaded",[e],!0))return A.edit.on(),!1;var n=JSON.parse(e);return n.link?n:(j(m,e,null,t),!1)}catch(r){return j(D,e,null,t),!1}}function Oe(e,t){try{var n=S(e).find("Location").text(),r=S(e).find("Key").text();return!1===A.events.trigger("filesManager.uploadedToS3",[n,r,e],!0)?(A.edit.on(),!1):n}catch(a){return j(D,e,null,t),!1}}function Ne(e,t,n,r){if(-1<F.indexOf(ke(e))||!ke(e))return j(H,null,null,r),!1;if(!1===A.events.trigger("filesManager.beforeUpload",[t]))return!1;if(!(null!==A.opts.filesManagerUploadURL&&A.opts.filesManagerUploadURL!=L||A.opts.filesManagerUploadToS3||A.opts.filesManagerUploadToAzure))return function C(s,l,c){var d=new FileReader;d.onload=function(){var e=d.result;if(d.result.indexOf("svg+xml")<0){for(var t=atob(d.result.split(",")[1]),n=[],r=0;r<t.length;r++)n.push(t.charCodeAt(r));if(e=window.URL.createObjectURL(new Blob([new Uint8Array(n)],{type:ke(l)})),Be(ke(l))){var a={link:e,sanitize:!1,data:null,$existing_img:c,response:null,type:ke(l)};x.set(s,a)}if(He(ke(l))){var o={link:e,text:l.name,response:null,type:ke(l)};x.set(s,o)}if($e(ke(l))||Fe(ke(l))){var i={link:e,sanitize:!1,data:null,$existing_img:c,type:ke(l)};x.set(s,i)}}},d.readAsDataURL(l)}(r,e),!1;if(Be(ke(e))&&(e.name||(e.name=(new Date).getTime()+"."+(ke(e)||"image/jpeg").replace(/image\//g,""))),e.size>A.opts.filesManagerMaxSize)return j(B,null,null,r),!1;if(A.opts.filesManagerAllowedTypes.indexOf("*")<0&&A.opts.filesManagerAllowedTypes.indexOf(ke(e))<0)return j(H,null,null,r),!1;var a;if(function E(e){isNaN(e)||(A.popups.get("filesManager.insert").find(".fr-file-item-right-"+e).get(0).innerHTML='<div class=\'fr-file-item-action-buttons\' >\n <button type="button" id="fr-file-cancel-upload-button-'.concat(e,'" class="fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n fr-file-button-').concat(e,' fr-file-cancel-upload-button" data-cmd="cancelUpload" data-title="Cancel" data-param1="').concat(e,'" role="button">\n <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-2 3 30 30" xlmns = "path_to_url"><path d = \'M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z\'></path></svg>\n </button>\n\n <button type="button" id="fr-upload-delete-button-').concat(e,'" class="fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n fr-file-button-').concat(e,' fr-upload-delete-button" data-cmd="deleteUpload" data-title="Delete" data-param1="').concat(e,'" role="button">\n <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-2 3 30 30" xlmns = "path_to_url"><path d = \'M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z\'></path></svg>\n </button>\n\n <div class=\'progress-circle p0 fr-file-progress-circle-').concat(e,"'>\n <span class='fr-file-upload-percent-").concat(e," fr-file-upload-percent'>0%</span>\n <div class='left-half-clipper'>\n <div class='first50-bar'></div>\n <div class='value-bar'></div>\n </div>\n </div>\n </div>"),w.set(e,0))}(r),A.drag_support.formdata&&(a=A.drag_support.formdata?new FormData:null),a){var o;if(!1!==A.opts.filesManagerUploadToS3)for(o in a.append("key",A.opts.filesManagerUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),a.append("success_action_status","201"),a.append("X-Requested-With","xhr"),a.append("Content-Type",ke(e)),A.opts.filesManagerUploadToS3.params)A.opts.filesManagerUploadToS3.params.hasOwnProperty(o)&&a.append(o,A.opts.filesManagerUploadToS3.params[o]);for(o in A.opts.filesManagerUploadParams)A.opts.filesManagerUploadParams.hasOwnProperty(o)&&a.append(o,A.opts.filesManagerUploadParams[o]);a.append(A.opts.filesManagerUploadParam,e,e.name);var i,s,l=A.opts.filesManagerUploadURL;A.opts.filesManagerUploadToS3&&(l=A.opts.filesManagerUploadToS3.uploadURL?A.opts.filesManagerUploadToS3.uploadURL:"https://".concat(A.opts.filesManagerUploadToS3.region,".amazonaws.com/").concat(A.opts.filesManagerUploadToS3.bucket)),A.opts.filesManagerUploadToAzure&&(l=A.opts.filesManagerUploadToAzure.uploadURL?"".concat(A.opts.filesManagerUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(A.opts.filesManagerUploadToAzure.account,".blob.core.windows.net/").concat(A.opts.filesManagerUploadToAzure.container,"/").concat(e.name)),i=l,A.opts.filesManagerUploadToAzure.SASToken&&(l+=A.opts.filesManagerUploadToAzure.SASToken),A.opts.filesManagerUploadMethod="PUT");var c=A.core.getXHR(l,A.opts.filesManagerUploadMethod);if(A.opts.filesManagerUploadToAzure){var d=(new Date).toUTCString();if(!A.opts.filesManagerUploadToAzure.SASToken&&A.opts.filesManagerUploadToAzure.accessKey){var f=A.opts.filesManagerUploadToAzure.account,p=A.opts.filesManagerUploadToAzure.container;if(A.opts.filesManagerUploadToAzure.uploadURL){var u=A.opts.filesManagerUploadToAzure.uploadURL.split("/");p=u.pop(),f=u.pop().split(".")[0]}var h="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(d,"\nx-ms-version:2019-07-07"),g=encodeURI("/"+f+"/"+p+"/"+e.name),m=A.opts.filesManagerUploadMethod+"\n\n\n"+e.size+"\n\n"+ke(e)+"\n\n\n\n\n\n\n"+h+"\n"+g,v=A.cryptoJSPlugin.cryptoJS.HmacSHA256(m,A.cryptoJSPlugin.cryptoJS.enc.Base64.parse(A.opts.filesManagerUploadToAzure.accessKey)).toString(A.cryptoJSPlugin.cryptoJS.enc.Base64),b="SharedKey "+f+":"+v;s=v,c.setRequestHeader("Authorization",b)}for(o in c.setRequestHeader("x-ms-version","2019-07-07"),c.setRequestHeader("x-ms-date",d),c.setRequestHeader("Content-Type",ke(e)),c.setRequestHeader("x-ms-blob-type","BlockBlob"),A.opts.filesManagerUploadParams)A.opts.filesManagerUploadParams.hasOwnProperty(o)&&c.setRequestHeader(o,A.opts.filesManagerUploadParams[o]);for(o in A.opts.filesManagerUploadToAzure.params)A.opts.filesManagerUploadToAzure.params.hasOwnProperty(o)&&c.setRequestHeader(o,A.opts.filesManagerUploadToAzure.params[o])}c.onload=function(){He(ke(e))?function h(e,t,n,r,a){var o=this.status,i=this.response,s=this.responseXML,l=this.responseText;try{if(A.opts.filesManagerUploadToS3||A.opts.filesManagerUploadToAzure)if(201===o){var c;if(A.opts.filesManagerUploadToAzure){if(!1===A.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,i],!0))return A.edit.on(),!1;c=r}else c=Oe(s,t);if(c){var d={link:c,text:e,response:i,type:n};x.set(t,d)}}else j(D,i||s,null,t);else if(200<=o&&o<300){var f=Me(l,t);if(f){var p={link:f.link,text:e,response:i,type:n};x.set(t,p)}}else j(I,i||l,null,t)}catch(u){j(D,i||l,null,t)}}.call(c,e.name,r,ke(e),i,s):function g(e,t,n,r,a){var o=this.status,i=this.response,s=this.responseXML,l=this.responseText;try{if(A.opts.filesManagerUploadToS3||A.opts.filesManagerUploadToAzure)if(201==o){var c;if(A.opts.filesManagerUploadToAzure){if(!1===A.events.trigger("filesManager.uploadedToAzure",[this.responseURL,a,i],!0))return A.edit.on(),!1;c=r}else c=Oe(s,t);if(c){var d={link:c,sanitize:!1,data:[],$existing_img:e,response:i||s,type:n};x.set(t,d)}}else j(D,i||s,e,t);else if(200<=o&&o<300){var f=Me(l,t);if(f){var p={link:f.link,sanitize:!1,data:f,$existing_img:e,response:i||s,type:n};x.set(t,p)}}else j(I,i||l,e,t)}catch(u){j(D,i||l,e,t)}}.call(c,y,r,ke(e),i,s),M.has(r)||Ee(100,r,!0)},c.onerror=function(){j(D,this.response||this.responseText||this.responseXML,null,r)},c.upload.onprogress=function(e){!function n(e,t){e.lengthComputable&&Ee(e.loaded/e.total*100|0,t,!1)}(e,r)},c.onabort=function(e){!function n(e,t){j($,t,y,e)}(r,e)},c.send(A.opts.filesManagerUploadToAzure?e:a),_.set(r,c)}}function Ie(l){A.events.$on(l,"click",".fr-upload-progress-layer",function(e){if(A.helpers.isMobile())return e.stopPropagation(),!1},!0),A.events.$on(l,"dragover dragenter",".fr-upload-progress-layer",function(e){e.preventDefault();for(var t=0;t<e.originalEvent.dataTransfer.types.length;t++)"Files"==e.originalEvent.dataTransfer.types[t]&&(e.originalEvent.dataTransfer.dropEffect="none");return!1},!0),A.events.$on(l,"dragleave dragend",".fr-upload-progress-layer",function(e){return e.preventDefault(),!1},!0),A.events.$on(l,"dragover dragenter",".fr-files-upload-layer",function(e){return S(this).addClass("fr-drop"),(A.browser.msie||A.browser.edge)&&e.preventDefault(),!1},!0),A.events.$on(l,"dragleave dragend",".fr-files-upload-layer",function(e){return S(this).removeClass("fr-drop"),(A.browser.msie||A.browser.edge)&&e.preventDefault(),!1},!0),A.events.$on(l,"click",".fr-insert-checkbox",function(e){if(this.classList.contains("fr-checkbox-disabled"))return this.children.target.disabled=!0,void(this.children.target.checked=!1);var t=parseInt(this.id.split("-").pop());R.set(t,this.children.target.checked);for(var n=l.find('.fr-command[data-cmd="insertAll"]'),r=l.find('.fr-command[data-cmd="deleteAll"]'),a=l.find('input.fr-file-insert-check[type="checkbox"]'),o=a.length,i=!0,s=0;s<o;s++)1==a[s].checked&&(i=!1);if(i?n.addClass("fr-disabled"):n.removeClass("fr-disabled"),i?r.addClass("fr-disabled"):r.removeClass("fr-disabled"),this.children.target.checked)l.find(".fr-file-"+this.id.split("-").pop()).get(0).setAttribute("draggable","true"),l.find(".fr-file-"+this.id.split("-").pop()).get(0).classList.remove("fr-unchecked");else{this.id.split("-").pop();l.find(".fr-file-"+this.id.split("-").pop()).get(0).setAttribute("draggable","false"),l.find(".fr-file-"+this.id.split("-").pop()).get(0).classList.add("fr-unchecked")}}),A.events.$on(l,"click",".fr-file-insert-button",function(e){this.classList.contains("fr-disabled")||xe(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-file-autoplay-button",function(e){if(this.parentNode.classList.contains("fr-checkbox-disabled"))return this.disabled=!0,void(this.checked=!1);De(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-file-edit-button",function(e){var t=parseInt(this.id.split("-").pop());l.find(".fr-file-edit-button-".concat(t)).hasClass("fr-disabled")||Se(t)}),A.events.$on(l,"click",".fr-file-view-button",function(e){var t=parseInt(this.id.split("-").pop());l.find(".fr-file-view-button-".concat(t)).hasClass("fr-disabled")||function v(e){if(!Pe(ke(x.get(e)))){var t=x.get(e).link,n=x.get(e).link;if(k.get(e)&&k.get(e).name?n=k.get(e).name:x.get(e).text&&(n=x.get(e).text),0===t.indexOf("blob:")&&A.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(k.get(e),n);else{var r=document.createElement("a");r.href=t,r.download=n,r.click()}return!1}var a=A.popups.get("filesManager.insert");if(0<a.find(".fr-file-view-image-"+e).length)a.find(".fr-file-view-image-"+e)[0].remove();else{for(var o=a.find(".fr-file-view"),i=0;i<o.length;i++)o.get(i).remove();var s=a.find(".fr-file-view-"+e);if(Be(ke(x.get(e)))){var l='<div class="fr-file-view-modal">\n <div class="fr-file-view-modal-content">\n <div class="fr-file-view-close">&times;</div> \n <img src="'+x.get(e).link+"\" class ='fr-file-view-image'/>\n </div>\n </div>";s[0].innerHTML=l+s[0].innerHTML}else if($e(ke(x.get(e)))){var c;if(x.get(e).hasOwnProperty("video")){var d=x.get(e).video.substring(x.get(e).video.indexOf("src")+3),f=d.substring(d.indexOf('"')+1);f=f.substring(0,f.indexOf('"')),c='<div class="fr-file-view-modal">\n <div class="fr-file-view-modal-content ">\n <div class="fr-file-view-close">&times;</div> \n <iframe width="640" height="360" src="'.concat(f+"&autoplay=1",'" frameborder="0" class = "fr-file-view-image"></iframe>\n </div>\n </div>')}else c='<div class="fr-file-view-modal">\n <div class="fr-file-view-modal-content ">\n <div class="fr-file-view-close">&times;</div> \n <video controls src="'+x.get(e).link+"\" class ='fr-file-view-image' autoplay></video>\n </div>\n </div>";s[0].innerHTML=c+s[0].innerHTML}else if(Fe(ke(x.get(e)))){var p='<div class="fr-file-view-modal">\n <div class="fr-file-view-modal-content ">\n <div class="fr-file-view-close">&times;</div> \n <audio controls="controls" class =\'fr-file-view-image\' autoplay>\n\n <source src="'.concat(x.get(e).link,'" type="').concat(ke(x.get(e)),'" />\n\n Your browser does not support the audio element.\n </audio>\n </div>\n </div>');s[0].innerHTML=p+s[0].innerHTML}else if(He(ke(x.get(e)))){var u=x.get(e).link,h=x.get(e).text;if(u.endsWith(".pdf")||u.endsWith(".txt")){var g='<div class="fr-file-view-modal">\t\n <div class="fr-file-view-modal-content " >\t\n <div class="fr-file-view-close">&times;</div> \t\n <iframe src="'.concat(u,"\" style='background-color: white;' height='50%' width='50%' title=\"").concat(h,'" class="fr-file fr-file-view-image"></iframe>\t\n </div>\t\n </div>');s[0].innerHTML=g+s[0].innerHTML}else if(0===u.indexOf("blob:")&&A.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(k.get(e),h);else{var m=document.createElement("a");m.href=u,m.download=h,m.click()}}}}(t)}),A.events.$on(l,"click",".fr-file-delete-button",function(e){Z(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-file-cancel-upload-button",function(e){!function n(e){var t=A.popups.get("filesManager.insert");t.find(".fr-file-item-right-"+e).get(0).innerHTML=Ce(e),_.get(e).abort(),ye(e,100,!0),t.find(".fr-checkbox-file-"+e).get(0).disabled=!0}(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-upload-delete-button",function(e){!function t(e){0!=_.get(e).readyState&&(_.get(e).abort(),ye(e,100,!0),_["delete"](e)),Z(e)}(parseInt(this.id.split("-").pop()))}),A.events.$on(l,"click",".fr-file-view-close",function(e){l.find(".fr-file-view-modal").get(0).outerHTML=""}),A.events.$on(l,"click",".fr-plugins-enable",function(e){!function t(){g.forEach(function(e){A.opts.pluginsEnabled.indexOf(e)<0&&A.opts.pluginsEnabled.push(e)})}(),function n(e){for(var t in e)if(!A[t]){if(xt.PLUGINS[t]&&A.opts.pluginsEnabled.indexOf(t)<0)continue;A[t]=new e[t](A),A[t]._init&&A[t]._init()}}(xt.PLUGINS),A.popups.get("filesManager.insert").get(0).outerHTML="",Ue(),C(!0)}),A.events.$on(l,"click",".fr-plugins-cancel",function(e){A.popups.hide("filesManager.insert")}),A.events.$on(l,"drop",".fr-upload-progress",function(e){e.preventDefault(),e.stopPropagation()}),A.events.$on(l,"drop",".fr-files-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),S(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=l.data("instance")||A;n.events.disableBlur();for(var r=[],a=0;a<t.files.length;a++){var o=h;k.set(o,t.files[a]),me(o),R.set(o,!1),r.push(o),h++}for(var i=0;i<r.length;i++)n.filesManager.upload(k.get(r[i]),t.files,y,r[i]);n.events.enableBlur()}},!0),A.helpers.isIOS()&&A.events.$on(l,"touchstart",'.fr-files-upload-layer input[type="file"]',function(){S(this).trigger("click")},!0),A.events.$on(l,"change",'.fr-files-upload-layer input[type="file"]',function(){if(this.files){var e=l.data("instance")||A;e.events.disableBlur(),l.find("input:focus").blur(),e.events.enableBlur();var t=[];if("undefined"!=typeof this.files&&0<this.files.length){for(var n=0;n<this.files.length;n++){var r=h;k.set(r,this.files[n]),me(r),R.set(r,!1),++h,t.push(r)}for(var a=0;a<t.length;a++)e.filesManager.upload(k.get(t[a]),this.files,y,t[a])}}S(this).val("")},!0)}function De(t){document.getElementById("fr-file-autoplay-button-"+t).checked?O.push(t):O=O.filter(function(e){return e!=t})}function Be(e){return e&&"image"===e.split("/")[0]}function He(e){return e&&"image"!=e.split("/")[0]&&e&&"video"!=e.split("/")[0]&&e&&"audio"!=e.split("/")[0]}function $e(e){return e&&"video"===e.split("/")[0]}function Fe(e){return e&&"audio"===e.split("/")[0]}function Pe(e){if("audio/ogg"==e||"video/ogg"==e||"image/webp"==e||"video/webm"==e){if(A.browser.msie||A.browser.edge||A.browser.safari)return!1;if(A.helpers.isMobile()){if("audio/ogg"==e||"video/ogg"==e)return!1;if(!A.helpers.isAndroid()&&!A.browser.chrome)return!1}}return!0}function Ue(e){if(e)return A.popups.onRefresh("filesManager.insert",b),A.popups.onHide("filesManager.insert",P),!0;var t,n,r="";A.opts.imageUpload||-1===A.opts.filesInsertButtons.indexOf("filesUpload")||A.opts.imageInsertButtons.splice(A.opts.filesInsertButtons.indexOf("filesUpload"),1);var a=A.button.buildList(A.opts.filesInsertButtons),o=A.button.buildList(A.opts.filesInsertButtons2);""!==a&&(r='<div class="fr-buttons fr-tabs">'.concat(a,'<span class="fr-align-right">').concat(o,"</span></div>"));var i=A.opts.filesInsertButtons.indexOf("filesUpload"),s=A.opts.filesInsertButtons.indexOf("filesByURL"),l=A.opts.filesInsertButtons.indexOf("filesEmbed"),c="";0<=i&&(t=" fr-active",0<=s&&s<i&&(t=""),c='<div class="fr-files-upload-layer'.concat(t,' fr-layer " id="fr-files-upload-layer-').concat(A.id,'"><div style="display:flex"><div class="fr-upload-section"><div class = \'fr-blue-decorator\'><div class = \'fr-cloud-icon\'><svg class = "fr-svg" focusable="false" width="26px" height="26px" viewBox = "0 0 24 24" xlmns = "path_to_url"><path d = \'M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z\'></path></svg></div>Drag & Drop One or More Files<br><div class="decorated"><span> OR </span></div> Click Browse Files </div> </div><div class="fr-form"><input type="file" accept="').concat(A.opts.filesManagerAllowedTypes.join(",").toLowerCase(),'" tabIndex="-1" aria - labelledby="fr-files-upload-layer-').concat(A.id,'"role="button" multiple></div> </div></div>'));var d="";0<=l&&(t=" fr-active",(i<l&&0<=i||s<l&&0<=s)&&(t=""),d='<div class="fr-files-embed-layer fr-layer'.concat(t,'" id="fr-files-embed-layer-').concat(A.id,'"><div class="fr-input-line padding-top-15"><textarea data-gramm_editor="false" style=\'height:60px\' id="fr-files-embed-layer-text').concat(A.id,'" type="text" placeholder="').concat(A.language.translate("Embedded Code"),'" tabIndex="1" aria-required="true" rows="5"></textarea></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="insertEmbed" tabIndex="2" role="button">').concat(A.language.translate("Insert"),"</button></div></div>"));var f="";0<=s&&(t=" fr-active",0<=i&&i<s&&(t=""),f='<div class="fr-files-by-url-layer'.concat(t,' fr-layer" id="fr-files-by-url-layer-').concat(A.id,'"><div class="fr-input-line fr-by-url-padding"><input id="fr-files-by-url-layer-text-').concat(A.id,'" type="text" placeholder="http://" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="filesInsertByURL" tabIndex="2" role="button">').concat(A.language.translate("Add"),"</button></div></div>"));var p={buttons:r,upload_layer:c,by_url_layer:f,embed_layer:d,upload_progress_layer:"<div class = ' fr-margin-16 fr-upload-progress' id=\"fr-upload-progress-layer-".concat(A.id,"\" ><div class='fr-progress-bar-style'><div class='fr-progress-bar fr-none'></div></div><div id='filesList' class = 'fr-upload-progress-layer fr-layer'></div></div>"),progress_bar:'<div class="fr-files-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="filesDismissError" tabIndex="2" role="button">OK</button></div></div>'};return 1<=A.opts.imageInsertButtons.length&&(n=A.popups.create("filesManager.insert",p)),A.$wp&&A.events.$on(A.$wp,"scroll",function(){y&&A.popups.isVisible("filesManager.insert")&&replace()}),Ie(n),A.popups.setPopupDimensions(n),n}function ze(e){var t=e.split("/").pop();if(t.split(".").length<2){var n=new Date;return t+"-"+n.getDate()+"/"+(n.getMonth()+1)+"/"+n.getFullYear()}return t}function Ke(){y&&A.popups.get("image.alt").find("input").val(y.attr("alt")||"").trigger("change")}function Ve(){var e=A.popups.get("image.alt");e||(e=We()),J(),A.popups.refresh("image.alt"),A.popups.setContainer("image.alt",A.$sc);var t=ct();dt()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();A.popups.show("image.alt",n,r,t.outerHeight(),!0)}function We(e){if(e)return A.popups.onRefresh("image.alt",Ke),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(A.button.buildList(A.opts.imageAltButtons),"</div>"),alt_layer:'<div class="fr-image-alt-layer fr-layer fr-active" id="fr-image-alt-layer-'.concat(A.id,'"><div class="fr-input-line"><input id="fr-image-alt-layer-text-').concat(A.id,'" type="text" placeholder="').concat(A.language.translate("Alternative Text"),'" tabIndex="1"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetAlt" tabIndex="2" role="button">').concat(A.language.translate("Update"),"</button></div></div>")},n=A.popups.create("image.alt",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-alt",function(){y&&A.popups.isVisible("image.alt")&&Ve()}),n}function Ge(){var e=A.popups.get("image.size");if(y)if(dt()){var t=y.parent();t.get(0).style.width||(t=y.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(y.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(y.get(0).style.height).trigger("change")}function Ye(){var e=A.popups.get("image.size");e||(e=je()),J(),A.popups.refresh("image.size"),A.popups.setContainer("image.size",A.$sc);var t=ct();dt()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();A.popups.show("image.size",n,r,t.outerHeight(),!0)}function je(e){if(e)return A.popups.onRefresh("image.size",Ge),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(A.button.buildList(A.opts.imageSizeButtons),"</div>"),size_layer:'<div class="fr-image-size-layer fr-layer fr-active" id="fr-image-size-layer-'.concat(A.id,'"><div class="fr-image-group"><div class="fr-input-line"><input id="fr-image-size-layer-width-\'').concat(A.id,'" type="text" name="width" placeholder="').concat(A.language.translate("Width"),'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-image-size-layer-height').concat(A.id,'" type="text" name="height" placeholder="').concat(A.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetSize" tabIndex="2" role="button">').concat(A.language.translate("Update"),"</button></div></div>")},n=A.popups.create("image.size",t);return A.$wp&&A.events.$on(A.$wp,"scroll.image-size",function(){y&&A.popups.isVisible("image.size")&&Ye()}),n}function qe(e,t,n,r){return e.pageX=t,V.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),W.call(this,e),G.call(this,e),++r}function Ze(e){(e=e||ct())&&!1!==A.events.trigger("image.beforeRemove",[e])&&(A.popups.hideAll(),rt(!0),A.undo.canDo()||A.undo.saveStep(),e.get(0)==A.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(A.selection.setBefore(e.get(0).parentNode)||A.selection.setAfter(e.get(0).parentNode)||e.parent().after(xt.MARKERS),S(e.get(0).parentNode).remove()):(A.selection.setBefore(e.get(0))||A.selection.setAfter(e.get(0))||e.after(xt.MARKERS),e.remove()),A.html.fillEmptyBlocks(),A.selection.restore()),A.undo.saveStep())}function Xe(e){var t=e.which;if(y&&(t==xt.KEYCODE.BACKSPACE||t==xt.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),Ze(),!1;if(y&&t==xt.KEYCODE.ESC){var n=y;return rt(!0),A.selection.setAfter(n.get(0)),A.selection.restore(),e.preventDefault(),!1}if(!y||t!=xt.KEYCODE.ARROW_LEFT&&t!=xt.KEYCODE.ARROW_RIGHT)return y&&t===xt.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),rt(!0),!1):y&&t!=xt.KEYCODE.F10&&!A.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var r=y.get(0);return rt(!0),t==xt.KEYCODE.ARROW_LEFT?A.selection.setBefore(r):A.selection.setAfter(r),A.selection.restore(),e.preventDefault(),!1}function Qe(e){if(e&&"IMG"==e.tagName){if(A.node.hasClass(e,"fr-uploading")||A.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):A.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&A.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var n=e.nextSibling;n&&n.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var r=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),a=0;a<r.length;a++)Qe(r[a])}function Je(e){var t=e.target.result,n=A.opts.imageDefaultWidth;n&&"auto"!=n&&(n+=A.opts.imageResizeWithPercent?"%":"px"),A.undo.saveStep(),A.html.insert('<img data-fr-image-pasted="true" src="'.concat(t,'"').concat(n?' style="width: '.concat(n,';"'):"",">"));var r=A.$el.find('img[data-fr-image-pasted="true"]');r&&st(r,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),A.events.trigger("paste.after")}function et(e,t){var n=new FileReader;n.onload=function r(e){var t=A.opts.imageDefaultWidth;t&&"auto"!=t&&(t+=A.opts.imageResizeWithPercent?"%":"px"),A.html.insert('<img data-fr-image-pasted="true" src="'.concat(e,'"').concat(t?' style="width: '.concat(t,';"'):"",">"));var n=A.$el.find('img[data-fr-image-pasted="true"]');n&&st(n,A.opts.imageDefaultDisplay,A.opts.imageDefaultAlign),A.events.trigger("paste.after")}(t),n.readAsDataURL(e,t)}function tt(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=(e.clipboardData||window.clipboardData).getData("text/html")||"",n=(new DOMParser).parseFromString(t,"text/html").querySelector("img");if(n){if(!n)return!1;var r=n.src,a=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))a=e.clipboardData.items[0].getAsFile();else for(var o=0;o<e.clipboardData.items.length&&!(a=e.clipboardData.items[o].getAsFile());o++);if(a)return et(a,r),!1}else{var i=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))i=e.clipboardData.items[0].getAsFile();else for(var s=0;s<e.clipboardData.items.length&&!(i=e.clipboardData.items[s].getAsFile());s++);if(i)return function l(e){var t=new FileReader;t.onload=Je,t.readAsDataURL(e)}(i),!1}}}function nt(e){return e=e.replace(/<img /gi,'<img data-fr-image-pasted="true" ')}function rt(e){y&&(function t(){return at}()||!0===e)&&(A.toolbar.enable(),l&&l.removeClass("fr-active"),A.popups.hide("image.edit"),y=null,it(),c=null,d&&d.hide())}var at=!1;function ot(){at=!0}function it(){at=!1}function st(e,t,n){!A.opts.htmlUntouched&&A.opts.useClasses?(S(e[e.length-1]).removeClass("fr-fil fr-fir fr-dib fr-dii"),n&&S(e[e.length-1]).addClass("fr-fi".concat(n[0])),t&&S(e[e.length-1]).addClass("fr-di".concat(t[0]))):"inline"==t?(e.css({display:"inline-block",verticalAlign:"bottom",margin:A.opts.imageDefaultMargin}),"center"==n?e.css({"float":"none",marginBottom:"",marginTop:"",maxWidth:"calc(100% - ".concat(2*A.opts.imageDefaultMargin,"px)"),textAlign:"center"}):"left"==n?e.css({"float":"left",marginLeft:0,maxWidth:"calc(100% - ".concat(A.opts.imageDefaultMargin,"px)"),textAlign:"left"}):e.css({"float":"right",marginRight:0,maxWidth:"calc(100% - ".concat(A.opts.imageDefaultMargin,"px)"),textAlign:"right"})):"block"==t&&(e.css({display:"block","float":"none",verticalAlign:"top",margin:"".concat(A.opts.imageDefaultMargin,"px auto"),textAlign:"center"}),"left"==n?e.css({marginLeft:0,textAlign:"left"}):"right"==n&&e.css({marginRight:0,textAlign:"right"}))}function lt(){return y}function ct(){return dt()?y.parents(".fr-img-caption").first():y}function dt(){return!!y&&0<y.parents(".fr-img-caption").length}return{_init:function ft(){var r;(function e(){A.events.$on(A.$el,A._mousedown,"IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==S(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;A.helpers.isMobile()||A.selection.clear(),t=!0,A.popups.areVisible()&&A.events.disableBlur(),A.browser.msie&&(A.events.disableBlur(),A.$el.attr("contenteditable",!1)),A.draggable||"touchstart"==e.type||e.preventDefault(),e.stopPropagation()}),A.events.$on(A.$el,A._mousedown,".fr-img-caption .fr-inner",function(e){A.core.hasFocus()||A.events.focus(),e.stopPropagation()}),A.events.$on(A.$el,"paste",".fr-img-caption .fr-inner",function(e){!0===A.opts.toolbarInline&&(A.toolbar.hide(),e.stopPropagation())}),A.events.$on(A.$el,A._mouseup,"IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==S(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;t&&(t=!1,e.stopPropagation(),A.browser.msie&&(A.$el.attr("contenteditable",!0),A.events.enableBlur()))}),A.events.on("keyup",function(e){if(e.shiftKey&&""===A.selection.text().replace(/\n/g,"")&&A.keys.isArrow(e.which)){var t=A.selection.element(),n=A.selection.endElement();t&&"IMG"==t.tagName?_e(S(t)):n&&"IMG"==n.tagName&&_e(S(n))}},!0),A.events.on("window.mousedown",ot),A.events.on("window.touchmove",it),A.events.on("mouseup window.mouseup",function(){if(y)return rt(),!1;it()}),A.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&rt()}),A.events.on("image.resizeEnd",function(){A.opts.iframe&&A.size.syncIframe()}),A.events.on("blur image.hideResizer commands.undo commands.redo element.dropped",function(){rt(!(t=!1))}),A.events.on("modals.hide",function(){y&&A.selection.clear()}),A.events.on("image.resizeEnd",function(){A.win.getSelection&&_e(y)}),A.opts.imageAddNewLine&&A.events.on("image.inserted",function(e){var t=e.get(0);for(t.nextSibling&&"BR"===t.nextSibling.tagName&&(t=t.nextSibling);t&&!A.node.isElement(t);)t=A.node.isLastSibling(t)?t.parentNode:null;A.node.isElement(t)&&(A.opts.enter===xt.ENTER_BR?e.after("<br>"):S(A.node.blockParent(e.get(0))).after("<".concat(A.html.defaultTag(),"><br></").concat(A.html.defaultTag(),">")))})})(),"IMG"==A.el.tagName&&A.$el.addClass("fr-view"),A.helpers.isMobile()&&(A.events.$on(A.$el,"touchstart","IMG"==A.el.tagName?null:'img:not([contenteditable="false"])',function(){de=!1}),A.events.$on(A.$el,"touchmove",function(){de=!0})),A.$wp?(A.events.on("window.keydown keydown",Xe,!0),A.events.on("keyup",function(e){if(y&&e.which==xt.KEYCODE.ENTER)return!1},!0),A.events.$on(A.$el,"keydown",function(){var e=A.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&A.node.isLastSibling(e))&&(e=e.parentNode),A.node.hasClass(e,"fr-inner")||(A.node.hasClass(e,"fr-img-caption")||(e=S(e).parents(".fr-img-caption").get(0)),A.node.hasClass(e,"fr-img-caption")&&(A.opts.trackChangesEnabled||S(e).after(xt.INVISIBLE_SPACE+xt.MARKERS),A.selection.restore()))})):A.events.$on(A.$win,"keydown",Xe),A.events.on("toolbar.esc",function(){if(y){if(A.$wp)A.events.disableBlur(),A.events.focus();else{var e=y;rt(!0),A.selection.setAfter(e.get(0)),A.selection.restore()}return!1}},!0),A.events.on("toolbar.focusEditor",function(){if(y)return!1},!0),A.events.on("window.cut window.copy",function(e){if(y&&A.popups.isVisible("image.edit")&&!A.popups.get("image.edit").find(":focus").length){var t=ct();dt()?(t.before(xt.START_MARKER),t.after(xt.END_MARKER),A.selection.restore(),A.paste.saveCopiedText(t.get(0).outerHTML,t.text())):A.paste.saveCopiedText(y.get(0).outerHTML,y.attr("alt")),"copy"==e.type?setTimeout(function(){_e(y)}):(rt(!0),A.undo.saveStep(),setTimeout(function(){A.undo.saveStep()},0))}},!0),A.browser.msie&&A.events.on("keydown",function(e){if(!A.selection.isCollapsed()||!y)return!0;var t=e.which;t==xt.KEYCODE.C&&A.keys.ctrlKey(e)?A.events.trigger("window.copy"):t==xt.KEYCODE.X&&A.keys.ctrlKey(e)&&A.events.trigger("window.cut")}),A.events.$on(S(A.o_win),"keydown",function(e){var t=e.which;if(y&&t==xt.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),A.events.$on(A.$win,"keydown",function(e){var t=e.which;y&&y.hasClass("fr-uploading")&&t==xt.KEYCODE.ESC&&y.trigger("abortUpload")}),A.events.on("destroy",function(){y&&y.hasClass("fr-uploading")&&y.trigger("abortUpload")}),A.events.on("paste.before",tt),A.events.on("paste.beforeCleanup",nt),A.events.on("html.processGet",Qe),A.opts.imageOutputSize&&A.events.on("html.beforeGet",function(){r=A.el.querySelectorAll("img");for(var e=0;e<r.length;e++){var t=r[e].style.width||S(r[e]).width(),n=r[e].style.height||S(r[e]).height();t&&r[e].setAttribute("width","".concat(t).replace(/px/,"")),n&&r[e].setAttribute("height","".concat(n).replace(/px/,""))}}),A.opts.iframe&&A.events.on("image.loaded",A.size.syncIframe),A.events.$on(S(A.o_win),"orientationchange.image",function(){setTimeout(function(){y&&_e(y)},100)}),function a(e){if(e)return A.$wp&&A.events.$on(A.$wp,"scroll.image-edit",function(){y&&A.popups.isVisible("image.edit")&&A.events.disableBlur()}),!0;var t="";if(0<A.opts.imageEditButtons.length){var n={buttons:t+='<div class="fr-buttons"> \n '.concat(A.button.buildList(A.opts.imageEditButtons),"\n </div>")};return A.popups.create("image.edit",n)}return!1}(!0),Ue(!0),je(!0),We(!0),A.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return Ze(e),!1}),A.events.on("popups.hide.filesManager.insert",function(e){A.filesManager.minimizePopup(T)})},showInsertPopup:C,showLayer:function pt(e){var t,n,r=A.popups.get("filesManager.insert");if(y||A.opts.toolbarInline){if(y){var a=ct();dt()&&(a=a.find(".fr-img-wrap")),n=a.offset().top+a.outerHeight(),t=a.offset().left}}else{var o=A.$tb.find('.fr-command[data-cmd="insertFiles"]');t=o.offset().left,n=o.offset().top+(A.opts.toolbarBottom?10:o.outerHeight()-10)}!y&&A.opts.toolbarInline&&(n=r.offset().top-A.helpers.getPX(r.css("margin-top")),r.hasClass("fr-above")&&(n+=r.outerHeight())),r.find(".fr-layer").removeClass("fr-active"),r.find(".fr-".concat(e,"-layer")).addClass("fr-active"),r.find(".fr-upload-progress-layer").addClass("fr-active"),A.popups.show("filesManager.insert",t,n,y?y.outerHeight():0),A.accessibility.focusPopup(r)},refreshUploadButton:function ut(e){var t=A.popups.get("filesManager.insert");t&&t.find(".fr-files-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function ht(e){var t=A.popups.get("filesManager.insert");t&&t.find(".fr-files-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:Ne,insertByURL:function gt(){for(var e,t=A.popups.get("filesManager.insert").find(".fr-files-by-url-layer input"),n=t.val().trim().split(/[ ,]+/),r=[],a=0,o=0;o<n.length;o++)e=n[o],new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)&&(r[a]=n[o],a++);if(0!=r.length){if(0<t.val().trim().length&&0<r.length){var s=[],l=[],c=h,d=r.length;r.forEach(function(e,n){if(0==e.trim().length)h==c+--d&&Le(s,l);else{J(),Q(),ee(A.language.translate("Loading file(s)"));var r=e.trim(),t=function i(e){if(void 0===e)return e;var t=null;if(/^http/.test(e)||(e="https://".concat(e)),A.helpers.isURL(e))for(var n=0;n<xt.VIDEO_PROVIDERS.length;n++){var r=xt.VIDEO_PROVIDERS[n];if(r.test_regex.test(e)&&new RegExp(A.opts.videoAllowedProviders.join("|")).test(r.provider)){t=e.replace(r.url_regex,r.url_text),t=r.html.replace(/\{url\}/,t);break}}return t}(r);if(t){var a={link:r,name:r,type:"video/url",size:2,video:t};k.set(c+n,a),me(c+n),J(),Q(),ee(A.language.translate("Loading file(s)")),x.set(c+n,a),++h==c+d&&Le(s,l)}else{var o=new XMLHttpRequest;o.onload=function(){if(200==this.status){var e=new Blob([this.response],{type:this.response.type||""});e.name=ze(r),e.link=r,Be(this.response.type)?(e.sanitize=!0,e.existing_image=y):He(this.response.type)&&(e.text=ze(r)),s.push(e),l.push(c+n),k.set(c+n,e),me(c+n),(-1<F.indexOf(ke(e))||!ke(e))&&j(H,null,null,c+n)}else{var t=new Blob([this.response],{type:this.response.type||" "});t.name=ze(r),t.link=r,k.set(c+n,t),me(c+n),j(N,this.response,y,c+n)}J(),Q(),ee(A.language.translate("Loading file(s)")),++h==c+d&&Le(s,l)},o.onerror=function(){var e={link:r,name:ze(r),size:0,type:""};j(9,this.response,y,c+n);var t=h;k.set(t,e),me(t),J(),Q(),ee(A.language.translate("Loading file(s)")),++h==c+d&&Le(s,l)},o.open("GET","".concat(A.opts.imageCORSProxy,"/").concat(r),!0),o.responseType="blob",o.send()}}}),t.val(""),t.blur()}}else te(A.language.translate("Url entered is invalid. Please try again."))},insertAllFiles:function mt(){a=[];var e=A.popups.get("filesManager.insert");u=-1,f=null,e.find(".fr-insert-checkbox").toArray().forEach(function r(e,t,n){e.children.target.checked&&(a.push(parseInt(e.id.split("-").pop())),Be(x.get(parseInt(e.id.split("-").pop())).type)&&-1==u&&(u=t))}),Te(a),q()},deleteAllFiles:function e(){A.popups.get("filesManager.insert").find(".fr-insert-checkbox").toArray().forEach(function a(e,t,n){if(e.children.target.checked){var r=parseInt(e.id.split("-").pop());_.has(r)&&_["delete"](r),Z(r)}}),q()},get:lt,getEl:ct,insert:xe,showProgressBar:Q,remove:Ze,hideProgressBar:J,applyStyle:function vt(e,t,n){if(void 0===t&&(t=A.opts.imageStyles),void 0===n&&(n=A.opts.imageMultipleStyles),!y)return!1;var r=ct();if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),r.removeClass(a.join(" "))}"object"==kt(t[e])?(r.removeAttr("style"),r.css(t[e].style)):r.toggleClass(e),_e(y)},showAltPopup:Ve,showSizePopup:Ye,setAlt:function bt(e){if(y){var t=A.popups.get("image.alt");y.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),_e(y)}},setSize:function Ct(e,t){if(y){var n=A.popups.get("image.size");e=e||n.find('input[name="width"]').val()||"",t=t||n.find('input[name="height"]').val()||"";var r=/^[\d]+((px)|%)*$/g;y.removeAttr("width").removeAttr("height"),e.match(r)?y.css("width",e):y.css("width",""),t.match(r)?y.css("height",t):y.css("height",""),dt()&&(y.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(r)?y.parents(".fr-img-caption").css("width",e):y.parents(".fr-img-caption").css("width",""),t.match(r)?y.parents(".fr-img-caption").css("height",t):y.parents(".fr-img-caption").css("height","")),n&&n.find("input:focus").blur(),_e(y)}},toggleCaption:function Et(){var e;if(y&&!dt()){(e=y).parent().is("a")&&(e=y.parent());var t,n,r=y.parents("ul")&&0<y.parents("ul").length?y.parents("ul"):y.parents("ol")&&0<y.parents("ol").length?y.parents("ol"):[];if(0<r.length){var a=r.find("li").length,o=y.parents("li"),i=document.createElement("li");a-1===o.index()&&(r.append(i),i.innerHTML="&nbsp;")}e.attr("style")&&(n=-1<(t=e.attr("style").split(":")).indexOf("width")?t[t.indexOf("width")+1].replace(";",""):"");var s=A.opts.imageResizeWithPercent?(-1<n.indexOf("px")?null:n)||"100%":y.width()+"px";e.wrap('<div class="fr-img-space-wrap"><span '+(A.browser.mozilla?"":'contenteditable="false"')+'class="fr-img-caption '+y.attr("class")+'" style="'+(A.opts.useClasses?"":e.attr("style"))+'" draggable="false"></span><p class="fr-img-space-wrap2">&nbsp;</p></div>'),e.wrap('<span class="fr-img-wrap"></span>'),y.after('<span class="fr-inner"'.concat(A.browser.mozilla?"":' contenteditable="true"',">").concat(xt.START_MARKER).concat(A.language.translate("Image Caption")).concat(xt.END_MARKER,"</span>")),y.removeAttr("class").removeAttr("style").removeAttr("width"),y.parents(".fr-img-caption").css("width",s),rt(!0),A.selection.restore()}else e=ct(),y.insertAfter(e),y.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),_e(y)},refreshEmbedButton:function yt(e){var t=A.popups.get("filesManager.insert");t&&t.find(".fr-files-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},insertEmbed:function Lt(e){void 0===e&&(e=A.popups.get("filesManager.insert").find(".fr-files-embed-layer textarea").val()||""),0===e.length||!xt.VIDEO_EMBED_REGEX.test(e)&&!xt.IMAGE_EMBED_REGEX.test(e)?(te(A.language.translate("Something went wrong. Please try again.")),xt.VIDEO_EMBED_REGEX.test(e)&&A.events.trigger("video.codeError",[e])):Re(e)},hasCaption:dt,exitEdit:rt,edit:_e,cancelFileInsert:function _t(){this.file_manager_dialog_open=!1,_.forEach(function(e,t){4!=e.readyState&&(e.abort(),Z(t))});var e=A.popups.get("filesManager.insert");e.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),e.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"),o=0,_=new Map,w=new Map,X(),A.popups.hide("filesManager.insert")},minimizePopup:function wt(e){this.file_manager_dialog_open=!1,A.popups.hide("filesManager.insert"),X()},editImage:Se,saveImage:function At(e){var t=x.get(i);t.link=window.URL.createObjectURL(new Blob(e,{type:"image/png"})),x.set(i,t)},_showErrorMessage:te,_showFileErrorMessage:ne,getFileThumbnail:be,deleteFile:Z,checkAutoplay:De,checkInsertAllState:q,_disableInsertCheckbox:Y,_getFileType:ke,isChildWindowOpen:function Tt(){return p},setChildWindowState:function St(e){e!==undefined&&(p=e)},resetAllFilesCheckbox:X}},xt.DefineIcon("insertFiles",{NAME:"image",SVG_KEY:"fileManager"}),xt.RegisterShortcut(xt.KEYCODE.P,"insertFiles",null,"P"),xt.RegisterCommand("insertFiles",{title:"Insert Files",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("filesManager.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("filesManager.insert")):this.filesManager.showInsertPopup()},plugin:"filesManager"}),xt.DefineIcon("cloudIcon",{NAME:"cloudIcon",SVG_KEY:"uploadFiles"}),xt.DefineIcon("filesUpload",{NAME:"uploadFiles",SVG_KEY:"uploadFiles"}),xt.RegisterCommand("filesUpload",{title:"Upload Files",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-upload")},refresh:function(e){this.filesManager.refreshUploadButton(e)}}),xt.DefineIcon("filesByURL",{NAME:"link",SVG_KEY:"insertLink"}),xt.RegisterCommand("filesByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-by-url")},refresh:function(e){this.filesManager.refreshByURLButton(e)}}),xt.DefineIcon("filesEmbed",{NAME:"code",SVG_KEY:"codeView"}),xt.RegisterCommand("filesEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-embed")},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),xt.DefineIcon("insertAll",{NAME:"insertAll",SVG_KEY:"fileInsert"}),xt.RegisterCommand("insertAll",{title:"Insert",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.insertAllFiles()}}),xt.DefineIcon("deleteAll",{NAME:"remove",SVG_KEY:"remove"}),xt.RegisterCommand("deleteAll",{title:"Delete",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.deleteAllFiles()}}),xt.DefineIcon("cancel",{NAME:"cancel",SVG_KEY:"cancel"}),xt.RegisterCommand("cancel",{title:"Cancel",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.cancelFileInsert()},refresh:function(e){}}),xt.DefineIcon("minimize",{NAME:"minimize",SVG_KEY:"minimize"}),xt.RegisterCommand("minimize",{title:"Minimize",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.minimizePopup("image.insert",!0)},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),xt.RegisterCommand("filesInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.filesManager.insertByURL()},refresh:function(e){e.text(this.language.translate("Add"))}}),xt.RegisterCommand("imageInsertByUpload",{title:"Insert",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),xt.RegisterCommand("viewImage",{title:"View Image",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),xt.RegisterCommand("insertEmbed",{undo:!0,focus:!0,callback:function(){this.filesManager.insertEmbed(),this.popups.get("filesManager.insert").find("textarea")[0].value="",this.popups.get("filesManager.insert").find("textarea").removeClass("fr-not-empty")}}),xt.RegisterCommand("filesDismissError",{title:"OK",undo:!1,callback:function(){this.filesManager.hideProgressBar(!0)}}),xt.PLUGINS.cryptoJSPlugin=function(e){var t,d,n,r,a,o,i,f,s,l,c,p,u,h,g,v,m,b,C,E,y,L,_,w,A,T,S,k,x,R,M,O,N,I,D,B,H,$,F,P,U,z,K,V,W,G,Y,j,q,Z,X,Q,J,ee,te,ne,re,ae,oe,ie,se,le,ce,de,fe,pe,ue,he,ge,me,ve=ve||function(d,e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&"undefined"!=typeof global&&global.crypto&&(t=global.crypto),!t&&"function"==typeof require)try{t=require("crypto")}catch(g){}var r=function r(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function n(){}return function(e){var t;return n.prototype=e,t=new n,n.prototype=null,t}}(),a={},o=a.lib={},i=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},f=o.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,a=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<a;o++){var i=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=i<<24-(r+o)%4*8}else for(o=0;o<a;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=d.ceil(t/4)},clone:function e(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new f.init(t,e)}}),s=a.enc={},l=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a<n;a++){var o=t[a>>>2]>>>24-a%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new f.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a<n;a++){var o=t[a>>>2]>>>24-a%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new f.init(n,t)}},p=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=o.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t,n=this._data,r=n.words,a=n.sigBytes,o=this.blockSize,i=a/(4*o),s=(i=e?d.ceil(i):d.max((0|i)-this._minBufferSize,0))*o,l=d.min(4*s,a);if(s){for(var c=0;c<s;c+=o)this._doProcessBlock(r,c);t=r.splice(0,s),n.sigBytes-=l}return new f.init(t,l)},clone:function e(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=(o.Hasher=u.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(n){return function(e,t){return new n.init(t).finalize(e)}},_createHmacHelper:function(n){return function(e,t){return new h.HMAC.init(n,t).finalize(e)}}}),a.algo={});return a}(Math);return d=(t=ve).lib.WordArray,t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var a=[],o=0;o<n;o+=3)for(var i=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)a.push(r.charAt(i>>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var a=0;a<n.length;a++)r[n.charCodeAt(a)]=a}var o=n.charAt(64);if(o){var i=e.indexOf(o);-1!==i&&(t=i)}return function c(e,t,n){for(var r=[],a=0,o=0;o<t;o++)if(o%4){var i=n[e.charCodeAt(o-1)]<<o%4*2,s=n[e.charCodeAt(o)]>>>6-o%4*2,l=i|s;r[a>>>2]|=l<<24-a%4*8,a++}return d.create(r,a)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(d){var e=ve,t=e.lib,n=t.WordArray,r=t.Hasher,a=e.algo,T=[];!function(){for(var e=0;e<64;e++)T[e]=4294967296*d.abs(d.sin(e+1))|0}();var o=a.MD5=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,a=e[r];e[r]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var o=this._hash.words,i=e[t+0],s=e[t+1],l=e[t+2],c=e[t+3],d=e[t+4],f=e[t+5],p=e[t+6],u=e[t+7],h=e[t+8],g=e[t+9],m=e[t+10],v=e[t+11],b=e[t+12],C=e[t+13],E=e[t+14],y=e[t+15],L=o[0],_=o[1],w=o[2],A=o[3];_=R(_=R(_=R(_=R(_=x(_=x(_=x(_=x(_=k(_=k(_=k(_=k(_=S(_=S(_=S(_=S(_,w=S(w,A=S(A,L=S(L,_,w,A,i,7,T[0]),_,w,s,12,T[1]),L,_,l,17,T[2]),A,L,c,22,T[3]),w=S(w,A=S(A,L=S(L,_,w,A,d,7,T[4]),_,w,f,12,T[5]),L,_,p,17,T[6]),A,L,u,22,T[7]),w=S(w,A=S(A,L=S(L,_,w,A,h,7,T[8]),_,w,g,12,T[9]),L,_,m,17,T[10]),A,L,v,22,T[11]),w=S(w,A=S(A,L=S(L,_,w,A,b,7,T[12]),_,w,C,12,T[13]),L,_,E,17,T[14]),A,L,y,22,T[15]),w=k(w,A=k(A,L=k(L,_,w,A,s,5,T[16]),_,w,p,9,T[17]),L,_,v,14,T[18]),A,L,i,20,T[19]),w=k(w,A=k(A,L=k(L,_,w,A,f,5,T[20]),_,w,m,9,T[21]),L,_,y,14,T[22]),A,L,d,20,T[23]),w=k(w,A=k(A,L=k(L,_,w,A,g,5,T[24]),_,w,E,9,T[25]),L,_,c,14,T[26]),A,L,h,20,T[27]),w=k(w,A=k(A,L=k(L,_,w,A,C,5,T[28]),_,w,l,9,T[29]),L,_,u,14,T[30]),A,L,b,20,T[31]),w=x(w,A=x(A,L=x(L,_,w,A,f,4,T[32]),_,w,h,11,T[33]),L,_,v,16,T[34]),A,L,E,23,T[35]),w=x(w,A=x(A,L=x(L,_,w,A,s,4,T[36]),_,w,d,11,T[37]),L,_,u,16,T[38]),A,L,m,23,T[39]),w=x(w,A=x(A,L=x(L,_,w,A,C,4,T[40]),_,w,i,11,T[41]),L,_,c,16,T[42]),A,L,p,23,T[43]),w=x(w,A=x(A,L=x(L,_,w,A,g,4,T[44]),_,w,b,11,T[45]),L,_,y,16,T[46]),A,L,l,23,T[47]),w=R(w,A=R(A,L=R(L,_,w,A,i,6,T[48]),_,w,u,10,T[49]),L,_,E,15,T[50]),A,L,f,21,T[51]),w=R(w,A=R(A,L=R(L,_,w,A,b,6,T[52]),_,w,c,10,T[53]),L,_,m,15,T[54]),A,L,s,21,T[55]),w=R(w,A=R(A,L=R(L,_,w,A,h,6,T[56]),_,w,y,10,T[57]),L,_,p,15,T[58]),A,L,C,21,T[59]),w=R(w,A=R(A,L=R(L,_,w,A,d,6,T[60]),_,w,v,10,T[61]),L,_,l,15,T[62]),A,L,g,21,T[63]),o[0]=o[0]+L|0,o[1]=o[1]+_|0,o[2]=o[2]+w|0,o[3]=o[3]+A|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32;var a=d.floor(n/4294967296),o=n;t[15+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,s=i.words,l=0;l<4;l++){var c=s[l];s[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return i},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function S(e,t,n,r,a,o,i){var s=e+(t&n|~t&r)+a+i;return(s<<o|s>>>32-o)+t}function k(e,t,n,r,a,o,i){var s=e+(t&r|n&~r)+a+i;return(s<<o|s>>>32-o)+t}function x(e,t,n,r,a,o,i){var s=e+(t^n^r)+a+i;return(s<<o|s>>>32-o)+t}function R(e,t,n,r,a,o,i){var s=e+(n^(t|~r))+a+i;return(s<<o|s>>>32-o)+t}e.MD5=r._createHelper(o),e.HmacMD5=r._createHmacHelper(o)}(Math),r=(n=ve).lib,a=r.WordArray,o=r.Hasher,i=n.algo,f=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=0;l<80;l++){if(l<16)f[l]=0|e[t+l];else{var c=f[l-3]^f[l-8]^f[l-14]^f[l-16];f[l]=c<<1|c>>>31}var d=(r<<5|r>>>27)+s+f[l];d+=l<20?1518500249+(a&o|~a&i):l<40?1859775393+(a^o^i):l<60?(a&o|a&i|o&i)-1894007588:(a^o^i)-899497514,s=i,i=o,o=a<<30|a>>>2,a=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=o._createHelper(s),n.HmacSHA1=o._createHmacHelper(s),function(a){var e=ve,t=e.lib,n=t.WordArray,r=t.Hasher,o=e.algo,i=[],C=[];!function(){function e(e){for(var t=a.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,r=0;r<64;)e(n)&&(r<8&&(i[r]=t(a.pow(n,.5))),C[r]=t(a.pow(n,1/3)),r++),n++}();var E=[],s=o.SHA256=r.extend({_doReset:function(){this._hash=new n.init(i.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],d=n[7],f=0;f<64;f++){if(f<16)E[f]=0|e[t+f];else{var p=E[f-15],u=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,h=E[f-2],g=(h<<15|h>>>17)^(h<<13|h>>>19)^h>>>10;E[f]=u+E[f-7]+g+E[f-16]}var m=r&a^r&o^a&o,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&c)+C[f]+E[f];d=c,c=l,l=s,s=i+b|0,i=o,o=a,a=r,r=b+(v+m)|0}n[0]=n[0]+r|0,n[1]=n[1]+a|0,n[2]=n[2]+o|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+c|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=a.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function e(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=r._createHelper(s),e.HmacSHA256=r._createHmacHelper(s)}(Math),function(){var e=ve,a=e.lib.WordArray,t=e.enc;t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a<n;a+=2){var o=t[a>>>2]>>>16-a%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>1]|=e.charCodeAt(r)<<16-r%2*16;return a.create(n,2*t)}};function i(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a<n;a+=2){var o=i(t[a>>>2]>>>16-a%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>1]|=i(e.charCodeAt(r)<<16-r%2*16);return a.create(n,2*t)}}}(),function(){if("function"==typeof ArrayBuffer){var e=ve.lib.WordArray,a=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r<t;r++)n[r>>>2]|=e[r]<<24-r%4*8;a.call(this,n,t)}else a.apply(this,arguments)}).prototype=e}}(),function(e){var t=ve,n=t.lib,r=n.WordArray,a=n.Hasher,o=t.algo,_=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),w=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),A=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),T=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),S=r.create([0,1518500249,1859775393,2400959708,2840853838]),k=r.create([1352829926,1548603684,1836072691,2053994217,0]),i=o.RIPEMD160=a.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,a=e[r];e[r]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var o,i,s,l,c,d,f,p,u,h,g,m=this._hash.words,v=S.words,b=k.words,C=_.words,E=w.words,y=A.words,L=T.words;d=o=m[0],f=i=m[1],p=s=m[2],u=l=m[3],h=c=m[4];for(n=0;n<80;n+=1)g=o+e[t+C[n]]|0,g+=n<16?x(i,s,l)+v[0]:n<32?R(i,s,l)+v[1]:n<48?M(i,s,l)+v[2]:n<64?O(i,s,l)+v[3]:N(i,s,l)+v[4],g=(g=I(g|=0,y[n]))+c|0,o=c,c=l,l=I(s,10),s=i,i=g,g=d+e[t+E[n]]|0,g+=n<16?N(f,p,u)+b[0]:n<32?O(f,p,u)+b[1]:n<48?M(f,p,u)+b[2]:n<64?R(f,p,u)+b[3]:x(f,p,u)+b[4],g=(g=I(g|=0,L[n]))+h|0,d=h,h=u,u=I(p,10),p=f,f=g;g=m[1]+s+u|0,m[1]=m[2]+l+h|0,m[2]=m[3]+c+d|0,m[3]=m[4]+o+f|0,m[4]=m[0]+i+p|0,m[0]=g},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var a=this._hash,o=a.words,i=0;i<5;i++){var s=o[i];o[i]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return a},clone:function e(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function x(e,t,n){return e^t^n}function R(e,t,n){return e&t|~e&n}function M(e,t,n){return(e|~t)^n}function O(e,t,n){return e&n|t&~n}function N(e,t,n){return e^(t|~n)}function I(e,t){return e<<t|e>>>32-t}t.RIPEMD160=a._createHelper(i),t.HmacRIPEMD160=a._createHmacHelper(i)}(Math),c=(l=ve).lib.Base,p=l.enc.Utf8,l.algo.HMAC=c.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=p.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),i=a.words,s=o.words,l=0;l<n;l++)i[l]^=1549556828,s[l]^=909522486;a.sigBytes=o.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}}),h=(u=ve).lib,g=h.Base,v=h.WordArray,m=u.algo,b=m.SHA1,C=m.HMAC,E=m.PBKDF2=g.extend({cfg:g.extend({keySize:4,hasher:b,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=C.create(n.hasher,e),a=v.create(),o=v.create([1]),i=a.words,s=o.words,l=n.keySize,c=n.iterations;i.length<l;){var d=r.update(t).finalize(o);r.reset();for(var f=d.words,p=f.length,u=d,h=1;h<c;h++){u=r.finalize(u),r.reset();for(var g=u.words,m=0;m<p;m++)f[m]^=g[m]}a.concat(d),s[0]++}return a.sigBytes=4*l,a}}),u.PBKDF2=function(e,t,n){return E.create(n).compute(e,t)},L=(y=ve).lib,_=L.Base,w=L.WordArray,A=y.algo,T=A.MD5,S=A.EvpKDF=_.extend({cfg:_.extend({keySize:4,hasher:T,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,a=r.hasher.create(),o=w.create(),i=o.words,s=r.keySize,l=r.iterations;i.length<s;){n&&a.update(n),n=a.update(e).finalize(t),a.reset();for(var c=1;c<l;c++)n=a.finalize(n),a.reset();o.concat(n)}return o.sigBytes=4*s,o}}),y.EvpKDF=function(e,t,n){return S.create(n).compute(e,t)},x=(k=ve).lib.WordArray,R=k.algo,M=R.SHA256,O=R.SHA224=M.extend({_doReset:function(){this._hash=new x.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=M._doFinalize.call(this);return e.sigBytes-=4,e}}),k.SHA224=M._createHelper(O),k.HmacSHA224=M._createHmacHelper(O),I=(N=ve).lib,D=I.Base,B=I.WordArray,(H=N.x64={}).Word=D.extend({init:function(e,t){this.high=e,this.low=t}}),H.WordArray=D.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var a=e[r];n.push(a.high),n.push(a.low)}return B.create(n,this.sigBytes)},clone:function e(){for(var e=D.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}}),function(p){var e=ve,t=e.lib,u=t.WordArray,r=t.Hasher,d=e.x64.Word,n=e.algo,x=[],R=[],M=[];!function(){for(var e=1,t=0,n=0;n<24;n++){x[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)R[e+5*t]=t+(2*e+3*t)%5*5;for(var a=1,o=0;o<24;o++){for(var i=0,s=0,l=0;l<7;l++){if(1&a){var c=(1<<l)-1;c<32?s^=1<<c:i^=1<<c-32}128&a?a=a<<1^113:a<<=1}M[o]=d.create(i,s)}}();var O=[];!function(){for(var e=0;e<25;e++)O[e]=d.create()}();var a=n.SHA3=r.extend({cfg:r.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new d.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,a=0;a<r;a++){var o=e[t+2*a],i=e[t+2*a+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),(w=n[a]).high^=i,w.low^=o}for(var s=0;s<24;s++){for(var l=0;l<5;l++){for(var c=0,d=0,f=0;f<5;f++){c^=(w=n[l+5*f]).high,d^=w.low}var p=O[l];p.high=c,p.low=d}for(l=0;l<5;l++){var u=O[(l+4)%5],h=O[(l+1)%5],g=h.high,m=h.low;for(c=u.high^(g<<1|m>>>31),d=u.low^(m<<1|g>>>31),f=0;f<5;f++){(w=n[l+5*f]).high^=c,w.low^=d}}for(var v=1;v<25;v++){var b=(w=n[v]).high,C=w.low,E=x[v];d=E<32?(c=b<<E|C>>>32-E,C<<E|b>>>32-E):(c=C<<E-32|b>>>64-E,b<<E-32|C>>>64-E);var y=O[R[v]];y.high=c,y.low=d}var L=O[0],_=n[0];L.high=_.high,L.low=_.low;for(l=0;l<5;l++)for(f=0;f<5;f++){var w=n[v=l+5*f],A=O[v],T=O[(l+1)%5+5*f],S=O[(l+2)%5+5*f];w.high=A.high^~T.high&S.high,w.low=A.low^~T.low&S.low}w=n[0];var k=M[s];w.high^=k.high,w.low^=k.low}},_doFinalize:function(){var e=this._data,t=e.words,n=(this._nDataBytes,8*e.sigBytes),r=32*this.blockSize;t[n>>>5]|=1<<24-n%32,t[(p.ceil((n+1)/r)*r>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var a=this._state,o=this.cfg.outputLength/8,i=o/8,s=[],l=0;l<i;l++){var c=a[l],d=c.high,f=c.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),s.push(f),s.push(d)}return new u.init(s,o)},clone:function e(){for(var e=r.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});e.SHA3=r._createHelper(a),e.HmacSHA3=r._createHmacHelper(a)}(Math),function(){var e=ve,t=e.lib.Hasher,n=e.x64,r=n.Word,a=n.WordArray,o=e.algo;function i(){return r.create.apply(r,arguments)}var _e=[i(1116352408,3609767458),i(1899447441,602891725),i(3049323471,3964484399),i(3921009573,2173295548),i(961987163,4081628472),i(1508970993,3053834265),i(2453635748,2937671579),i(2870763221,3664609560),i(3624381080,2734883394),i(310598401,1164996542),i(607225278,1323610764),i(1426881987,3590304994),i(1925078388,4068182383),i(2162078206,991336113),i(2614888103,633803317),i(3248222580,3479774868),i(3835390401,2666613458),i(4022224774,944711139),i(264347078,2341262773),i(604807628,2007800933),i(770255983,1495990901),i(1249150122,1856431235),i(1555081692,3175218132),i(1996064986,2198950837),i(2554220882,3999719339),i(2821834349,766784016),i(2952996808,2566594879),i(3210313671,3203337956),i(3336571891,1034457026),i(3584528711,2466948901),i(113926993,3758326383),i(338241895,168717936),i(666307205,1188179964),i(773529912,1546045734),i(1294757372,1522805485),i(1396182291,2643833823),i(1695183700,2343527390),i(1986661051,1014477480),i(2177026350,1206759142),i(2456956037,344077627),i(2730485921,1290863460),i(2820302411,3158454273),i(3259730800,3505952657),i(3345764771,106217008),i(3516065817,3606008344),i(3600352804,1432725776),i(4094571909,1467031594),i(275423344,851169720),i(430227734,3100823752),i(506948616,1363258195),i(659060556,3750685593),i(883997877,3785050280),i(958139571,3318307427),i(1322822218,3812723403),i(1537002063,2003034995),i(1747873779,3602036899),i(1955562222,1575990012),i(2024104815,1125592928),i(2227730452,2716904306),i(2361852424,442776044),i(2428436474,593698344),i(2756734187,3733110249),i(3204031479,2999351573),i(3329325298,3815920427),i(3391569614,3928383900),i(3515267271,566280711),i(3940187606,3454069534),i(4118630271,4000239992),i(116418474,1914138554),i(174292421,2731055270),i(289380356,3203993006),i(460393269,320620315),i(685471733,587496836),i(852142971,1086792851),i(1017036298,365543100),i(1126000580,2618297676),i(1288033470,3409855158),i(1501505948,4234509866),i(1607167915,987167468),i(1816402316,1246189591)],we=[];!function(){for(var e=0;e<80;e++)we[e]=i()}();var s=o.SHA512=t.extend({_doReset:function(){this._hash=new a.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],a=n[1],o=n[2],i=n[3],s=n[4],l=n[5],c=n[6],d=n[7],f=r.high,p=r.low,u=a.high,h=a.low,g=o.high,m=o.low,v=i.high,b=i.low,C=s.high,E=s.low,y=l.high,L=l.low,_=c.high,w=c.low,A=d.high,T=d.low,S=f,k=p,x=u,R=h,M=g,O=m,N=v,I=b,D=C,B=E,H=y,$=L,F=_,P=w,U=A,z=T,K=0;K<80;K++){var V,W,G=we[K];if(K<16)W=G.high=0|e[t+2*K],V=G.low=0|e[t+2*K+1];else{var Y=we[K-15],j=Y.high,q=Y.low,Z=(j>>>1|q<<31)^(j>>>8|q<<24)^j>>>7,X=(q>>>1|j<<31)^(q>>>8|j<<24)^(q>>>7|j<<25),Q=we[K-2],J=Q.high,ee=Q.low,te=(J>>>19|ee<<13)^(J<<3|ee>>>29)^J>>>6,ne=(ee>>>19|J<<13)^(ee<<3|J>>>29)^(ee>>>6|J<<26),re=we[K-7],ae=re.high,oe=re.low,ie=we[K-16],se=ie.high,le=ie.low;W=(W=(W=Z+ae+((V=X+oe)>>>0<X>>>0?1:0))+te+((V+=ne)>>>0<ne>>>0?1:0))+se+((V+=le)>>>0<le>>>0?1:0),G.high=W,G.low=V}var ce,de=D&H^~D&F,fe=B&$^~B&P,pe=S&x^S&M^x&M,ue=k&R^k&O^R&O,he=(S>>>28|k<<4)^(S<<30|k>>>2)^(S<<25|k>>>7),ge=(k>>>28|S<<4)^(k<<30|S>>>2)^(k<<25|S>>>7),me=(D>>>14|B<<18)^(D>>>18|B<<14)^(D<<23|B>>>9),ve=(B>>>14|D<<18)^(B>>>18|D<<14)^(B<<23|D>>>9),be=_e[K],Ce=be.high,Ee=be.low,ye=U+me+((ce=z+ve)>>>0<z>>>0?1:0),Le=ge+ue;U=F,z=P,F=H,P=$,H=D,$=B,D=N+(ye=(ye=(ye=ye+de+((ce=ce+fe)>>>0<fe>>>0?1:0))+Ce+((ce=ce+Ee)>>>0<Ee>>>0?1:0))+W+((ce=ce+V)>>>0<V>>>0?1:0))+((B=I+ce|0)>>>0<I>>>0?1:0)|0,N=M,I=O,M=x,O=R,x=S,R=k,S=ye+(he+pe+(Le>>>0<ge>>>0?1:0))+((k=ce+Le|0)>>>0<ce>>>0?1:0)|0}p=r.low=p+k,r.high=f+S+(p>>>0<k>>>0?1:0),h=a.low=h+R,a.high=u+x+(h>>>0<R>>>0?1:0),m=o.low=m+O,o.high=g+M+(m>>>0<O>>>0?1:0),b=i.low=b+I,i.high=v+N+(b>>>0<I>>>0?1:0),E=s.low=E+B,s.high=C+D+(E>>>0<B>>>0?1:0),L=l.low=L+$,l.high=y+H+(L>>>0<$>>>0?1:0),w=c.low=w+P,c.high=_+F+(w>>>0<P>>>0?1:0),T=d.low=T+z,d.high=A+U+(T>>>0<z>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function e(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(s),e.HmacSHA512=t._createHmacHelper(s)}(),F=($=ve).x64,P=F.Word,U=F.WordArray,z=$.algo,K=z.SHA512,V=z.SHA384=K.extend({_doReset:function(){this._hash=new U.init([new P.init(3418070365,3238371032),new P.init(1654270250,914150663),new P.init(2438529370,812702999),new P.init(355462360,4144912697),new P.init(1731405415,4290775857),new P.init(2394180231,1750603025),new P.init(3675008525,1694076839),new P.init(1203062813,3204075428)])},_doFinalize:function(){var e=K._doFinalize.call(this);return e.sigBytes-=16,e}}),$.SHA384=K._createHelper(V),$.HmacSHA384=K._createHmacHelper(V),ve.lib.Cipher||(G=(W=ve).lib,Y=G.Base,j=G.WordArray,q=G.BufferedBlockAlgorithm,(Z=W.enc).Utf8,X=Z.Base64,Q=W.algo.EvpKDF,J=G.Cipher=q.extend({cfg:Y.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){q.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function a(e){return"string"==typeof e?le:ie}return function(r){return{encrypt:function(e,t,n){return a(t).encrypt(r,e,t,n)},decrypt:function(e,t,n){return a(t).decrypt(r,e,t,n)}}}}()}),G.StreamCipher=J.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),ee=W.mode={},te=G.BlockCipherMode=Y.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),ne=ee.CBC=function(){var e=te.extend();function o(e,t,n){var r,a=this._iv;a?(r=a,this._iv=void 0):r=this._prevBlock;for(var o=0;o<n;o++)e[t+o]^=r[o]}return e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize;o.call(this,e,t,r),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+r)}}),e.Decryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=e.slice(t,t+r);n.decryptBlock(e,t),o.call(this,e,t,r),this._prevBlock=a}}),e}(),re=(W.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,a=r<<24|r<<16|r<<8|r,o=[],i=0;i<r;i+=4)o.push(a);var s=j.create(o,r);e.concat(s)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},G.BlockCipher=J.extend({cfg:J.cfg.extend({mode:ne,padding:re}),reset:function(){var e;J.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),ae=G.CipherParams=Y.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),oe=(W.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?j.create([1398893684,1701076831]).concat(n).concat(t):t).toString(X)},parse:function(e){var t,n=X.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=j.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),ae.create({ciphertext:n,salt:t})}},ie=G.SerializableCipher=Y.extend({cfg:Y.extend({format:oe}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var a=e.createEncryptor(n,r),o=a.finalize(t),i=a.cfg;return ae.create({ciphertext:o,key:n,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),se=(W.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=j.random(8));var a=Q.create({keySize:t+n}).compute(e,r),o=j.create(a.words.slice(t),4*n);return a.sigBytes=4*t,ae.create({key:a,iv:o,salt:r})}},le=G.PasswordBasedCipher=ie.extend({cfg:ie.cfg.extend({kdf:se}),encrypt:function(e,t,n,r){var a=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=a.iv;var o=ie.encrypt.call(this,e,t,a.key,r);return o.mixIn(a),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var a=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=a.iv,ie.decrypt.call(this,e,t,a.key,r)}})),ve.mode.CFB=function(){var e=ve.lib.BlockCipherMode.extend();function o(e,t,n,r){var a,o=this._iv;o?(a=o.slice(0),this._iv=undefined):a=this._prevBlock,r.encryptBlock(a,0);for(var i=0;i<n;i++)e[t+i]^=a[i]}return e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize;o.call(this,e,t,r,n),this._prevBlock=e.slice(t,t+r)}}),e.Decryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=e.slice(t,t+r);o.call(this,e,t,r,n),this._prevBlock=a}}),e}(),ve.mode.ECB=((ce=ve.lib.BlockCipherMode.extend()).Encryptor=ce.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),ce.Decryptor=ce.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),ce),ve.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,a=r-n%r,o=n+a-1;e.clamp(),e.words[o>>>2]|=a<<24-o%4*8,e.sigBytes+=a},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso10126={pad:function(e,t){var n=4*t,r=n-e.sigBytes%n;e.concat(ve.lib.WordArray.random(r-1)).concat(ve.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},ve.pad.Iso97971={pad:function(e,t){e.concat(ve.lib.WordArray.create([2147483648],1)),ve.pad.ZeroPadding.pad(e,t)},unpad:function(e){ve.pad.ZeroPadding.unpad(e),e.sigBytes--}},ve.mode.OFB=(de=ve.lib.BlockCipherMode.extend(),fe=de.Encryptor=de.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._keystream;a&&(o=this._keystream=a.slice(0),this._iv=undefined),n.encryptBlock(o,0);for(var i=0;i<r;i++)e[t+i]^=o[i]}}),de.Decryptor=fe,de),ve.pad.NoPadding={pad:function(){},unpad:function(){}},ue=(pe=ve).lib.CipherParams,he=pe.enc.Hex,pe.format.Hex={stringify:function(e){return e.ciphertext.toString(he)},parse:function(e){var t=he.parse(e);return ue.create({ciphertext:t})}},function(){var e=ve,t=e.lib.BlockCipher,n=e.algo,c=[],d=[],f=[],p=[],u=[],h=[],g=[],m=[],v=[],b=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var a=r^r<<1^r<<2^r<<3^r<<4;a=a>>>8^255&a^99,c[n]=a;var o=e[d[a]=n],i=e[o],s=e[i],l=257*e[a]^16843008*a;f[n]=l<<24|l>>>8,p[n]=l<<16|l>>>16,u[n]=l<<8|l>>>24,h[n]=l;l=16843009*s^65537*i^257*o^16843008*n;g[a]=l<<24|l>>>8,m[a]=l<<16|l>>>16,v[a]=l<<8|l>>>24,b[a]=l,n?(n=o^e[e[e[s^o]]],r^=e[e[r]]):n=r=1}}();var C=[0,1,2,4,8,16,32,64,128,27,54],r=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],o=0;o<r;o++)o<n?a[o]=t[o]:(l=a[o-1],o%n?6<n&&o%n==4&&(l=c[l>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]):(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=C[o/n|0]<<24),a[o]=a[o-n]^l);for(var i=this._invKeySchedule=[],s=0;s<r;s++){o=r-s;if(s%4)var l=a[o];else l=a[o-4];i[s]=s<4||o<=4?l:g[c[l>>>24]]^m[c[l>>>16&255]]^v[c[l>>>8&255]]^b[c[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,f,p,u,h,c)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,g,m,v,b,d);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,a,o,i,s){for(var l=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],f=e[t+2]^n[2],p=e[t+3]^n[3],u=4,h=1;h<l;h++){var g=r[c>>>24]^a[d>>>16&255]^o[f>>>8&255]^i[255&p]^n[u++],m=r[d>>>24]^a[f>>>16&255]^o[p>>>8&255]^i[255&c]^n[u++],v=r[f>>>24]^a[p>>>16&255]^o[c>>>8&255]^i[255&d]^n[u++],b=r[p>>>24]^a[c>>>16&255]^o[d>>>8&255]^i[255&f]^n[u++];c=g,d=m,f=v,p=b}g=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&p])^n[u++],m=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^n[u++],v=(s[f>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[u++],b=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^n[u++];e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=b},keySize:8});e.AES=t._createHelper(r)}(),function(){var e=ve,t=e.lib,a=t.WordArray,n=t.BlockCipher,r=e.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],d=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],p=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],o=r.DES=n.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=c[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var a=this._subKeys=[],o=0;o<16;o++){var i=a[o]=[],s=f[o];for(n=0;n<24;n++)i[n/6|0]|=t[(d[n]-1+s)%28]<<31-n%6,i[4+(n/6|0)]|=t[28+(d[n+24]-1+s)%28]<<31-n%6;i[0]=i[0]<<1|i[0]>>>31;for(n=1;n<7;n++)i[n]=i[n]>>>4*(n-1)+3;i[7]=i[7]<<5|i[7]>>>27}var l=this._invSubKeys=[];for(n=0;n<16;n++)l[n]=a[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),h.call(this,1,1431655765);for(var r=0;r<16;r++){for(var a=n[r],o=this._lBlock,i=this._rBlock,s=0,l=0;l<8;l++)s|=p[l][((i^a[l])&u[l])>>>0];this._lBlock=i,this._rBlock=o^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,h.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function g(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=n._createHelper(o);var i=r.TripleDES=n.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),r=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=o.createEncryptor(a.create(t)),this._des2=o.createEncryptor(a.create(n)),this._des3=o.createEncryptor(a.create(r))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=n._createHelper(i)}(),function(){var e=ve,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],a=0;a<256;a++)r[a]=a;a=0;for(var o=0;a<256;a++){var i=a%n,s=t[i>>>2]>>>24-i%4*8&255;o=(o+r[a]+s)%256;var l=r[a];r[a]=r[o],r[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,r=0,a=0;a<4;a++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*a}return this._i=t,this._j=n,r}e.RC4=t._createHelper(r);var o=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;0<e;e--)a.call(this)}});e.RC4Drop=t._createHelper(o)}(),ve.mode.CTRGladman=function(){var e=ve.lib.BlockCipherMode.extend();function c(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}var t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=undefined),function l(e){return 0===(e[0]=c(e[0]))&&(e[1]=c(e[1])),e}(o);var i=o.slice(0);n.encryptBlock(i,0);for(var s=0;s<r;s++)e[t+s]^=i[s]}});return e.Decryptor=t,e}(),function(){var e=ve,t=e.lib.StreamCipher,n=e.algo,a=[],l=[],c=[],r=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(n=this._b=0;n<4;n++)p.call(this);for(n=0;n<8;n++)a[n]^=r[n+4&7];if(t){var o=t.words,i=o[0],s=o[1],l=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;a[0]^=l,a[1]^=d,a[2]^=c,a[3]^=f,a[4]^=l,a[5]^=d,a[6]^=c,a[7]^=f;for(n=0;n<4;n++)p.call(this)}},_doProcessBlock:function(e,t){var n=this._X;p.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)a[r]=16711935&(a[r]<<8|a[r]>>>24)|4278255360&(a[r]<<24|a[r]>>>8),e[t+r]^=a[r]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,n=0;n<8;n++)l[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<l[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<l[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<l[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<l[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<l[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<l[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<l[6]>>>0?1:0)|0,this._b=t[7]>>>0<l[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,o=r>>>16,i=((a*a>>>17)+a*o>>>15)+o*o,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=i^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.Rabbit=t._createHelper(r)}(),ve.mode.CTR=(ge=ve.lib.BlockCipherMode.extend(),me=ge.Encryptor=ge.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=undefined);var i=o.slice(0);n.encryptBlock(i,0),o[r-1]=o[r-1]+1|0;for(var s=0;s<r;s++)e[t+s]^=i[s]}}),ge.Decryptor=me,ge),function(){var e=ve,t=e.lib.StreamCipher,n=e.algo,a=[],l=[],c=[],r=n.RabbitLegacy=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]],a=this._b=0;a<4;a++)p.call(this);for(a=0;a<8;a++)r[a]^=n[a+4&7];if(t){var o=t.words,i=o[0],s=o[1],l=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;r[0]^=l,r[1]^=d,r[2]^=c,r[3]^=f,r[4]^=l,r[5]^=d,r[6]^=c,r[7]^=f;for(a=0;a<4;a++)p.call(this)}},_doProcessBlock:function(e,t){var n=this._X;p.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)a[r]=16711935&(a[r]<<8|a[r]>>>24)|4278255360&(a[r]<<24|a[r]>>>8),e[t+r]^=a[r]},blockSize:4,ivSize:2});function p(){for(var e=this._X,t=this._C,n=0;n<8;n++)l[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<l[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<l[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<l[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<l[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<l[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<l[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<l[6]>>>0?1:0)|0,this._b=t[7]>>>0<l[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,o=r>>>16,i=((a*a>>>17)+a*o>>>15)+o*o,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=i^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}e.RabbitLegacy=t._createHelper(r)}(),ve.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;0<=n;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},{init:function be(){},cryptoJS:ve}},Object.assign(xt.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"}),xt.PLUGINS.fontFamily=function(a){var o=a.$;function i(e){var t=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return o(this).grep(t,function(e){return 0<e.length})}function s(e,t){for(var n=0;n<e.length;n++)for(var r=0;r<t.length;r++)if(e[n].toLowerCase()===t[r].toLowerCase())return[n,r];return null}function n(){var e=i(o(a.selection.element()).css("font-family")),t=[];for(var n in a.opts.fontFamily)if(a.opts.fontFamily.hasOwnProperty(n)){var r=s(e,i(n));r&&t.push([n,r])}return 0===t.length?null:(t.sort(function(e,t){var n=e[1][0]-t[1][0];return 0===n?e[1][1]-t[1][1]:n}),t[0][0])}return{apply:function t(e){a.format.applyStyle("font-family",e)},refreshOnShow:function r(e,t){t.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),t.find('.fr-command[data-param1="'.concat(n(),'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function l(e){if(a.opts.fontFamilySelection){var t=o(a.selection.element()).css("font-family").replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'|/g,"").split(",");e.find("> span").text(a.opts.fontFamily[n()]||t[0]||a.language.translate(a.opts.fontFamilyDefaultSelection))}}}},xt.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.fontFamily;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="fontFamily" data-param1="'.concat(n,'" \n style="font-family: ').concat(n,'" title="').concat(t[n],'">').concat(t[n],"</a></li>"));return e+="</ul>"},title:"Font Family",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:"fontFamily"}),xt.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"}),Object.assign(xt.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"}),xt.PLUGINS.fontSize=function(r){var a=r.$;return{apply:function t(e){r.format.applyStyle("font-size",e)},refreshOnShow:function o(e,t){var n=a(r.selection.element()).css("font-size");"pt"===r.opts.fontSizeUnit&&(n="".concat(Math.round(72*parseFloat(n,10)/96),"pt")),t.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),t.find('.fr-command[data-param1="'.concat(n,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function n(e){if(r.opts.fontSizeSelection){var t=r.helpers.getPX(a(r.selection.element()).css("font-size"));"pt"===r.opts.fontSizeUnit&&(t="".concat(Math.round(72*parseFloat(t,10)/96),"pt")),e.find("> span").text(t)}}}},xt.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(e){return e.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(e){return e.opts.fontSizeDefaultSelection},html:function(){for(var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.fontSize,n=0;n<t.length;n++){var r=t[n];e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="fontSize" data-param1="'.concat(r).concat(this.opts.fontSizeUnit,'" title="').concat(r,'">').concat(r,"</a></li>")}return e+="</ul>"},callback:function(e,t){this.fontSize.apply(t)},refresh:function(e){this.fontSize.refresh(e)},refreshOnShow:function(e,t){this.fontSize.refreshOnShow(e,t)},plugin:"fontSize"}),xt.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"}),Object.assign(xt.POPUP_TEMPLATES,{"forms.edit":"[_BUTTONS_]","forms.update":"[_BUTTONS_][_TEXT_LAYER_]"}),Object.assign(xt.DEFAULTS,{formEditButtons:["inputStyle","inputEdit"],formStyles:{"fr-rounded":"Rounded","fr-large":"Large"},formMultipleStyles:!0,formUpdateButtons:["inputBack","|"]}),xt.PLUGINS.forms=function(i){var s,l=i.$;function t(e){i.selection.clear(),l(this).data("mousedown",!0)}function n(e){l(this).data("mousedown")&&(e.stopPropagation(),l(this).removeData("mousedown"),d(s=this)),e.preventDefault()}function r(){i.$el.find("input, textarea, button").removeData("mousedown")}function a(){l(this).removeData("mousedown")}function c(){return s||null}function d(e){if(-1==["checkbox","radio"].indexOf(e.type)){var t=i.popups.get("forms.edit");t||(t=function o(){var e="";0<i.opts.formEditButtons.length&&(e='<div class="fr-buttons">'.concat(i.button.buildList(i.opts.formEditButtons),"</div>"));var t={buttons:e},n=i.popups.create("forms.edit",t);return i.$wp&&i.events.$on(i.$wp,"scroll.link-edit",function(){c()&&i.popups.isVisible("forms.edit")&&d(c())}),n}());var n=l(s=e);i.popups.refresh("forms.edit"),i.popups.setContainer("forms.edit",i.$sc);var r=n.offset().left+n.outerWidth()/2,a=n.offset().top+n.outerHeight();i.popups.show("forms.edit",r,a,n.outerHeight())}}function o(){var e=i.popups.get("forms.update"),t=c();if(t){var n=l(t);n.is("button")?e.find('input[type="text"][name="text"]').val(n.text()):n.is("input[type=button]")||n.is("input[type=submit]")||n.is("input[type=reset]")?e.find('input[type="text"][name="text"]').val(n.val()):e.find('input[type="text"][name="text"]').val(n.attr("placeholder"))}e.find('input[type="text"][name="text"]').trigger("change")}function f(){s=null}function p(e){if(e)return i.popups.onRefresh("forms.update",o),i.popups.onHide("forms.update",f),!0;var t="";1<=i.opts.formUpdateButtons.length&&(t='<div class="fr-buttons">'.concat(i.button.buildList(i.opts.formUpdateButtons),"</div>"));var n=0,r={buttons:t,text_layer:'<div class="fr-forms-text-layer fr-layer fr-active"> \n <div class="fr-input-line"><input name="text" type="text" placeholder="Text" tabIndex=" '.concat(++n,' "></div>\n <div class="fr-action-buttons"><button class="fr-command fr-submit" data-cmd="updateInput" href="#" tabIndex="').concat(2,'" type="button">').concat(i.language.translate("Update"),"</button></div></div>")};return i.popups.create("forms.update",r)}return{_init:function u(){!function e(){i.events.$on(i.$el,i._mousedown,"input, textarea, button",t),i.events.$on(i.$el,i._mouseup,"input, textarea, button",n),i.events.$on(i.$el,"touchmove","input, textarea, button",a),i.events.$on(i.$el,i._mouseup,r),i.events.$on(i.$win,i._mouseup,r),p(!0)}(),i.events.$on(i.$el,"submit","form",function(e){return e.preventDefault(),!1})},updateInput:function h(){var e=i.popups.get("forms.update"),t=c();if(t){var n=l(t),r=e.find('input[type="text"][name="text"]').val()||"";n.is("button")?r.length?n.text(r):n.text("\u200b"):-1!=["button","submit","reset"].indexOf(t.type)?n.attr("value",r):n.attr("placeholder",r),i.popups.hide("forms.update"),d(t)}},getInput:c,applyStyle:function g(e,t,n){void 0===t&&(t=i.opts.formStyles),void 0===n&&(n=i.opts.formMultipleStyles);var r=c();if(!r)return!1;if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),l(r).removeClass(a.join(" "))}l(r).toggleClass(e)},showUpdatePopup:function m(){var e=c();if(e){var t=l(e),n=i.popups.get("forms.update");n||(n=p()),i.popups.isVisible("forms.update")||i.popups.refresh("forms.update"),i.popups.setContainer("forms.update",i.$sc);var r=t.offset().left+t.outerWidth()/2,a=t.offset().top+t.outerHeight();i.popups.show("forms.update",r,a,t.outerHeight())}},showEditPopup:d,back:function v(){i.events.disableBlur(),i.selection.restore(),i.events.enableBlur();var e=c();e&&i.$wp&&("BUTTON"===e.tagName&&i.selection.restore(),d(e))}}},xt.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),xt.DefineIcon("inputStyle",{NAME:"magic",SVG_KEY:"inlineStyle"}),xt.RegisterCommand("inputStyle",{title:"Style",type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list">',t=this.opts.formStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li><a class="fr-command" tabIndex="-1" data-cmd="inputStyle" data-param1="'.concat(n,'">').concat(this.language.translate(t[n]),"</a></li>"));return e+="</ul>"},callback:function(e,t){var n=this.forms.getInput();n&&(this.forms.applyStyle(t),this.forms.showEditPopup(n))},refreshOnShow:function(e,t){var n=this.$,r=this.forms.getInput();if(r){var a=n(r);t.find(".fr-command").each(function(){var e=n(this).data("param1");n(this).toggleClass("fr-active",a.hasClass(e))})}}}),xt.DefineIcon("inputEdit",{NAME:"edit",SVG_KEY:"edit"}),xt.RegisterCommand("inputEdit",{title:"Edit Button",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),xt.DefineIcon("inputBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("inputBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),xt.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),xt.PLUGINS.fullscreen=function(a){var t,n,r,o,i=a.$,s=function s(){return a.$box.hasClass("fr-fullscreen")};function l(){if(a.helpers.isIOS()&&a.core.hasFocus())return a.$el.blur(),setTimeout(d,250),!1;t=a.helpers.scrollTop(),a.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),a.helpers.isMobile()&&(a.opts.toolbarBottom?a.$tb[0].removeAttribute("style"):(a.$tb.data("parent",a.$tb.parent()),a.$box.prepend(a.$tb),a.$tb.data("sticky-dummy")&&a.$tb.after(a.$tb.data("sticky-dummy")))),n=a.opts.height,r=a.opts.heightMax,o=a.opts.z_index,a.opts.height=a.o_win.innerHeight-(a.opts.toolbarInline?0:a.$tb.outerHeight()+(a.$second_tb?a.$second_tb.outerHeight():0)),a.opts.zIndex=2147483641,a.opts.heightMax=null,a.size.refresh(),a.opts.toolbarInline&&a.toolbar.showInline();for(var e=a.$box.parent();!e.first().is("body");)e.addClass("fr-fullscreen-wrapper"),e=e.parent();a.opts.toolbarContainer&&a.$box.prepend(a.$tb),a.events.trigger("charCounter.update"),a.events.trigger("codeView.update"),a.$win.trigger("scroll")}function c(){if(a.helpers.isIOS()&&a.core.hasFocus())return a.$el.blur(),setTimeout(d,250),!1;a.$box.toggleClass("fr-fullscreen"),i("body").first().toggleClass("fr-fullscreen"),a.$tb.data("parent")&&a.$tb.data("parent").prepend(a.$tb),a.$tb.data("sticky-dummy")&&a.$tb.after(a.$tb.data("sticky-dummy")),a.opts.height=n,a.opts.heightMax=r,a.opts.zIndex=o,a.size.refresh(),i(a.o_win).scrollTop(t),a.opts.toolbarInline&&a.toolbar.showInline(),a.events.trigger("charCounter.update"),a.opts.toolbarSticky&&a.opts.toolbarStickyOffset&&(a.opts.toolbarBottom?a.$tb.css("bottom",a.opts.toolbarStickyOffset).data("bottom",a.opts.toolbarStickyOffset):a.$tb.css("top",a.opts.toolbarStickyOffset).data("top",a.opts.toolbarStickyOffset));for(var e=a.$box.parent();!e.first().is("body");)e.removeClass("fr-fullscreen-wrapper"),e=e.parent();a.opts.toolbarContainer&&i(a.opts.toolbarContainer).append(a.$tb),i(a.o_win).trigger("scroll"),a.events.trigger("codeView.update")}function d(){s()?c():l(),f(a.$tb.find('.fr-command[data-cmd="fullscreen"]'));var e=a.$tb.find('.fr-command[data-cmd="moreText"]'),t=a.$tb.find('.fr-command[data-cmd="moreParagraph"]'),n=a.$tb.find('.fr-command[data-cmd="moreRich"]'),r=a.$tb.find('.fr-command[data-cmd="moreMisc"]');e.length&&a.refresh.moreText(e),t.length&&a.refresh.moreParagraph(t),n.length&&a.refresh.moreRich(n),r.length&&a.refresh.moreMisc(r)}function f(e){var t=s();e.toggleClass("fr-active",t).attr("aria-pressed",t),e.find("> *").not(".fr-sr-only").replaceWith(t?a.icon.create("fullscreenCompress"):a.icon.create("fullscreen"))}return{_init:function e(){if(!a.$wp)return!1;a.events.$on(i(a.o_win),"resize",function(){s()&&(c(),l())}),a.events.on("toolbar.hide",function(){if(s()&&a.helpers.isMobile())return!1}),a.events.on("position.refresh",function(){if(a.helpers.isIOS())return!s()}),a.events.on("destroy",function(){s()&&c()},!0)},toggle:d,refresh:f,isActive:s}},xt.RegisterCommand("fullscreen",{title:"Fullscreen",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:"fullscreen"}),xt.DefineIcon("fullscreen",{NAME:"expand",SVG_KEY:"fullscreen"}),xt.DefineIcon("fullscreenCompress",{NAME:"compress",SVG_KEY:"exitFullscreen"}),Object.assign(xt.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),xt.PLUGINS.help=function(s){var r,a=s.$,o="help";return{_init:function e(){},show:function l(){if(!r){var e="<h4>".concat(s.language.translate("Shortcuts"),"</h4>"),t=function i(){for(var e='<div class="fr-help-modal">',t=0;t<s.opts.helpSets.length;t++){var n=s.opts.helpSets[t],r="<table>";r+="<thead><tr><th>".concat(s.language.translate(n.title),"</th></tr></thead>"),r+="<tbody>";for(var a=0;a<n.commands.length;a++){var o=n.commands[a];r+="<tr>",r+="<td>".concat(s.language.translate(o.desc),"</td>"),r+="<td>".concat(o.val.replace("OSkey",s.helpers.isMac()?"&#8984;":"Ctrl+"),"</td>"),r+="</tr>"}e+=r+="</tbody></table>"}return e+="</div>"}(),n=s.modals.create(o,e,t);r=n.$modal,s.events.$on(a(s.o_win),"resize",function(){s.modals.resize(o)})}s.modals.show(o),s.modals.resize(o)},hide:function t(){s.modals.hide(o)}}},xt.DefineIcon("help",{NAME:"question",SVG_KEY:"help"}),xt.RegisterShortcut(xt.KEYCODE.SLASH,"help",null,"/"),xt.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1}),Object.assign(xt.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(xt.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"path_to_url",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:10485760,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),xt.PLUGINS.image=function(L){var _,l,c,d,s,n,w=L.$,A="path_to_url",t=!1,r=1,p=2,u=3,h=4,T=5,S=6,a={};function f(){var e=L.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),_&&e.val(_.attr("src")),e.trigger("change")}function o(){var e=L.popups.get("image.edit");if(e||(e=M()),e){var t=ye();Le()&&(t=t.find(".fr-img-wrap")),L.popups.setContainer("image.edit",L.$sc),L.popups.refresh("image.edit");var n=t.offset().left+t.outerWidth()/2,r=(function a(e){for(var t=0;e;){if("BODY"==e.tagName){var n=e.scrollTop||document.documentElement.scrollTop;t+=e.offsetTop-n+e.clientTop}else t+=e.offsetTop-e.scrollTop+e.clientTop;e=e.offsetParent}return{y:t}}(_[0]).y+t.outerHeight())/5;t.offset().top<0||!L.opts.height||L.helpers.isMobile()||L.opts.iframe?r=t.offset().top+t.outerHeight():Le()&&L.opts.height&&(r=t.offset().top+t.outerHeight()/4),_.hasClass("fr-uploading")?O():L.popups.show("image.edit",n,r,t.outerHeight(),!0)}}function g(){N()}function i(e){0<e.parents(".fr-img-caption").length&&(e=e.parents(".fr-img-caption").first());var t=e.hasClass("fr-dib")?"block":e.hasClass("fr-dii")?"inline":null,n=e.hasClass("fr-fil")?"left":e.hasClass("fr-fir")?"right":me(e);ge(e,t,n),e.removeClass("fr-dib fr-dii fr-fir fr-fil")}function m(){for(var e,t="IMG"==L.el.tagName?[L.el]:L.el.querySelectorAll("img"),n=0;n<t.length;n++){var r=w(t[n]);!L.opts.htmlUntouched&&L.opts.useClasses?((L.opts.imageDefaultAlign||L.opts.imageDefaultDisplay)&&(0<(e=r).parents(".fr-img-caption").length&&(e=e.parents(".fr-img-caption").first()),e.hasClass("fr-dii")||e.hasClass("fr-dib")||(e.addClass("fr-fi".concat(me(e)[0])),e.addClass("fr-di".concat(ve(e)[0])),e.css("margin",""),e.css("float",""),e.css("display",""),e.css("z-index",""),e.css("position",""),e.css("overflow",""),e.css("vertical-align",""))),L.opts.imageTextNear||(0<r.parents(".fr-img-caption").length?r.parents(".fr-img-caption").first().removeClass("fr-dii").addClass("fr-dib"):r.removeClass("fr-dii").addClass("fr-dib"))):L.opts.htmlUntouched||L.opts.useClasses||(L.opts.imageDefaultAlign||L.opts.imageDefaultDisplay)&&i(r),L.opts.iframe&&r.on("load",L.size.syncIframe)}}function v(e){void 0===e&&(e=!0);var t,n=Array.prototype.slice.call(L.el.querySelectorAll("img")),r=[];for(t=0;t<n.length;t++)if(r.push(n[t].getAttribute("src")),w(n[t]).toggleClass("fr-draggable",L.opts.imageMove),""===n[t].getAttribute("class")&&n[t].removeAttribute("class"),""===n[t].getAttribute("style")&&n[t].removeAttribute("style"),n[t].parentNode&&n[t].parentNode.parentNode&&L.node.hasClass(n[t].parentNode.parentNode,"fr-img-caption")){var a=n[t].parentNode.parentNode;L.browser.mozilla||a.setAttribute("contenteditable",!1),a.setAttribute("draggable",!1),a.classList.add("fr-draggable");var o=n[t].nextSibling;o&&!L.browser.mozilla&&o.setAttribute("contenteditable",!0)}if(s)for(t=0;t<s.length;t++)r.indexOf(s[t].getAttribute("src"))<0&&L.events.trigger("image.removed",[w(s[t])]);if(s&&e){var i=[];for(t=0;t<s.length;t++)i.push(s[t].getAttribute("src"));for(t=0;t<n.length;t++)i.indexOf(n[t].getAttribute("src"))<0&&L.events.trigger("image.loaded",[w(n[t])])}s=n}function k(){if(l||function i(){var e;L.shared.$image_resizer?(l=L.shared.$image_resizer,d=L.shared.$img_overlay,L.events.on("destroy",function(){w("body").first().append(l.removeClass("fr-active"))},!0)):(L.shared.$image_resizer=w(document.createElement("div")).attr("class","fr-image-resizer"),l=L.shared.$image_resizer,L.events.$on(l,"mousedown",function(e){e.stopPropagation()},!0),L.opts.imageResize&&(l.append(b("nw")+b("ne")+b("sw")+b("se")),L.shared.$img_overlay=w(document.createElement("div")).attr("class","fr-image-overlay"),d=L.shared.$img_overlay,e=l.get(0).ownerDocument,w(e).find("body").first().append(d)));L.events.on("shared.destroy",function(){l.html("").removeData().remove(),l=null,L.opts.imageResize&&(d.remove(),d=null)},!0),L.helpers.isMobile()||L.events.$on(w(L.o_win),"resize",function(){_&&!_.hasClass("fr-uploading")?fe(!0):_&&(k(),be(),O(!1))});if(L.opts.imageResize){e=l.get(0).ownerDocument,L.events.$on(l,L._mousedown,".fr-handler",E),L.events.$on(w(e),L._mousemove,y),L.events.$on(w(e.defaultView||e.parentWindow),L._mouseup,x),L.events.$on(d,"mouseleave",x);var r=1,a=null,o=0;L.events.on("keydown",function(e){if(_){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,n=e.which;(n!==a||200<e.timeStamp-o)&&(r=1),(n==xt.KEYCODE.EQUALS||L.browser.mozilla&&n==xt.KEYCODE.FF_EQUALS)&&t&&!e.altKey?r=ee.call(this,e,1,1,r):(n==xt.KEYCODE.HYPHEN||L.browser.mozilla&&n==xt.KEYCODE.FF_HYPHEN)&&t&&!e.altKey?r=ee.call(this,e,2,-1,r):L.keys.ctrlKey(e)||n!=xt.KEYCODE.ENTER||(_.before("<br>"),B(_)),a=n,o=e.timeStamp}},!0),L.events.on("keyup",function(){r=1})}}(),!_)return!1;var e=L.$wp||L.$sc;e.append(l),l.data("instance",L);var t=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),n=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);n-=L.helpers.getPX(e.css("border-left-width")),t-=L.helpers.getPX(e.css("border-top-width")),L.$el.is("img")&&L.$sc.is("body")&&(n=t=0);var r=ye();Le()&&(r=r.find(".fr-img-wrap"));var a=0,o=0;L.opts.iframe&&(a=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-top")),o=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-left"))),l.css("top",(L.opts.iframe?r.offset().top+a:r.offset().top+t)-1).css("left",(L.opts.iframe?r.offset().left+o:r.offset().left+n)-1).css("width",r.get(0).getBoundingClientRect().width).css("height",r.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'<div class="fr-handler fr-h'.concat(e,'"></div>')}function C(e){Le()?_.parents(".fr-img-caption").css("width",e):_.css("width",e)}function E(e){if(!L.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),L.$el.find("img.fr-error").left)return!1;L.undo.canDo()||L.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var n=L.$oel.get(0).ownerDocument,r=n.defaultView||n.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(s){}a&&r.frameElement&&(t+=L.helpers.getPX(w(r.frameElement).offset().left)+r.frameElement.clientLeft)}(c=w(this)).data("start-x",t),c.data("start-width",_.width()),c.data("start-height",_.height());var o=_.width();if(L.opts.imageResizeWithPercent){var i=_.parentsUntil(L.$el,L.html.blockTagsQuery()).get(0)||L.el;o=(o/w(i).outerWidth()*100).toFixed(2)+"%"}C(o),d.show(),L.popups.hideAll(),he()}function y(e){if(!L.core.sameInstance(l))return!0;var t;if(c&&_){if(e.preventDefault(),L.$el.find("img.fr-error").left)return!1;var n=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!n)return!1;var r=n-c.data("start-x"),a=c.data("start-width");if((c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(r=0-r),L.opts.imageResizeWithPercent){var o=_.parentsUntil(L.$el,L.html.blockTagsQuery()).get(0)||L.el;a=((a+r)/w(o).outerWidth()*100).toFixed(2),L.opts.imageRoundPercent&&(a=Math.round(a)),C("".concat(a,"%")),(t=Le()?(L.helpers.getPX(_.parents(".fr-img-caption").css("width"))/w(o).outerWidth()*100).toFixed(2):(L.helpers.getPX(_.css("width"))/w(o).outerWidth()*100).toFixed(2))===a||L.opts.imageRoundPercent||C("".concat(t,"%")),_.css("height","").removeAttr("height")}else a+r>=L.opts.imageMinWidth&&(C(a+r),t=Le()?L.helpers.getPX(_.parents(".fr-img-caption").css("width")):L.helpers.getPX(_.css("width"))),t!==a+r&&C(t),((_.attr("style")||"").match(/(^height:)|(; *height:)/)||_.attr("height"))&&(_.css("height",c.data("start-height")*_.width()/c.data("start-width")),_.removeAttr("height"));k(),L.events.trigger("image.resize",[Ee()])}}function x(e){if(!L.core.sameInstance(l))return!0;if(c&&_){if(e&&e.stopPropagation(),L.$el.find("img.fr-error").left)return!1;c=null,d.hide(),k(),o(),L.undo.saveStep(),L.events.trigger("image.resizeEnd",[Ee()])}else l.removeClass("fr-active")}function R(e,t,n){L.edit.on(),_&&_.addClass("fr-error"),a[e]?D(L.language.translate(a[e])):D(L.language.translate("Something went wrong. Please try again.")),!_&&n&&te(n),L.events.trigger("image.error",[{code:e,message:a[e]},t,n])}function M(e){if(e)return L.$wp&&L.events.$on(L.$wp,"scroll.image-edit",function(){_&&L.popups.isVisible("image.edit")&&(L.events.disableBlur(),o())}),!0;var t="";if(0<L.opts.imageEditButtons.length){var n={buttons:t+='<div class="fr-buttons">\n '.concat(L.button.buildList(L.opts.imageEditButtons),"\n </div>")};return L.popups.create("image.edit",n)}return!1}function O(e){var t=L.popups.get("image.insert");if(t||(t=Y()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),_){var n=ye();L.popups.setContainer("image.insert",L.$sc);var r=n.offset().left,a=n.offset().top+n.height();L.popups.show("image.insert",r,a,n.outerHeight())}void 0===e&&I(L.language.translate("Uploading"),0)}function N(e){var t=L.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||L.$el.find("img.fr-error").length)){if(L.events.focus(),L.$el.find("img.fr-error").length&&(L.$el.find("img.fr-error").remove(),L.undo.saveStep(),L.undo.run(),L.undo.dropRedo()),!L.$wp&&_){var n=_;fe(!0),L.selection.setAfter(n.get(0)),L.selection.restore()}L.popups.hide("image.insert")}}function I(e,t){var n=L.popups.get("image.insert");if(n){var r=n.find(".fr-image-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function D(e){O();var t=L.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),L.events.disableBlur(),n.focus()}function B(e){de.call(e.get(0))}function H(){var e=w(this);L.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),B(e),L.events.trigger("image.loaded",[e])}function $(i,e,s,l,c){l&&"string"==typeof l&&(l=L.$(l)),L.edit.off(),I(L.language.translate("Loading image")),e&&(i=L.helpers.sanitizeURL(i));var t=new Image;t.onload=function(){var e,t;if(l){L.undo.canDo()||l.hasClass("fr-uploading")||L.undo.saveStep();var n=l.data("fr-old-src");l.data("fr-image-pasted")&&(n=null),L.$wp?((e=l.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),n&&l.attr("src",n),!L.opts.trackChangesEnabled||l[0].parentNode&&"SPAN"===l[0].parentNode.tagName&&l[0].parentNode.hasAttribute("data-tracking")||L.track_changes.replaceSpecialItem(l),l.replaceWith(e)):e=l;for(var r=e.get(0).attributes,a=0;a<r.length;a++){var o=r[a];0===o.nodeName.indexOf("data-")?e.removeAttr(o.nodeName):s&&s.hasOwnProperty(o.nodeName)&&e.removeAttr(o.nodeName)}if(void 0!==s)for(t in s)s.hasOwnProperty(t)&&"link"!=t&&e.attr("".concat(t),s[t]);e.on("load",H),e.attr("src",i),L.edit.on(),v(!1),L.undo.saveStep(),L.events.disableBlur(),L.$el.blur(),L.events.trigger(n?"image.replaced":"image.inserted",[e,c])}else(e=z(i,s,H))&&(v(!1),L.undo.saveStep(),L.events.disableBlur(),L.$el.blur(),L.events.trigger("image.inserted",[e,c]))},t.onerror=function(){R(r)},O(L.language.translate("Loading image")),t.src=i}function F(e,t,n){I(L.language.translate("Loading image"));var r=this.status,a=this.response,o=this.responseXML,i=this.responseText;try{if(L.opts.imageUploadToS3||L.opts.imageUploadToAzure)if(201==r){var s;if(L.opts.imageUploadToAzure){if(!1===L.events.trigger("image.uploadedToAzure",[this.responseURL,n,a],!0))return L.edit.on(),!1;s=t}else s=function c(e){try{var t=w(e).find("Location").text(),n=w(e).find("Key").text();return!1===L.events.trigger("image.uploadedToS3",[t,n,e],!0)?(L.edit.on(),!1):t}catch(r){return R(h,e),!1}}(o);s&&$(s,!1,[],e,a||o)}else R(h,a||o,e);else if(200<=r&&r<300){var l=function d(e){try{if(!1===L.events.trigger("image.uploaded",[e],!0))return L.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(R(p,e),!1)}catch(n){return R(h,e),!1}}(i);l&&$(l.link,!1,l,e,a||i)}else R(u,a||i,e)}catch(f){R(h,a||i,e)}}function P(){R(h,this.response||this.responseText||this.responseXML)}function U(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;I(L.language.translate("Uploading"),t)}}function z(e,t,n){var r,a=w(document.createElement("img")).attr("src",e);if(t&&void 0!==t)for(r in t)t.hasOwnProperty(r)&&"link"!=r&&(" data-".concat(r,'="').concat(t[r],'"'),a.attr("".concat(r),t[r]));var o=L.opts.imageDefaultWidth;o&&"auto"!=o&&(o=L.opts.imageResizeWithPercent?"100%":"".concat(o,"px")),a.attr("style",o?"width: ".concat(o,";"):""),ge(a,L.opts.imageDefaultDisplay,L.opts.imageDefaultAlign),a.on("load",n),a.on("error",n),L.edit.on(),L.events.focus(!0),L.selection.restore(),L.undo.saveStep(),L.opts.imageSplitHTML?L.markers.split():L.markers.insert(),L.html.wrap();var i=L.$el.find(".fr-marker");if(i.length)i.parent().is("hr")&&i.parent().after(i),L.node.isLastSibling(i)&&i.parent().hasClass("fr-deletable")&&i.insertAfter(i.parent()),i.replaceWith(a);else{if(L.opts.trackChangesEnabled)return N(!0),!1;L.$el.append(a)}return L.selection.clear(),a}function K(){L.edit.on(),N(!0)}function V(e,t){if(void 0!==e&&0<e.length){if(e&&"image/svg+xml"==e[0].type){var n=new FileReader;n.onload=function(e){var t=e.target.result;L.image.insert(t,null,null,L.image.get())},n.readAsDataURL(e[0])}if(!1===L.events.trigger("image.beforeUpload",[e,t]))return!1;var r,a=e[0];if(!(null!==L.opts.imageUploadURL&&L.opts.imageUploadURL!=A||L.opts.imageUploadToS3||L.opts.imageUploadToAzure))return function E(a,o){var i=new FileReader;i.onload=function(){var e=i.result;if(i.result.indexOf("svg+xml")<0){for(var t=atob(i.result.split(",")[1]),n=[],r=0;r<t.length;r++)n.push(t.charCodeAt(r));e=window.URL.createObjectURL(new Blob([new Uint8Array(n)],{type:a.type})),o&&o.data("fr-old-src",o.attr("src")),L.image.insert(e,!1,null,o)}},O(),i.readAsDataURL(a)}(a,t||_),!1;if(a.name||(a.name=(new Date).getTime()+"."+(a.type||"image/jpeg").replace(/image\//g,"")),a.size>L.opts.imageMaxSize)return R(T),!1;if(L.opts.imageAllowedTypes.indexOf(a.type.replace(/image\//g,""))<0)return R(S),!1;if(L.drag_support.formdata&&(r=L.drag_support.formdata?new FormData:null),r){var o;if(!1!==L.opts.imageUploadToS3)for(o in r.append("key",L.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),r.append("success_action_status","201"),r.append("X-Requested-With","xhr"),r.append("Content-Type",a.type),L.opts.imageUploadToS3.params)L.opts.imageUploadToS3.params.hasOwnProperty(o)&&r.append(o,L.opts.imageUploadToS3.params[o]);for(o in L.opts.imageUploadParams)L.opts.imageUploadParams.hasOwnProperty(o)&&r.append(o,L.opts.imageUploadParams[o]);r.append(L.opts.imageUploadParam,a,a.name);var i,s,l=L.opts.imageUploadURL,c=L.opts.imageUploadMethod;L.opts.imageUploadToS3&&(l=L.opts.imageUploadToS3.uploadURL?L.opts.imageUploadToS3.uploadURL:"https://".concat(L.opts.imageUploadToS3.region,".amazonaws.com/").concat(L.opts.imageUploadToS3.bucket)),L.opts.imageUploadToAzure&&(i=l=L.opts.imageUploadToAzure.uploadURL?"".concat(L.opts.imageUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(L.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(L.opts.imageUploadToAzure.container,"/").concat(a.name)),L.opts.imageUploadToAzure.SASToken&&(l+=L.opts.imageUploadToAzure.SASToken),c="PUT");var d=L.core.getXHR(l,c);if(L.opts.imageUploadToAzure){var f=(new Date).toUTCString();if(!L.opts.imageUploadToAzure.SASToken&&L.opts.imageUploadToAzure.accessKey){var p=L.opts.imageUploadToAzure.account,u=L.opts.imageUploadToAzure.container;if(L.opts.imageUploadToAzure.uploadURL){var h=L.opts.imageUploadToAzure.uploadURL.split("/");u=h.pop(),p=h.pop().split(".")[0]}var g="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(f,"\nx-ms-version:2019-07-07"),m=encodeURI("/"+p+"/"+u+"/"+a.name),v=c+"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+g+"\n"+m,b=L.cryptoJSPlugin.cryptoJS.HmacSHA256(v,L.cryptoJSPlugin.cryptoJS.enc.Base64.parse(L.opts.imageUploadToAzure.accessKey)).toString(L.cryptoJSPlugin.cryptoJS.enc.Base64),C="SharedKey "+p+":"+b;s=b,d.setRequestHeader("Authorization",C)}for(o in d.setRequestHeader("x-ms-version","2019-07-07"),d.setRequestHeader("x-ms-date",f),d.setRequestHeader("Content-Type",a.type),d.setRequestHeader("x-ms-blob-type","BlockBlob"),L.opts.imageUploadParams)L.opts.imageUploadParams.hasOwnProperty(o)&&d.setRequestHeader(o,L.opts.imageUploadParams[o]);for(o in L.opts.imageUploadToAzure.params)L.opts.imageUploadToAzure.params.hasOwnProperty(o)&&d.setRequestHeader(o,L.opts.imageUploadToAzure.params[o])}!function y(t,n,r,a,o,i){function s(){var e=w(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),L.placeholder.refresh(),B(e),k(),O(),L.edit.off(),t.onload=function(){F.call(t,e,o,i)},t.onerror=P,t.upload.onprogress=U,t.onabort=K,w(e.off("abortUpload")).on("abortUpload",function(){4!=t.readyState&&(t.abort(),a?(a.attr("src",a.data("fr-old-src")),a.removeClass("fr-uploading")):e.remove(),fe(!0))}),t.send(L.opts.imageUploadToAzure?r:n)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf("svg+xml")<0){for(var t=atob(l.result.split(",")[1]),n=[],r=0;r<t.length;r++)n.push(t.charCodeAt(r));e=window.URL.createObjectURL(new Blob([new Uint8Array(n)],{type:"image/jpeg"}))}a?(a.on("load",s),a.on("error",function(){s(),w(this).off("error")}),L.edit.on(),L.undo.saveStep(),a.data("fr-old-src",a.attr("src")),a.attr("src",e)):z(e,null,s)},l.readAsDataURL(r)}(d,r,a,t||_,i,s)}}}function W(e){if(e.is("img")&&0<e.parents(".fr-img-caption").length)return e.parents(".fr-img-caption")}function G(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var n=t.files[0];if(n&&n.type&&-1!==n.type.indexOf("image")&&0<=L.opts.imageAllowedTypes.indexOf(n.type.replace(/image\//g,""))){if(!L.opts.imageUpload)return e.preventDefault(),e.stopPropagation(),!1;L.markers.remove(),L.markers.insertAtPoint(e.originalEvent),L.$el.find(".fr-marker").replaceWith(xt.MARKERS),0===L.$el.find(".fr-marker").length&&L.selection.setAtEnd(L.el),L.popups.hideAll();var r=L.popups.get("image.insert");r||(r=Y()),L.popups.setContainer("image.insert",L.$sc);var a=e.originalEvent.pageX,o=e.originalEvent.pageY;if(L.opts.iframe){var i=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-top")),s=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-left"));o+=L.$iframe.offset().top+i,a+=L.$iframe.offset().left+s}return L.popups.show("image.insert",a,o),O(),0<=L.opts.imageAllowedTypes.indexOf(n.type.replace(/image\//g,""))?(fe(!0),V(t.files)):R(S),e.preventDefault(),e.stopPropagation(),!1}}}function Y(e){if(e)return L.popups.onRefresh("image.insert",f),L.popups.onHide("image.insert",g),!0;var t,n,r="";L.opts.imageUpload||-1===L.opts.imageInsertButtons.indexOf("imageUpload")||L.opts.imageInsertButtons.splice(L.opts.imageInsertButtons.indexOf("imageUpload"),1);var a=L.button.buildList(L.opts.imageInsertButtons);""!==a&&(r='<div class="fr-buttons fr-tabs">'.concat(a,"</div>"));var o=L.opts.imageInsertButtons.indexOf("imageUpload"),i=L.opts.imageInsertButtons.indexOf("imageByURL"),s="";0<=o&&(t=" fr-active",0<=i&&i<o&&(t=""),s='<div class="fr-image-upload-layer'.concat(t,' fr-layer" id="fr-image-upload-layer-').concat(L.id,'"><strong>').concat(L.language.translate("Drop image"),"</strong><br>(").concat(L.language.translate("or click"),')<div class="fr-form"><input type="file" accept="image/').concat(L.opts.imageAllowedTypes.join(", image/").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-image-upload-layer-').concat(L.id,'" role="button"></div></div>'));var l="";0<=i&&(t=" fr-active",0<=o&&o<i&&(t=""),l='<div class="fr-image-by-url-layer'.concat(t,' fr-layer" id="fr-image-by-url-layer-').concat(L.id,'"><div class="fr-input-line"><input id="fr-image-by-url-layer-text-').concat(L.id,'" type="text" placeholder="http://" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageInsertByURL" tabIndex="2" role="button">').concat(L.language.translate("Insert"),"</button></div></div>"));var c={buttons:r,upload_layer:s,by_url_layer:l,progress_bar:'<div class="fr-image-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="imageDismissError" tabIndex="2" role="button">OK</button></div></div>'};return 1<=L.opts.imageInsertButtons.length&&(n=L.popups.create("image.insert",c)),L.$wp&&L.events.$on(L.$wp,"scroll",function(){_&&L.popups.isVisible("image.insert")&&be()}),function d(r){L.events.$on(r,"dragover dragenter",".fr-image-upload-layer",function(e){return w(this).addClass("fr-drop"),(L.browser.msie||L.browser.edge)&&e.preventDefault(),!1},!0),L.events.$on(r,"dragleave dragend",".fr-image-upload-layer",function(e){return w(this).removeClass("fr-drop"),(L.browser.msie||L.browser.edge)&&e.preventDefault(),!1},!0),L.events.$on(r,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),w(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||L;n.events.disableBlur(),n.image.upload(t.files),n.events.enableBlur()}},!0),L.helpers.isIOS()&&L.events.$on(r,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){w(this).trigger("click")},!0),L.events.$on(r,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||L;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,_)}w(this).val("")},!0)}(n),n}function j(){_&&L.popups.get("image.alt").find("input").val(_.attr("alt")||"").trigger("change")}function q(){var e=L.popups.get("image.alt");e||(e=Z()),N(),L.popups.refresh("image.alt"),L.popups.setContainer("image.alt",L.$sc);var t=ye();Le()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();L.popups.show("image.alt",n,r,t.outerHeight(),!0)}function Z(e){if(e)return L.popups.onRefresh("image.alt",j),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(L.button.buildList(L.opts.imageAltButtons),"</div>"),alt_layer:'<div class="fr-image-alt-layer fr-layer fr-active" id="fr-image-alt-layer-'.concat(L.id,'"><div class="fr-input-line"><input id="fr-image-alt-layer-text-').concat(L.id,'" type="text" placeholder="').concat(L.language.translate("Alternative Text"),'" tabIndex="1"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetAlt" tabIndex="2" role="button">').concat(L.language.translate("Update"),"</button></div></div>")},n=L.popups.create("image.alt",t);return L.$wp&&L.events.$on(L.$wp,"scroll.image-alt",function(){_&&L.popups.isVisible("image.alt")&&q()}),n}function X(){var e=L.popups.get("image.size"),t=_.get(0).style.height?_.get(0).style.height:"auto",n=_.get(0).style.width?_.get(0).style.width:"auto";if(_)if(Le()){var r=_.parent();r.get(0).style.width||(r=_.parent().parent()),e.find('input[name="width"]').val(n).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}else e.find('input[name="width"]').val(n).trigger("change"),e.find('input[name="height"]').val(t).trigger("change")}function Q(){var e=L.popups.get("image.size");e||(e=J()),N(),L.popups.refresh("image.size"),L.popups.setContainer("image.size",L.$sc);var t=ye();Le()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();L.popups.show("image.size",n,r,t.outerHeight(),!0)}function J(e){if(e)return L.popups.onRefresh("image.size",X),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(L.button.buildList(L.opts.imageSizeButtons),"</div>"),size_layer:'<div class="fr-image-size-layer fr-layer fr-active" id="fr-image-size-layer-'.concat(L.id,'"><div class="fr-image-group"><div class="fr-input-line"><input id="fr-image-size-layer-width-\'').concat(L.id,'" type="text" name="width" placeholder="').concat(L.language.translate("Width"),'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-image-size-layer-height').concat(L.id,'" type="text" name="height" placeholder="').concat(L.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetSize" tabIndex="2" role="button">').concat(L.language.translate("Update"),"</button></div></div>")},n=L.popups.create("image.size",t);return L.$wp&&L.events.$on(L.$wp,"scroll.image-size",function(){_&&L.popups.isVisible("image.size")&&Q()}),n}function ee(e,t,n,r){return e.pageX=t,E.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),y.call(this,e),x.call(this,e),++r}function te(e){if(e=e||ye(),L.opts.trackChangesEnabled&&!L.helpers.isMobile()&&(!e[0].parentNode||"SPAN"!==e[0].parentNode.tagName||!e[0].parentNode.hasAttribute("data-tracking")))return L.track_changes.removeSpecialItem(e),L.popups.hideAll(),void fe(!0);e&&!1!==L.events.trigger("image.beforeRemove",[e])&&(L.popups.hideAll(),Ce(),fe(!0),L.undo.canDo()||L.undo.saveStep(),e.get(0)==L.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(L.selection.setBefore(e.get(0).parentNode)||L.selection.setAfter(e.get(0).parentNode)||e.parent().after(xt.MARKERS),w(e.get(0).parentNode).remove()):(L.selection.setBefore(e.get(0))||L.selection.setAfter(e.get(0))||e.after(xt.MARKERS),e.remove()),L.html.fillEmptyBlocks(),L.selection.restore()),L.undo.saveStep())}function ne(e){var t=e.which;if(_&&(t==xt.KEYCODE.BACKSPACE||t==xt.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(_&&t==xt.KEYCODE.ESC){var n=_;return fe(!0),L.selection.setAfter(n.get(0)),L.selection.restore(),e.preventDefault(),!1}if(!_||t!=xt.KEYCODE.ARROW_LEFT&&t!=xt.KEYCODE.ARROW_RIGHT)return _&&t===xt.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),fe(!0),!1):_&&t!=xt.KEYCODE.F10&&!L.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var r=_.get(0);return fe(!0),t==xt.KEYCODE.ARROW_LEFT?L.selection.setBefore(r):L.selection.setAfter(r),L.selection.restore(),e.preventDefault(),!1}function re(e){if(e&&"IMG"==e.tagName){if(L.node.hasClass(e,"fr-uploading")||L.node.hasClass(e,"fr-error")?e.parentNode.removeChild(e):L.node.hasClass(e,"fr-draggable")&&e.classList.remove("fr-draggable"),e.parentNode&&e.parentNode.parentNode&&L.node.hasClass(e.parentNode.parentNode,"fr-img-caption")){var t=e.parentNode.parentNode;t.removeAttribute("contenteditable"),t.removeAttribute("draggable"),t.classList.remove("fr-draggable");var n=e.nextSibling;n&&n.removeAttribute("contenteditable")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var r=e.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),a=0;a<r.length;a++)re(r[a])}function ae(e){if(!1===L.events.trigger("image.beforePasteUpload",[e]))return!1;_=w(e),k(),o(),be(),O(),_.on("load",function(){var t=[];k(),w(L.popups.get("image.insert").get(0)).find("div.fr-active.fr-error").length<1&&O(),w(this).data("events").filter(function(e){"load"===e[0]&&t.push(e)}),t.length<=1&&w(this).off("load")});for(var t=w(e).attr("src").split(","),n=atob(t[1]),r=[],a=0;a<n.length;a++)r.push(n.charCodeAt(a));V([new Blob([new Uint8Array(r)],{type:t[0].replace(/data\:/g,"").replace(/;base64/g,"")})],_)}function oe(){L.opts.imagePaste?L.$el.find("img[data-fr-image-pasted]").each(function(e,r){if(L.opts.imagePasteProcess){var t=L.opts.imageDefaultWidth;t&&"auto"!=t&&(t+=L.opts.imageResizeWithPercent?"%":"px"),w(r).css("width",t).removeClass("fr-dii fr-dib fr-fir fr-fil"),ge(w(r),L.opts.imageDefaultDisplay,L.opts.imageDefaultAlign)}if(0===r.src.indexOf("data:"))ae(r);else if(0===r.src.indexOf("blob:")||0===r.src.indexOf("http")&&L.opts.imageUploadRemoteUrls&&L.opts.imageCORSProxy){var n=new Image;n.crossOrigin="Anonymous",n.onload=function(){var e,t=L.o_doc.createElement("CANVAS"),n=t.getContext("2d");t.height=this.naturalHeight,t.width=this.naturalWidth,n.drawImage(this,0,0),setTimeout(function(){ae(r)},0),e=2e3<this.naturalWidth||1500<this.naturalHeight?"jpeg":"png",r.src=t.toDataURL("image/".concat(e))},n.src=(0===r.src.indexOf("blob:")?"":"".concat(L.opts.imageCORSProxy,"/"))+r.src}else 0!==r.src.indexOf("http")||0===r.src.indexOf("path_to_url")?(L.selection.save(),w(r).remove(),L.selection.restore()):w(r).removeAttr("data-fr-image-pasted")}):L.$el.find("img[data-fr-image-pasted]").remove()}function ie(e){var t=e.target.result,n=L.opts.imageDefaultWidth;n&&"auto"!=n&&(n+=L.opts.imageResizeWithPercent?"%":"px"),L.undo.saveStep(),L.html.insert('<img data-fr-image-pasted="true" src="'.concat(t,'"').concat(n?' style="width: '.concat(n,';"'):"",">"));var r=L.$el.find('img[data-fr-image-pasted="true"]');r&&ge(r,L.opts.imageDefaultDisplay,L.opts.imageDefaultAlign),L.events.trigger("paste.after")}function se(e,t){var n=new FileReader;n.onload=function r(e){var t=L.opts.imageDefaultWidth;t&&"auto"!=t&&(t+=L.opts.imageResizeWithPercent?"%":"px"),L.html.insert('<img data-fr-image-pasted="true" src="'.concat(e,'"').concat(t?' style="width: '.concat(t,';"'):"",">"));var n=L.$el.find('img[data-fr-image-pasted="true"]');n&&ge(n,L.opts.imageDefaultDisplay,L.opts.imageDefaultAlign),L.events.trigger("paste.after")}(t),n.readAsDataURL(e,t)}function le(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=(e.clipboardData||window.clipboardData).getData("text/html")||"",n=(new DOMParser).parseFromString(t,"text/html").querySelector("img");if(n){if(!n)return!1;var r=n.src,a=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))a=e.clipboardData.items[0].getAsFile();else for(var o=0;o<e.clipboardData.items.length&&!(a=e.clipboardData.items[o].getAsFile());o++);if(a)return se(a,r),!1}else{var i=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))i=e.clipboardData.items[0].getAsFile();else for(var s=0;s<e.clipboardData.items.length&&!(i=e.clipboardData.items[s].getAsFile());s++);if(i)return function l(e){var t=new FileReader;t.onload=ie,t.readAsDataURL(e)}(i),!1}}}function ce(e){return e=e.replace(/<img /gi,'<img data-fr-image-pasted="true" ')}function de(e){if("false"==w(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;if(e&&"touchend"==e.type&&n)return!0;if(e&&L.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;for(var t=0;t<xt.INSTANCES.length;t++)xt.INSTANCES[t]!=L&&xt.INSTANCES[t].events.trigger("image.hideResizer");L.toolbar.disable(),e&&(e.stopPropagation(),e.preventDefault()),L.helpers.isMobile()&&(L.events.disableBlur(),L.$el.blur(),L.events.enableBlur()),L.opts.iframe&&L.size.syncIframe(),_=w(this),Ce(),k(),o(),L.browser.msie?(L.popups.areVisible()&&L.events.disableBlur(),L.win.getSelection&&(L.win.getSelection().removeAllRanges(),L.win.getSelection().addRange(L.doc.createRange()))):L.selection.clear(),L.helpers.isIOS()&&(L.events.disableBlur(),L.$el.blur()),L.button.bulkRefresh(),L.events.trigger("video.hideResizer")}function fe(e){_&&(function t(){return pe}()||!0===e)&&(L.toolbar.enable(),l.removeClass("fr-active"),L.popups.hideAll(),_=null,he(),c=null,d&&d.hide())}a[r]="Image cannot be loaded from the passed link.",a[p]="No link in upload response.",a[u]="Error during file upload.",a[h]="Parsing response failed.",a[T]="File is too large.",a[S]="Image file type is invalid.",a[7]="Files can be uploaded only to same domain in IE 8 and IE 9.";var pe=!(a[8]="Image file is corrupted.");function ue(){pe=!0}function he(){pe=!1}function ge(e,t,n){!L.opts.htmlUntouched&&L.opts.useClasses?(e.removeClass("fr-fil fr-fir fr-dib fr-dii"),n&&e.addClass("fr-fi".concat(n[0])),t&&e.addClass("fr-di".concat(t[0]))):"inline"==t?(e.css({display:"inline-block",verticalAlign:"bottom",margin:L.opts.imageDefaultMargin}),"center"==n?e.css({"float":"none",marginBottom:"",marginTop:"",maxWidth:"calc(100% - ".concat(2*L.opts.imageDefaultMargin,"px)"),textAlign:"center"}):"left"==n?e.css({"float":"left",marginLeft:0,maxWidth:"calc(100% - ".concat(L.opts.imageDefaultMargin,"px)"),textAlign:"left"}):e.css({"float":"right",marginRight:0,maxWidth:"calc(100% - ".concat(L.opts.imageDefaultMargin,"px)"),textAlign:"right"})):"block"==t&&(e.css({display:"block","float":"none",verticalAlign:"top",margin:"".concat(L.opts.imageDefaultMargin,"px auto"),textAlign:"center"}),"left"==n?e.css({marginLeft:0,textAlign:"left"}):"right"==n&&e.css({marginRight:0,textAlign:"right"}))}function me(e){if(void 0===e&&(e=ye()),e){if(e.hasClass("fr-fil"))return"left";if(e.hasClass("fr-fir"))return"right";if(e.hasClass("fr-dib")||e.hasClass("fr-dii"))return"center";var t=e.css("float");if(e.css("float","none"),"block"==e.css("display")){if(e.css("float",""),e.css("float")!=t&&e.css("float",t),0===parseInt(e.css("margin-left"),10))return"left";if(0===parseInt(e.css("margin-right"),10))return"right"}else{if(e.css("float",""),e.css("float")!=t&&e.css("float",t),"left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function ve(e){void 0===e&&(e=ye());var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function be(){var e=L.popups.get("image.insert");e||(e=Y()),L.popups.isVisible("image.insert")||(N(),L.popups.refresh("image.insert"),L.popups.setContainer("image.insert",L.$sc));var t=ye();Le()&&(t=t.find(".fr-img-wrap"));var n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();L.popups.show("image.insert",n,r,t.outerHeight(!0),!0)}function Ce(){if(_){L.events.disableBlur(),L.selection.clear();var e=L.doc.createRange();e.selectNode(_.get(0)),L.browser.msie&&e.collapse(!0),L.selection.get().addRange(e),L.events.enableBlur()}}function Ee(){return _}function ye(){return Le()?_.parents(".fr-img-caption").first():_}function Le(){return!!_&&0<_.parents(".fr-img-caption").length}function _e(e){for(var t=document.createDocumentFragment();e.firstChild;){var n=e.removeChild(e.firstChild);t.appendChild(n)}e.parentNode.replaceChild(t,e)}return{_init:function we(){var r;(function e(){L.events.$on(L.$el,L._mousedown,"IMG"==L.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==w(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;L.helpers.isMobile()||L.selection.clear(),t=!0,L.popups.areVisible()&&L.events.disableBlur(),L.browser.msie&&(L.events.disableBlur(),L.$el.attr("contenteditable",!1)),L.draggable||"touchstart"==e.type||e.preventDefault(),e.stopPropagation()}),L.events.$on(L.$el,L._mousedown,".fr-img-caption .fr-inner",function(e){L.core.hasFocus()||L.events.focus(),e.stopPropagation()}),L.events.$on(L.$el,"paste",".fr-img-caption .fr-inner",function(e){!0===L.opts.toolbarInline&&(L.toolbar.hide(),e.stopPropagation())}),L.events.$on(L.$el,L._mouseup,"IMG"==L.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==w(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;t&&(t=!1,e.stopPropagation(),L.browser.msie&&(L.$el.attr("contenteditable",!0),L.events.enableBlur()))}),L.events.on("keyup",function(e){if(e.shiftKey&&""===L.selection.text().replace(/\n/g,"")&&L.keys.isArrow(e.which)){var t=L.selection.element(),n=L.selection.endElement();t&&"IMG"==t.tagName?B(w(t)):n&&"IMG"==n.tagName&&B(w(n))}},!0),L.events.on("drop",G),L.events.on("element.beforeDrop",W),L.events.on("mousedown window.mousedown",ue),L.events.on("window.touchmove",he),L.events.on("mouseup window.mouseup",function(){if(_&&!L.helpers.isMobile())return fe(),!1;he()}),L.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&fe()}),L.events.on("image.resizeEnd",function(){L.opts.iframe&&L.size.syncIframe()}),L.events.on("blur image.hideResizer commands.undo commands.redo element.dropped",function(){fe(!(t=!1))}),L.events.on("modals.hide",function(){_&&(Ce(),L.selection.clear())}),L.events.on("image.resizeEnd",function(){L.win.getSelection&&B(_)}),L.opts.imageAddNewLine&&L.events.on("image.inserted",function(e){var t=e.get(0);for(t.nextSibling&&"BR"===t.nextSibling.tagName&&(t=t.nextSibling);t&&!L.node.isElement(t);)t=L.node.isLastSibling(t)?t.parentNode:null;L.node.isElement(t)&&(L.opts.enter===xt.ENTER_BR?e.after("<br>"):w(L.node.blockParent(e.get(0))).after("<".concat(L.html.defaultTag(),"><br></").concat(L.html.defaultTag(),">")))})})(),"IMG"==L.el.tagName&&L.$el.addClass("fr-view"),L.events.$on(L.$el,L.helpers.isMobile()&&!L.helpers.isWindowsPhone()?"touchend":"click","IMG"==L.el.tagName?null:'img:not([contenteditable="false"])',de),L.helpers.isMobile()&&(L.events.$on(L.$el,"touchstart","IMG"==L.el.tagName?null:'img:not([contenteditable="false"])',function(){n=!1}),L.events.$on(L.$el,"touchmove",function(){n=!0})),L.$wp?(L.events.on("window.keydown keydown",ne,!0),L.events.on("keyup",function(e){if(_&&e.which==xt.KEYCODE.ENTER)return!1},!0),L.events.$on(L.$el,"keydown",function(){var e=L.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&L.node.isLastSibling(e))&&(e=e.parentNode),L.node.hasClass(e,"fr-inner")||(L.node.hasClass(e,"fr-img-caption")||(e=w(e).parents(".fr-img-caption").get(0)),L.node.hasClass(e,"fr-img-caption")&&(L.opts.trackChangesEnabled||w(e).after(xt.INVISIBLE_SPACE+xt.MARKERS),L.selection.restore()))})):L.events.$on(L.$win,"keydown",ne),L.events.on("toolbar.esc",function(){if(_){if(L.$wp)L.events.disableBlur(),L.events.focus();else{var e=_;fe(!0),L.selection.setAfter(e.get(0)),L.selection.restore()}return!1}},!0),L.events.on("toolbar.focusEditor",function(){if(_)return!1},!0),L.events.on("window.cut window.copy",function(e){if(_&&L.popups.isVisible("image.edit")&&!L.popups.get("image.edit").find(":focus").length){var t=ye();Le()?(t.before(xt.START_MARKER),t.after(xt.END_MARKER),L.selection.restore(),L.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(Ce(),L.paste.saveCopiedText(_.get(0).outerHTML,_.attr("alt"))),"copy"==e.type?setTimeout(function(){B(_)}):(fe(!0),L.undo.saveStep(),setTimeout(function(){L.undo.saveStep()},0))}},!0),L.browser.msie&&L.events.on("keydown",function(e){if(!L.selection.isCollapsed()||!_)return!0;var t=e.which;t==xt.KEYCODE.C&&L.keys.ctrlKey(e)?L.events.trigger("window.copy"):t==xt.KEYCODE.X&&L.keys.ctrlKey(e)&&L.events.trigger("window.cut")}),L.events.$on(w(L.o_win),"keydown",function(e){var t=e.which;if(_&&t==xt.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),L.events.$on(L.$win,"keydown",function(e){var t=e.which;_&&_.hasClass("fr-uploading")&&t==xt.KEYCODE.ESC&&_.trigger("abortUpload")}),L.events.on("destroy",function(){_&&_.hasClass("fr-uploading")&&_.trigger("abortUpload")}),L.events.on("paste.before",le),L.events.on("paste.beforeCleanup",ce),L.events.on("paste.after",oe),L.events.on("html.set",m),L.events.on("html.inserted",m),m(),L.events.on("destroy",function(){s=[]}),L.events.on("html.processGet",re),L.opts.imageOutputSize&&L.events.on("html.beforeGet",function(){r=L.el.querySelectorAll("img");for(var e=0;e<r.length;e++){var t=r[e].style.width||w(r[e]).width(),n=r[e].style.height||w(r[e]).height();t&&r[e].setAttribute("width","".concat(t).replace(/px/,"")),n&&r[e].setAttribute("height","".concat(n).replace(/px/,""))}}),L.opts.iframe&&L.events.on("image.loaded",L.size.syncIframe),L.$wp&&(v(),L.events.on("contentChanged",v)),L.events.$on(w(L.o_win),"orientationchange.image",function(){setTimeout(function(){_&&B(_)},100)}),M(!0),Y(!0),J(!0),Z(!0),L.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return te(e),!1})},showInsertPopup:function Ae(){var e=L.$tb.find('.fr-command[data-cmd="insertImage"]'),t=L.popups.get("image.insert");if(t||(t=Y()),N(),!t.hasClass("fr-active"))if(L.popups.refresh("image.insert"),L.popups.setContainer("image.insert",L.$tb),e.isVisible()){var n=L.button.getPosition(e),r=n.left,a=n.top;L.popups.show("image.insert",r,a,e.outerHeight())}else L.position.forSelection(t),L.popups.show("image.insert")},showLayer:function Te(e){var t,n,r=L.popups.get("image.insert");if(_||L.opts.toolbarInline){if(_){var a=ye();Le()&&(a=a.find(".fr-img-wrap")),n=a.offset().top+a.outerHeight(),t=a.offset().left}}else{var o=L.$tb.find('.fr-command[data-cmd="insertImage"]');t=o.offset().left,n=o.offset().top+(L.opts.toolbarBottom?10:o.outerHeight()-10)}!_&&L.opts.toolbarInline&&(n=r.offset().top-L.helpers.getPX(r.css("margin-top")),r.hasClass("fr-above")&&(n+=r.outerHeight())),r.find(".fr-layer").removeClass("fr-active"),r.find(".fr-".concat(e,"-layer")).addClass("fr-active"),L.popups.show("image.insert",t,n,_?_.outerHeight():0),L.accessibility.focusPopup(r)},refreshUploadButton:function Se(e){var t=L.popups.get("image.insert");t&&t.find(".fr-image-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function ke(e){var t=L.popups.get("image.insert");t&&t.find(".fr-image-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:V,insertByURL:function xe(){var e=L.popups.get("image.insert").find(".fr-image-by-url-layer input");if(0<e.val().length){O(),I(L.language.translate("Loading image"));var t=e.val().trim();if(L.opts.imageUploadRemoteUrls&&L.opts.imageCORSProxy&&L.opts.imageUpload){var n=new XMLHttpRequest;n.onload=function(){200==this.status?V([new Blob([this.response],{type:this.response.type||"image/png"})],_):R(r)},n.onerror=function(){$(t,!0,[],_)},n.open("GET","".concat(L.opts.imageCORSProxy,"/").concat(t),!0),n.responseType="blob",n.send()}else $(t,!0,[],_);e.val(""),e.blur()}},align:function Re(e){var t=ye();t.removeClass("fr-fir fr-fil"),!L.opts.htmlUntouched&&L.opts.useClasses?"left"==e?t.addClass("fr-fil"):"right"==e&&t.addClass("fr-fir"):ge(t,ve(),e),Ce(),k(),o(),L.selection.clear()},refreshAlign:function Me(e){_&&e.find("> *").first().replaceWith(L.icon.create("image-align-".concat(me())))},refreshAlignOnShow:function Oe(e,t){_&&t.find('.fr-command[data-param1="'.concat(me(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function Ne(e){var t=ye();t.removeClass("fr-dii fr-dib"),!L.opts.htmlUntouched&&L.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):ge(t,e,me()),Ce(),k(),o(),L.selection.clear()},refreshDisplayOnShow:function Ie(e,t){_&&t.find('.fr-command[data-param1="'.concat(ve(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:be,back:function e(){_?(L.events.disableBlur(),w(".fr-popup input:focus").blur(),B(_)):(L.events.disableBlur(),L.selection.restore(),L.events.enableBlur(),L.popups.hide("image.insert"),L.toolbar.showInline())},get:Ee,getEl:ye,insert:$,showProgressBar:O,remove:te,hideProgressBar:N,applyStyle:function De(e,t,n){if(void 0===t&&(t=L.opts.imageStyles),void 0===n&&(n=L.opts.imageMultipleStyles),!_)return!1;var r=ye();if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),r.removeClass(a.join(" "))}"object"==kt(t[e])?(r.removeAttr("style"),r.css(t[e].style)):r.toggleClass(e),B(_)},showAltPopup:q,showSizePopup:Q,setAlt:function Be(e){if(_){var t=L.popups.get("image.alt");_.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),B(_)}},setSize:function He(e,t){if(_){var n=L.popups.get("image.size");e=e||n.find('input[name="width"]').val()||"",t=t||n.find('input[name="height"]').val()||"";var r=/^[\d]+((px)|%)*$/g;_.removeAttr("width").removeAttr("height"),e.match(r)?_.css("width",e):_.css("width",""),t.match(r)?_.css("height",t):_.css("height",""),Le()&&(_.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(r)?_.parents(".fr-img-caption").css("width",e):_.parents(".fr-img-caption").css("width",""),t.match(r)?_.parents(".fr-img-caption").css("height",t):_.parents(".fr-img-caption").css("height","")),n&&n.find("input:focus").blur(),B(_)}},toggleCaption:function $e(){var e;if(_&&!Le()){((e=_).parent().is("a")||_.parent().is("p"))&&(e=_.parent());var t,n,r=_.parents("ul")&&0<_.parents("ul").length?_.parents("ul"):_.parents("ol")&&0<_.parents("ol").length?_.parents("ol"):[];if(0<r.length){var a=r.find("li").length,o=_.parents("li"),i=document.createElement("li");a-1===o.index()&&(r.append(i),i.innerHTML="&nbsp;")}e.attr("style")?n=-1<(t=e.attr("style").split(":")).indexOf("width")?t[t.indexOf("width")+1].replace(";",""):"":e.attr("width")&&(n=e.attr("width"));var s=L.opts.imageResizeWithPercent?(-1<n.indexOf("px")?null:n)||"100%":_.width()+"px";e.wrap('<div class="fr-img-space-wrap"><span '+(L.browser.mozilla?"":'contenteditable="false"')+'class="fr-img-caption '+_.attr("class")+'" style="'+(L.opts.useClasses?"":e.attr("style"))+'" draggable="false"></span></div>'),e.wrap('<span class="fr-img-wrap"></span>'),_.after('<span class="fr-inner"'.concat(L.browser.mozilla?"":' contenteditable="true"',">").concat(xt.START_MARKER).concat(L.language.translate("Image Caption")).concat(xt.END_MARKER,"</span>")),_.parents(".fr-img-caption").css("width",s),1<_.parents(".fr-img-space-wrap").length&&(_e(document.querySelector(".fr-img-space-wrap")),_e(document.querySelector(".fr-img-space-wrap2"))),fe(!0),L.selection.restore()}else{if(e=ye(),_.insertBefore(e),null!==e[0].querySelector("a")){for(var l,c=e[0].querySelector("a"),d=document.createElement("a"),f=0,p=c.attributes,u=p.length;f<u;f++)l=p[f],d.setAttribute(l.nodeName,l.nodeValue);_.wrap(d)}_.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),1<_.parents(".fr-img-space-wrap").length&&(_e(document.querySelector(".fr-img-space-wrap")),_e(document.querySelector(".fr-img-space-wrap2"))),B(_)}},hasCaption:Le,exitEdit:fe,edit:B}},xt.DefineIcon("insertImage",{NAME:"image",SVG_KEY:"insertImage"}),xt.RegisterShortcut(xt.KEYCODE.P,"insertImage",null,"P"),xt.RegisterCommand("insertImage",{title:"Insert Image",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("image.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("image.insert")):this.image.showInsertPopup()},plugin:"image"}),xt.DefineIcon("imageUpload",{NAME:"upload",SVG_KEY:"upload"}),xt.RegisterCommand("imageUpload",{title:"Upload Image",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer("image-upload")},refresh:function(e){this.image.refreshUploadButton(e)}}),xt.DefineIcon("imageByURL",{NAME:"link",SVG_KEY:"insertLink"}),xt.RegisterCommand("imageByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer("image-by-url")},refresh:function(e){this.image.refreshByURLButton(e)}}),xt.RegisterCommand("imageInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.image.insertByURL()},refresh:function(e){this.image.get()?e.text(this.language.translate("Replace")):e.text(this.language.translate("Insert"))}}),xt.DefineIcon("imageDisplay",{NAME:"star",SVG_KEY:"imageDisplay"}),xt.RegisterCommand("imageDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.image.display(t)},refresh:function(e){this.opts.imageTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.image.refreshDisplayOnShow(e,t)}}),xt.DefineIcon("image-align",{NAME:"align-left",SVG_KEY:"alignLeft"}),xt.DefineIcon("image-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),xt.DefineIcon("image-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),xt.DefineIcon("image-align-center",{NAME:"align-justify",SVG_KEY:"alignCenter"}),xt.DefineIcon("imageAlign",{NAME:"align-justify",SVG_KEY:"alignJustify"}),xt.RegisterCommand("imageAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.imageAlign.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="imageAlign" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.icon.create("image-align-".concat(n)),'<span class="fr-sr-only">').concat(this.language.translate(t[n]),"</span></a></li>"));return e+="</ul>"},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),xt.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),xt.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),xt.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),xt.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),xt.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),xt.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),xt.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),xt.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.imageStyles;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"==kt(r)&&(r=r.title),e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="imageStyle" data-param1="'.concat(n,'">').concat(this.language.translate(r),"</a></li>")}return e+="</ul>"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,r=this.image.getEl();r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),xt.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),xt.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),xt.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),xt.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),xt.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),xt.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),xt.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),xt.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}}),Object.assign(xt.DEFAULTS,{imageManagerLoadURL:"path_to_url",imageManagerLoadMethod:"get",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:"",imageManagerDeleteMethod:"post",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),xt.PLUGINS.imageManager=function(s){var l,c,o,i,d,f,p,u,h,g,m,v=s.$,b="image_manager",e=10,C=11,E=12,y=13,L=14,_=15,n=21,r=22,a={};function w(){var e=v(window).outerWidth();return e<768?2:e<1200?3:4}function A(){d.empty();for(var e=0;e<m;e++)d.append('<div class="fr-list-column"></div>')}function T(){if(h<p.length&&o[0].scrollTop>=o[0].scrollHeight-s.opts.imageManagerScrollOffset-o.outerHeight()){u++;for(var e=s.opts.imageManagerPageSize*(u-1);e<Math.min(p.length,s.opts.imageManagerPageSize*u);e++)t(p[e])}}function t(a){var o=new Image,i=v(document.createElement("div")).attr("class","fr-image-container fr-empty fr-image-"+g++).attr("data-loading",s.language.translate("Loading")+"..").attr("data-deleting",s.language.translate("Deleting")+"..");R(!1),o.onload=function(){i.height(Math.floor(i.width()/o.width*o.height));var n=v(document.createElement("img"));if(a.thumb)n.attr("src",a.thumb);else{if(I(L,a),!a.url)return I(_,a),!1;n.attr("src",a.url)}if(a.url&&n.attr("data-url",a.url),a.tag)if(c.find(".fr-modal-more.fr-not-available").removeClass("fr-not-available"),c.find(".fr-modal-tags").show(),0<=a.tag.indexOf(",")){for(var e=a.tag.split(","),t=0;t<e.length;t++)e[t]=e[t].trim(),0===f.find('a[title="'.concat(e[t],'"]')).length&&f.append('<a role="button" title="'.concat(e[t],'">').concat(e[t],"</a>"));n.attr("data-tag",e.join())}else 0===f.find('a[title="'.concat(a.tag.trim(),'"]')).length&&f.append('<a role="button" title="'.concat(a.tag.trim(),'">').concat(a.tag.trim(),"</a>")),n.attr("data-tag",a.tag.trim());for(var r in a.name&&n.attr("alt",a.name),a)a.hasOwnProperty(r)&&"thumb"!==r&&"url"!==r&&"tag"!==r&&n.attr("data-".concat(r),a[r]);i.append(n).append(v(s.icon.create("imageManagerDelete")).addClass("fr-delete-img").attr("title",s.language.translate("Delete"))).append(v(s.icon.create("imageManagerInsert")).addClass("fr-insert-img").attr("title",s.language.translate("Insert"))),f.find(".fr-selected-tag").each(function(e,t){$(n,t.text)||i.hide()}),n.on("load",function(){i.removeClass("fr-empty"),i.height("auto"),h++,x(k(parseInt(n.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1)),R(!1),h%s.opts.imageManagerPageSize==0&&T()}),s.events.trigger("imageManager.imageLoaded",[n])},o.onerror=function(){h++,i.remove(),x(k(parseInt(i.attr("class").match(/fr-image-(\d+)/)[1],10)+1)),I(e,a),h%s.opts.imageManagerPageSize==0&&T()},o.src=a.thumb||a.url,S().append(i)}function S(){var r,a;return d.find(".fr-list-column").each(function(e,t){var n=v(t);0===e?(a=n.outerHeight(),r=n):n.outerHeight()<a&&(a=n.outerHeight(),r=n)}),r}function k(e){e===undefined&&(e=0);for(var t=[],n=g-1;e<=n;n--){var r=d.find(".fr-image-".concat(n));r.length&&(t.push(r),v(document.createElement("div")).attr("id","fr-image-hidden-container").append(r),d.find(".fr-image-".concat(n)).remove())}return t}function x(e){for(var t=e.length-1;0<=t;t--)S().append(e[t])}function R(e){if(e===undefined&&(e=!0),!l.isVisible())return!0;var t=w();if(t!==m){m=t;var n=k();A(),x(n)}s.modals.resize(b),e&&T()}function M(e){for(var t,n=e[0].attributes,r=n.length,a={};r--;)n[r]&&"src"!==(t=n[r].name)&&(a[t]=n[r].value);return a}function O(e){var t=v(e.currentTarget).siblings("img"),n=l.data("instance")||s,r=l.data("current-image");if(s.modals.hide(b),n.image.showProgressBar(),r)r.data("fr-old-src",r.attr("src")),r.trigger("click");else{n.events.focus(!0),n.selection.restore();var a=n.position.getBoundingRect(),o=a.left+a.width/2+v(s.doc).scrollLeft(),i=a.top+a.height+v(s.doc).scrollTop();n.popups.setContainer("image.insert",s.$sc),n.popups.show("image.insert",o,i)}n.image.insert(t.data("url"),!1,M(t),r)}function N(e){var o=v(e.currentTarget).siblings("img"),t=s.language.translate("Are you sure? Image will be deleted.");confirm(t)&&(s.opts.imageManagerDeleteURL?!1!==s.events.trigger("imageManager.beforeDeleteImage",[o])&&(o.parent().addClass("fr-image-deleting"),v(this).ajax({method:s.opts.imageManagerDeleteMethod,url:s.opts.imageManagerDeleteURL,data:Object.assign(Object.assign({src:o.attr("src")},M(o)),s.opts.imageManagerDeleteParams),crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,n){s.events.trigger("imageManager.imageDeleted",[e]);var r=k(parseInt(o.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1);o.parent().remove(),x(r),function a(){l.find("#fr-modal-tags > a").each(function(){0===l.find('#fr-image-list [data-tag*="'.concat(v(this).text(),'"]')).length&&v(this).removeClass("fr-selected-tag").hide()}),B()}(),R(!0)},fail:function(e){I(n,e.response||e.responseText)}})):I(r))}function I(e,t){10<=e&&e<20?i.hide():20<=e&&e<30&&v(".fr-image-deleting").removeClass("fr-image-deleting"),s.events.trigger("imageManager.error",[{code:e,message:a[e]},t])}function D(){var e=c.find(".fr-modal-head-line").outerHeight(),t=f.outerHeight();c.toggleClass("fr-show-tags"),c.hasClass("fr-show-tags")?(c.css("height",e+t),o.css("marginTop",e+t),f.find("a").css("opacity",1)):(c.css("height",e),o.css("marginTop",e),f.find("a").css("opacity",0))}function B(){var e=f.find(".fr-selected-tag");0<e.length?(d.find("img").parents().show(),e.each(function(e,r){d.find("img").each(function(e,t){var n=v(t);$(n,r.text)||n.parent().hide()})})):d.find("img").parents().show(),x(k()),T()}function H(e){e.preventDefault();var t=v(e.currentTarget);t.toggleClass("fr-selected-tag"),s.opts.imageManagerToggleTags&&t.siblings("a").removeClass("fr-selected-tag"),B()}function $(e,t){for(var n=(e.attr("data-tag")||"").split(","),r=0;r<n.length;r++)if(n[r]===t)return!0;return!1}return a[e]="Image cannot be loaded from the passed link.",a[C]="Error during load images request.",a[E]="Missing imageManagerLoadURL option.",a[y]="Parsing load response failed.",a[L]="Missing image thumb.",a[_]="Missing image URL.",a[n]="Error during delete image request.",a[r]="Missing imageManagerDeleteURL option.",{require:["image"],_init:function F(){if(!s.$wp&&"IMG"!==s.el.tagName)return!1},show:function P(){if(!l){var e,t='<button class="fr-command fr-btn fr-modal-more fr-not-available" id="fr-modal-more-'.concat(s.sid,'"><svg xmlns="path_to_url" viewBox="0 0 24 24""><path d="').concat(xt.SVG.tags,'"/></svg></button><h4 data-text="true">').concat(s.language.translate("Manage Images"),'</h4></div>\n <div class="fr-modal-tags" id="fr-modal-tags">');e=s.opts.imageManagerPreloader?'<img class="fr-preloader" id="fr-preloader" alt="'.concat(s.language.translate("Loading"),'.." src="').concat(s.opts.imageManagerPreloader,'" style="display: none;">'):'<span class="fr-preloader" id="fr-preloader" style="display: none;">'.concat(s.language.translate("Loading"),"</span>"),e+='<div class="fr-image-list" id="fr-image-list"></div>';var n=s.modals.create(b,t,e);l=n.$modal,c=n.$head,o=n.$body}l.data("current-image",s.image.get()),s.modals.show(b),i||function r(){i=l.find("#fr-preloader"),d=l.find("#fr-image-list"),f=l.find("#fr-modal-tags"),m=w(),A(),c.css("height",c.find(".fr-modal-head-line").outerHeight()),s.events.$on(v(s.o_win),"resize",function(){R(!!p)}),s.events.bindClick(d,".fr-insert-img",O),s.events.bindClick(d,".fr-delete-img",N),s.helpers.isMobile()&&(s.events.bindClick(d,"div.fr-image-container",function(e){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected"),v(e.currentTarget).addClass("fr-mobile-selected")}),l.on(s._mousedown,function(){l.find(".fr-mobile-selected").removeClass("fr-mobile-selected")})),l.on(s._mousedown+" "+s._mouseup,function(e){e.stopPropagation()}),l.on(s._mousedown,"*",function(){s.events.disableBlur()}),o.on("scroll",T),s.events.bindClick(l,"button#fr-modal-more-".concat(s.sid),D),s.events.bindClick(f,"a",H)}(),function a(){i.show(),d.find(".fr-list-column").empty(),s.opts.imageManagerLoadURL?v(this).ajax({url:s.opts.imageManagerLoadURL,method:s.opts.imageManagerLoadMethod,data:s.opts.imageManagerLoadParams,crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,n){s.events.trigger("imageManager.imagesLoaded",[e]),function r(e,t){try{d.find(".fr-list-column").empty(),g=h=u=0,p=JSON.parse(e),T()}catch(n){I(y,t)}}(e,n.response),i.hide()},fail:function(e){I(C,e.response||e.responseText)}}):I(E)}()},hide:function U(){s.modals.hide(b)}}},!xt.PLUGINS.image)throw new Error("Image manager plugin requires image plugin.");function y(e){var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"path_to_url{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `\xab\xab\xab` and `\xbb\xbb\xbb` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}xt.DEFAULTS.imageInsertButtons.push("imageManager"),xt.RegisterCommand("imageManager",{title:"Browse",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:"imageManager"}),xt.DefineIcon("imageManager",{NAME:"folder",SVG_KEY:"imageManager"}),xt.DefineIcon("imageManagerInsert",{NAME:"plus",SVG_KEY:"add"}),xt.DefineIcon("imageManagerDelete",{NAME:"trash",SVG_KEY:"remove"}),Object.assign(xt.DEFAULTS,{inlineClasses:{"fr-class-code":"Code","fr-class-highlighted":"Highlighted","fr-class-transparency":"Transparent"}}),xt.PLUGINS.inlineClass=function(n){var r=n.$;return{apply:function t(e){n.format.toggle("span",{"class":e})},refreshOnShow:function a(e,t){t.find(".fr-command").each(function(){var e=r(this).data("param1"),t=n.format.is("span",{"class":e});r(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}},xt.RegisterCommand("inlineClass",{type:"dropdown",title:"Inline Class",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.inlineClasses;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="inlineClass" data-param1="'.concat(n,'" title="').concat(t[n],'">').concat(t[n],"</a></li>"));return e+="</ul>"},callback:function(e,t){this.inlineClass.apply(t)},refreshOnShow:function(e,t){this.inlineClass.refreshOnShow(e,t)},plugin:"inlineClass"}),xt.DefineIcon("inlineClass",{NAME:"tag",SVG_KEY:"inlineClass"}),Object.assign(xt.DEFAULTS,{inlineStyles:{"Big Red":"font-size: 20px; color: red;","Small Blue":"font-size: 14px; color: blue;"}}),xt.PLUGINS.inlineStyle=function(a){return{apply:function o(e){for(var t=e.split(";"),n=0;n<t.length;n++){var r=t[n].split(":");t[n].length&&2==r.length&&a.format.applyStyle(r[0].trim(),r[1].trim())}}}},xt.RegisterCommand("inlineStyle",{type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.inlineStyles;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n]+(-1===t[n].indexOf("display:block;")?" display:block;":"");e+='<li role="presentation"><span style="'.concat(r,'" role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="inlineStyle" data-param1="').concat(t[n],'" title="').concat(this.language.translate(n),'">').concat(this.language.translate(n),"</a></span></li>")}return e+="</ul>"},title:"Inline Style",callback:function(e,t){this.inlineStyle.apply(t)},plugin:"inlineStyle"}),xt.DefineIcon("inlineStyle",{NAME:"paint-brush",SVG_KEY:"inlineStyle"}),Object.assign(xt.DEFAULTS,{lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly","img"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),xt.PLUGINS.lineBreaker=function(h){var g,t,a,m=h.$;function l(e,t){var n,r,a,o,i,s,l,c;if(null==e)i=(o=t.parent()).offset().top,n=(l=t.offset().top)-Math.min((l-i)/2,h.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else if(null==t)(s=(o=e.parent()).offset().top+o.outerHeight())<(c=e.offset().top+e.outerHeight())&&(s=(o=m(o).parent()).offset().top+o.outerHeight()),n=c+Math.min(Math.abs(s-c)/2,h.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else{o=e.parent();var d=e.offset().top+e.height(),f=t.offset().top;if(f<d)return!1;n=(d+f)/2,a=o.outerWidth(),r=o.offset().left}if(h.opts.iframe){var p=h.helpers.getPX(h.$wp.find(".fr-iframe").css("padding-top")),u=h.helpers.getPX(h.$wp.find(".fr-iframe").css("padding-left"));r+=h.$iframe.offset().left-h.helpers.scrollLeft()+u,n+=h.$iframe.offset().top-h.helpers.scrollTop()+p}h.$box.append(g),g.css("top",n-h.win.pageYOffset),g.css("left",r-h.win.pageXOffset),g.css("width",a),g.data("tag1",e),g.data("tag2",t),g.addClass("fr-visible").data("instance",h)}function c(e){if(e){var t=m(e);if(0===h.$el.find(t).length)return null;if(e.nodeType!=Node.TEXT_NODE&&t.is(h.opts.lineBreakerTags.join(",")))return t;if(0<t.parents(h.opts.lineBreakerTags.join(",")).length)return e=t.parents(h.opts.lineBreakerTags.join(",")).get(0),0!==h.$el.find(m(e)).length&&m(e).is(h.opts.lineBreakerTags.join(","))?m(e):null}return null}function o(e,t){var n=h.doc.elementFromPoint(e,t);return n&&!m(n).closest(".fr-line-breaker").length&&!h.node.isElement(n)&&n!=h.$wp.get(0)&&function r(e){if("undefined"!=typeof e.inFroalaWrapper)return e.inFroalaWrapper;for(var t=e;e.parentNode&&e.parentNode!==h.$wp.get(0);)e=e.parentNode;return t.inFroalaWrapper=e.parentNode==h.$wp.get(0),t.inFroalaWrapper}(n)?n:null}function i(e,t,n){for(var r=n,a=null;r<=h.opts.lineBreakerOffset&&!a;)(a=o(e,t-r))||(a=o(e,t+r)),r+=n;return a}function d(e,t,n){for(var r=null,a=100;!r&&e>h.$box.offset().left&&e<h.$box.offset().left+h.$box.outerWidth()&&0<a;)(r=o(e,t))||(r=i(e,t,5)),"left"==n?e-=h.opts.lineBreakerHorizontalOffset:e+=h.opts.lineBreakerHorizontalOffset,a-=h.opts.lineBreakerHorizontalOffset;return r}function n(e){var t=a=null,n=null,r=h.doc.elementFromPoint(e.pageX-h.win.pageXOffset,e.pageY-h.win.pageYOffset);(t=r&&("HTML"==r.tagName||"BODY"==r.tagName||h.node.isElement(r)||0<=(r.getAttribute("class")||"").indexOf("fr-line-breaker"))?((n=i(e.pageX-h.win.pageXOffset,e.pageY-h.win.pageYOffset,1))||(n=d(e.pageX-h.win.pageXOffset-h.opts.lineBreakerHorizontalOffset,e.pageY-h.win.pageYOffset,"left")),n||(n=d(e.pageX-h.win.pageXOffset+h.opts.lineBreakerHorizontalOffset,e.pageY-h.win.pageYOffset,"right")),c(n)):c(r))?function s(e,t){var n,r,a=e.offset().top,o=e.offset().top+e.outerHeight();if(Math.abs(o-t)<=h.opts.lineBreakerOffset||Math.abs(t-a)<=h.opts.lineBreakerOffset)if(Math.abs(o-t)<Math.abs(t-a)){var i=null;for((r=e.get(0)).nextSibling&&(i=r.nextSibling.offsetParent?r.nextSibling:null);i&&i.nodeType==Node.TEXT_NODE&&0===i.textContent.length;)i=i.nextSibling;if(!i)return l(e,null),!0;if(n=c(i))return l(e,n),!0}else{if(!(r=e.get(0)).previousSibling)return l(null,e),!0;if(n=c(r.previousSibling))return l(n,e),!0}g.removeClass("fr-visible").removeData("instance")}(t,e.pageY):h.core.sameInstance(g)&&g.removeClass("fr-visible").removeData("instance")}function r(e){return!(g.hasClass("fr-visible")&&!h.core.sameInstance(g))&&(h.popups.areVisible()||h.el.querySelector(".fr-selected-cell")?(g.removeClass("fr-visible"),!0):void(!1!==t||h.edit.isDisabled()||(a&&clearTimeout(a),a=setTimeout(n,30,e))))}function s(){a&&clearTimeout(a),g&&g.hasClass("fr-visible")&&g.removeClass("fr-visible").removeData("instance")}var f=function f(){t=!0,s()},p=function p(){t=!1};function u(e){e.preventDefault();var t=g.data("instance")||h;g.removeClass("fr-visible").removeData("instance");var n=g.data("tag1"),r=g.data("tag2"),a=h.html.defaultTag();null==n?a&&"TD"!=r.parent().get(0).tagName&&0===r.parents(a).length?r.before("<".concat(a,">").concat(xt.MARKERS,"<br></").concat(a,">")):r.before("".concat(xt.MARKERS,"<br>")):a&&"TD"!=n.parent().get(0).tagName&&0===n.parents(a).length?n.after("<".concat(a,">").concat(xt.MARKERS,"<br></").concat(a,">")):n.after("".concat(xt.MARKERS,"<br>")),t.selection.restore(),h.toolbar.enable()}return{_init:function v(){if(!h.$wp)return!1;!function e(){h.shared.$line_breaker||(h.shared.$line_breaker=m(document.createElement("div")).attr("class","fr-line-breaker").html('<a class="fr-floating-btn" role="button" tabIndex="-1" title="'.concat(h.language.translate("Break"),'"><svg xmlns="path_to_url" viewBox="0 0 24 24"><rect x="17" y="7" width="2" height="8"/><rect x="10" y="13" width="7" height="2"/><path d="M10.000,10.000 L10.000,18.013 L5.000,14.031 L10.000,10.000 Z"/></svg></a>'))),g=h.shared.$line_breaker,h.events.on("shared.destroy",function(){g.html("").removeData().remove(),g=null},!0),h.events.on("destroy",function(){g.removeData("instance").removeClass("fr-visible"),m("body").first().append(g),clearTimeout(a)},!0),h.events.$on(g,"mousemove",function(e){e.stopPropagation()},!0),h.events.bindClick(g,"a",u)}(),t=!1,h.events.$on(h.$win,"mousemove",r),h.events.$on(m(h.win),"scroll",s),h.events.on("popups.show.table.edit",s),h.events.on("commands.after",s),h.events.$on(m(h.win),"mousedown",f),h.events.$on(m(h.win),"mouseup",p)}}},Object.assign(xt.DEFAULTS,{lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"}}),xt.PLUGINS.lineHeight=function(r){var s=r.$;return{_init:function e(){},apply:function a(e){r.selection.save(),r.html.wrap(!0,!0,!0,!0),r.selection.restore();var t=r.selection.blocks();t.length&&s(t[0]).parent().is("td")&&r.format.applyStyle("line-height",e.toString()),r.selection.save();for(var n=0;n<t.length;n++)s(t[n]).css("line-height",e),""===s(t[n]).attr("style")&&s(t[n]).removeAttr("style");r.html.unwrap(),r.selection.restore()},refreshOnShow:function o(e,t){var n=r.selection.blocks();if(n.length){var i=s(n[0]);t.find(".fr-command").each(function(){var e=s(this).data("param1"),t=i.attr("style"),n=0<=(t||"").indexOf("line-height: "+e+";");if(t){var r=t.substring(t.indexOf("line-height")),a=r.substr(0,r.indexOf(";")),o=a&&a.split(":")[1];o&&o.length||"Default"!==i.text()||(n=!0)}t&&-1!==t.indexOf("line-height")||""!==e||(n=!0),s(this).toggleClass("fr-active",n).attr("aria-selected",n)})}}}},xt.RegisterCommand("lineHeight",{type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.lineHeights;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command '.concat(n,'" tabIndex="-1" role="option" data-cmd="lineHeight" data-param1="').concat(t[n],'" title="').concat(this.language.translate(n),'">').concat(this.language.translate(n),"</a></li>"));return e+="</ul>"},title:"Line Height",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:"lineHeight"}),xt.DefineIcon("lineHeight",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"lineHeight"}),Object.assign(xt.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"}),Object.assign(xt.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{},linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"path_to_url",target:"_blank"},{text:"Google",href:"path_to_url",target:"_blank"},{displayText:"Facebook",href:"path_to_url"}],linkText:!0}),xt.PLUGINS.link=function(m){var v=m.$;function b(){var e=m.image?m.image.get():null;if(e||!m.$wp)return"A"==m.el.tagName?m.el:e&&e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?e.get(0).parentNode:void 0;var t=m.selection.ranges(0).commonAncestorContainer;try{t&&(t.contains&&t.contains(m.el)||!m.el.contains(t)||m.el==t)&&(t=null)}catch(a){t=null}if(t&&"A"===t.tagName)return t;var n=m.selection.element(),r=m.selection.endElement();"A"==n.tagName||m.node.isElement(n)||(n=v(n).parentsUntil(m.$el,"a").first().get(0)),"A"==r.tagName||m.node.isElement(r)||(r=v(r).parentsUntil(m.$el,"a").first().get(0));try{r&&(r.contains&&r.contains(m.el)||!m.el.contains(r)||m.el==r)&&(r=null)}catch(a){r=null}try{n&&(n.contains&&n.contains(m.el)||!m.el.contains(n)||m.el==n)&&(n=null)}catch(a){n=null}return r&&r==n&&"A"==r.tagName?(m.browser.msie||m.helpers.isMobile())&&(m.selection.info(n).atEnd||m.selection.info(n).atStart)?null:n:null}function C(){var e,t,n,r,a=m.image?m.image.get():null,o=[];if(a)"A"==a.get(0).parentNode.tagName&&o.push(a.get(0).parentNode);else if(m.win.getSelection){var i=m.win.getSelection();if(i.getRangeAt&&i.rangeCount){r=m.doc.createRange();for(var s=0;s<i.rangeCount;++s)if((t=(e=i.getRangeAt(s)).commonAncestorContainer)&&1!=t.nodeType&&(t=t.parentNode),t&&"a"==t.nodeName.toLowerCase())o.push(t);else{n=t.getElementsByTagName("a");for(var l=0;l<n.length;++l)r.selectNodeContents(n[l]),r.compareBoundaryPoints(e.END_TO_START,e)<1&&-1<r.compareBoundaryPoints(e.START_TO_END,e)&&o.push(n[l])}}}else if(m.doc.selection&&"Control"!=m.doc.selection.type)if("a"==(t=(e=m.doc.selection.createRange()).parentElement()).nodeName.toLowerCase())o.push(t);else{n=t.getElementsByTagName("a"),r=m.doc.body.createTextRange();for(var c=0;c<n.length;++c)r.moveToElementText(n[c]),-1<r.compareEndPoints("StartToEnd",e)&&r.compareEndPoints("EndToStart",e)<1&&o.push(n[c])}return o}function E(a){if(m.core.hasFocus()){if(o(),a&&"keyup"===a.type&&(a.altKey||a.which==xt.KEYCODE.ALT))return!0;setTimeout(function(){if(!a||a&&(1==a.which||"mouseup"!=a.type)){var e=b(),t=m.image?m.image.get():null;if(e&&!t){if(m.image){var n=m.node.contents(e);if(1==n.length&&"IMG"==n[0].tagName){var r=m.selection.ranges(0);return 0===r.startOffset&&0===r.endOffset?v(e).before(xt.MARKERS):v(e).after(xt.MARKERS),m.selection.restore(),!1}}a&&a.stopPropagation(),i(e)}}},m.helpers.isIOS()?100:0)}}function i(e){var t=m.popups.get("link.edit");t||(t=function o(){var e="";1<=m.opts.linkEditButtons.length&&("A"==m.el.tagName&&0<=m.opts.linkEditButtons.indexOf("linkRemove")&&m.opts.linkEditButtons.splice(m.opts.linkEditButtons.indexOf("linkRemove"),1),e='<div class="fr-buttons">'.concat(m.button.buildList(m.opts.linkEditButtons),"</div>"));var t={buttons:e},n=m.popups.create("link.edit",t);m.$wp&&m.events.$on(m.$wp,"scroll.link-edit",function(){b()&&m.popups.isVisible("link.edit")&&i(b())});return n}());var n=v(e);m.popups.isVisible("link.edit")||m.popups.refresh("link.edit"),m.popups.setContainer("link.edit",m.$sc);var r=n.offset().left+n.outerWidth()/2,a=n.offset().top+n.outerHeight();m.popups.show("link.edit",r,a,n.outerHeight(),!0)}function o(){m.popups.hide("link.edit")}function l(){var e=m.popups.get("link.insert"),t=b();if(t){var n,r,a=v(t),o=e.find('input.fr-link-attr[type="text"]'),i=e.find('input.fr-link-attr[type="checkbox"]');for(n=0;n<o.length;n++)(r=v(o[n])).val(a.attr(r.attr("name")||""));for(i.attr("checked",!1),n=0;n<i.length;n++)r=v(i[n]),a.attr(r.attr("name"))==r.data("checked")&&r.attr("checked",!0);e.find('input.fr-link-attr[type="text"][name="text"]').val(a.text())}else e.find('input.fr-link-attr[type="text"]').val(""),e.find('input.fr-link-attr[type="checkbox"]').attr("checked",!1),e.find('input.fr-link-attr[type="text"][name="text"]').val(m.selection.text());e.find("input.fr-link-attr").trigger("change"),(m.image?m.image.get():null)?e.find('.fr-link-attr[name="text"]').parent().hide():e.find('.fr-link-attr[name="text"]').parent().show()}function s(e){if(e)return m.popups.onRefresh("link.insert",l),!0;var t="";1<=m.opts.linkInsertButtons.length&&(t='<div class="fr-buttons fr-tabs">'.concat(m.button.buildList(m.opts.linkInsertButtons),"</div>"));var n="",r=0;for(var a in n='<div class="fr-link-insert-layer fr-layer fr-active" id="fr-link-insert-layer-'.concat(m.id,'">'),n+='<div class="fr-input-line"><input id="fr-link-insert-layer-url-'.concat(m.id,'" name="href" type="text" class="fr-link-attr" placeholder="').concat(m.language.translate("URL"),'" tabIndex="').concat(++r,'"></div>'),m.opts.linkText&&(n+='<div class="fr-input-line"><input id="fr-link-insert-layer-text-'.concat(m.id,'" name="text" type="text" class="fr-link-attr" placeholder="').concat(m.language.translate("Text"),'" tabIndex="').concat(++r,'"></div>')),m.opts.linkAttributes)if(m.opts.linkAttributes.hasOwnProperty(a)){var o=m.opts.linkAttributes[a];n+='<div class="fr-input-line"><input name="'.concat(a,'" type="text" class="fr-link-attr" placeholder="').concat(m.language.translate(o),'" tabIndex="').concat(++r,'"></div>')}m.opts.linkAlwaysBlank||(n+='<div class="fr-checkbox-line"><span class="fr-checkbox"><input name="target" class="fr-link-attr" data-checked="_blank" type="checkbox" id="fr-link-target-'.concat(m.id,'" tabIndex="').concat(++r,'"><span>').concat('<svg version="1.1" xmlns="path_to_url" xmlns:xlink="path_to_url" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>','</span></span><label id="fr-label-target-').concat(m.id,'">').concat(m.language.translate("Open in new tab"),"</label></div>"));var i={buttons:t,input_layer:n+='<div class="fr-action-buttons"><button class="fr-command fr-submit" role="button" data-cmd="linkInsert" href="#" tabIndex="'.concat(++r,'" type="button">').concat(m.language.translate("Insert"),"</button></div></div>")},s=m.popups.create("link.insert",i);return m.$wp&&m.events.$on(m.$wp,"scroll.link-insert",function(){(m.image?m.image.get():null)&&m.popups.isVisible("link.insert")&&f(),m.popups.isVisible("link.insert")&&d()}),s}function c(e,t,n){if(m.opts.trackChangesEnabled){if(m.edit.on(),m.events.focus(!0),m.undo.saveStep(),m.markers.insert(),m.html.wrap(),!m.$el.find(".fr-marker").length)return void m.popups.hide("link.insert");m.markers.remove()}if(void 0===n&&(n={}),!1===m.events.trigger("link.beforeInsert",[e,t,n]))return!1;var r=m.image?m.image.get():null;r||"A"==m.el.tagName?"A"==m.el.tagName&&m.$el.focus():(m.selection.restore(),m.popups.hide("link.insert"));var a=e;m.opts.linkConvertEmailAddress&&m.helpers.isEmail(e)&&!/^mailto:.*/i.test(e)&&(e="mailto:".concat(e));if(""===m.opts.linkAutoPrefix||new RegExp("^("+xt.LinkProtocols.join("|")+"):.","i").test(e)||/^data:image.*/i.test(e)||/^(https?:|ftps?:|file:|)\/\//i.test(e)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)||["/","{","[","#","(","."].indexOf((e||"")[0])<0&&(e=m.opts.linkAutoPrefix+e),e=m.helpers.sanitizeURL(e),m.opts.linkAlwaysBlank&&(n.target="_blank"),m.opts.linkAlwaysNoFollow&&(n.rel="nofollow"),m.helpers.isEmail(a)&&(n.target=null,n.rel=null),"_blank"==n.target?(m.opts.linkNoOpener&&(n.rel?n.rel+=" noopener":n.rel="noopener"),m.opts.linkNoReferrer&&(n.rel?n.rel+=" noreferrer":n.rel="noreferrer")):null==n.target&&(n.rel?n.rel=n.rel.replace(/noopener/,"").replace(/noreferrer/,""):n.rel=null),t=t||"",e===m.opts.linkAutoPrefix)return m.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),m.events.trigger("link.bad",[a]),!1;var o,i=b();if(i){if((o=v(i)).attr("href",e),0<t.length&&o.text()!=t&&!r){if(m.opts.trackChangesEnabled){var s=v(o.get(0).outerHTML);s.insertBefore(o.parent());var l=m.track_changes.wrapLinkInTracking(s,m.track_changes.getPendingChanges().length-1),c=m.track_changes.wrapInDelete(l);o.parent().append(c)}for(var d=o.get(0);1===d.childNodes.length&&d.childNodes[0].nodeType==Node.ELEMENT_NODE;)d=d.childNodes[0];v(d).text(t)}for(var f in r||o.prepend(xt.START_MARKER).append(xt.END_MARKER),n)n[f]?o.attr(f,n[f]):o.removeAttr(f);r||m.selection.restore()}else{r?(r.wrap('<a href="'.concat(e,'"></a>')),m.image.hasCaption()&&r.parent().append(r.parents(".fr-img-caption").find(".fr-inner"))):(m.format.remove("a"),m.selection.isCollapsed()?(t=0===t.length?a:t,m.html.insert('<a href="'.concat(e,'">').concat(xt.START_MARKER).concat(t.replace(/&/g,"&amp;").replace(/</,"&lt;",">","&gt;")).concat(xt.END_MARKER,"</a>")),m.selection.restore()):0<t.length&&t!=m.selection.text().replace(/\n/g,"")?(m.selection.remove(),m.html.insert('<a href="'.concat(e,'">').concat(xt.START_MARKER).concat(t.replace(/&/g,"&amp;")).concat(xt.END_MARKER,"</a>")),m.selection.restore()):(!function g(){if(!m.selection.isCollapsed()){m.selection.save();for(var e=m.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();e.length;){var t=v(e.pop());t.removeClass("fr-unprocessed");var n=m.node.deepestParent(t.get(0));if(n){for(var r=t.get(0),a="",o="";r=r.parentNode,m.node.isBlock(r)||(a+=m.node.closeTagString(r),o=m.node.openTagString(r)+o),r!=n;);var i=m.node.openTagString(t.get(0))+t.html()+m.node.closeTagString(t.get(0));t.replaceWith('<span id="fr-break"></span>');var s=n.outerHTML;s=(s=s.replace(/<span id="fr-break"><\/span>/g,a+i+o)).replace(o+a,""),n.outerHTML=s}e=m.$el.find(".fr-marker.fr-unprocessed").toArray()}m.html.cleanEmptyTags(),m.selection.restore()}}(),m.format.apply("a",{href:e})));for(var p=C(),u=0;u<p.length;u++)(o=v(p[u])).attr(n),o.removeAttr("_moz_dirty");1==p.length&&m.$wp&&!r&&(v(p[0]).prepend(xt.START_MARKER).append(xt.END_MARKER),m.selection.restore())}if(r){var h=m.popups.get("link.insert");h&&h.find("input:focus").blur(),m.image.edit(r)}else E()}function d(){o();var e=b();if(e){var t=m.popups.get("link.insert");t||(t=s()),m.popups.isVisible("link.insert")||(m.popups.refresh("link.insert"),m.selection.save(),m.helpers.isMobile()&&(m.events.disableBlur(),m.$el.blur(),m.events.enableBlur())),m.popups.setContainer("link.insert",m.$sc);var n=(m.image?m.image.get():null)||v(e),r=n.offset().left+n.outerWidth()/2,a=n.offset().top+n.outerHeight();m.popups.show("link.insert",r,a,n.outerHeight(),!0)}}function f(){var e=m.image?m.image.getEl():null;if(e){var t=m.popups.get("link.insert");m.image.hasCaption()&&(e=e.find(".fr-img-wrap")),t||(t=s()),l(),m.popups.setContainer("link.insert",m.$sc);var n=e.offset().left+e.outerWidth()/2,r=e.offset().top+e.outerHeight();m.popups.show("link.insert",n,r,e.outerHeight(),!0)}}return{_init:function e(){m.events.on("keyup",function(e){e.which!=xt.KEYCODE.ESC&&E(e)}),m.events.on("window.mouseup",E),m.events.$on(m.$el,"click","a",function(e){m.edit.isDisabled()&&e.preventDefault()}),m.helpers.isMobile()&&m.events.$on(m.$doc,"selectionchange",E),s(!0),"A"==m.el.tagName&&m.$el.addClass("fr-view"),m.events.on("toolbar.esc",function(){if(m.popups.isVisible("link.edit"))return m.events.disableBlur(),m.events.focus(),!1},!0)},remove:function r(){var e=b(),t=m.image?m.image.get():null;if(!1===m.events.trigger("link.beforeRemove",[e]))return!1;if(t&&e)if(m.image.hasCaption()){t.addClass("img-link-caption"),v(e).replaceWith(v(e).html());var n=document.querySelectorAll("img.img-link-caption");m.image.edit(v(n[0])),v(n[0]).removeClass("img-link-caption")}else t.unwrap(),m.image.edit(t);else e&&(m.selection.save(),v(e).replaceWith(v(e).html()),m.selection.restore(),o())},showInsertPopup:function p(){var e=m.$tb.find('.fr-command[data-cmd="insertLink"]'),t=m.popups.get("link.insert");if(t||(t=s()),!t.hasClass("fr-active"))if(m.popups.refresh("link.insert"),m.popups.setContainer("link.insert",m.$tb||m.$sc),e.isVisible()){var n=m.button.getPosition(e),r=n.left,a=n.top;m.popups.show("link.insert",r,a,e.outerHeight())}else m.position.forSelection(t),m.popups.show("link.insert")},usePredefined:function u(e){var t,n,r=m.opts.linkList[e],a=m.popups.get("link.insert"),o=a.find('input.fr-link-attr[type="text"]'),i=a.find('input.fr-link-attr[type="checkbox"]');for(r.rel&&(a.rel=r.rel),n=0;n<o.length;n++)r[(t=v(o[n])).attr("name")]?(t.val(r[t.attr("name")]),t.toggleClass("fr-not-empty",!0)):"text"!=t.attr("name")&&t.val("");for(n=0;n<i.length;n++)(t=v(i[n])).attr("checked",t.data("checked")==r[t.attr("name")]);m.accessibility.focusPopup(a)},insertCallback:function h(){var e,t,n=m.popups.get("link.insert"),r=n.find('input.fr-link-attr[type="text"]'),a=n.find('input.fr-link-attr[type="checkbox"]'),o=(r.filter('[name="href"]').val()||"").trim(),i=m.opts.linkText?r.filter('[name="text"]').val():"",s={};for(t=0;t<r.length;t++)e=v(r[t]),["href","text"].indexOf(e.attr("name"))<0&&(s[e.attr("name")]=e.val());for(t=0;t<a.length;t++)(e=v(a[t])).is(":checked")?s[e.attr("name")]=e.data("checked"):s[e.attr("name")]=e.data("unchecked")||null;n.rel&&(s.rel=n.rel);var l=m.helpers.scrollTop();c(o,i,s),v(m.o_win).scrollTop(l)},insert:c,update:d,get:b,allSelected:C,back:function t(){m.image&&m.image.get()?m.image.back():(m.events.disableBlur(),m.selection.restore(),m.events.enableBlur(),b()&&m.$wp?(m.selection.restore(),o(),E()):"A"==m.el.tagName?(m.$el.focus(),E()):(m.popups.hide("link.insert"),m.toolbar.showInline()))},imageLink:f,applyStyle:function g(e,t,n){void 0===n&&(n=m.opts.linkMultipleStyles),void 0===t&&(t=m.opts.linkStyles);var r=b();if(!r)return!1;if(!n){var a=Object.keys(t);a.splice(a.indexOf(e),1),v(r).removeClass(a.join(" "))}v(r).toggleClass(e),E()}}},xt.DefineIcon("insertLink",{NAME:"link",SVG_KEY:"insertLink"}),xt.RegisterShortcut(xt.KEYCODE.K,"insertLink",null,"K"),xt.RegisterCommand("insertLink",{title:"Insert Link",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("link.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("link.insert")):this.link.showInsertPopup()},plugin:"link"}),xt.DefineIcon("linkOpen",{NAME:"external-link",FA5NAME:"external-link-alt",SVG_KEY:"openLink"}),xt.RegisterCommand("linkOpen",{title:"Open Link",undo:!1,refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},callback:function(){var e=this.link.get();e&&(-1!==e.href.indexOf("mailto:")?this.o_win.open(e.href).close():(e.target||(e.target="_self"),this.browser.msie||this.browser.edge?this.o_win.open(e.href,e.target):this.o_win.open(e.href,e.target,"noopener")),this.popups.hide("link.edit"))},plugin:"link"}),xt.DefineIcon("linkEdit",{NAME:"edit",SVG_KEY:"edit"}),xt.RegisterCommand("linkEdit",{title:"Edit Link",undo:!1,refreshAfterCallback:!1,popup:!0,callback:function(){this.link.update()},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),xt.DefineIcon("linkRemove",{NAME:"unlink",SVG_KEY:"unlink"}),xt.RegisterCommand("linkRemove",{title:"Unlink",callback:function(){this.link.remove()},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),xt.DefineIcon("linkBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("linkBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.link.back()},refresh:function(e){var t=this.link.get()&&this.doc.hasFocus();(this.image?this.image.get():null)||t||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))},plugin:"link"}),xt.DefineIcon("linkList",{NAME:"search",SVG_KEY:"search"}),xt.RegisterCommand("linkList",{title:"Choose Link",type:"dropdown",focus:!1,undo:!1,refreshAfterCallback:!1,html:function(){for(var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.linkList,n=0;n<t.length;n++)e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="linkList" data-param1="'.concat(n,'">').concat(t[n].displayText||t[n].text,"</a></li>");return e+="</ul>"},callback:function(e,t){this.link.usePredefined(t)},plugin:"link"}),xt.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate("Update")):e.text(this.language.translate("Insert"))},plugin:"link"}),xt.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"}),xt.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass("fr-separator")&&t.removeClass("fr-hidden"),e.addClass("fr-hidden")):((t=e.prev()).hasClass("fr-separator")&&t.addClass("fr-hidden"),e.removeClass("fr-hidden"))},plugin:"link"}),xt.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"}),xt.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.linkStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="linkStyle" data-param1="'.concat(n,'">').concat(this.language.translate(t[n]),"</a></li>"));return e+="</ul>"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,r=this.link.get();if(r){var a=n(r);t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),Object.assign(xt.DEFAULTS,{listAdvancedTypes:!0}),xt.PLUGINS.lists=function(f){var p=f.$;function u(e){return'<span class="fr-open-'.concat(e.toLowerCase(),'"></span>')}function h(e){return'<span class="fr-close-'.concat(e.toLowerCase(),'"></span>')}function o(e,t){!function c(e,t){for(var n=[],r=0;r<e.length;r++){var a=e[r].parentNode;"LI"==e[r].tagName&&a.tagName!=t&&n.indexOf(a)<0&&n.push(a)}for(var o=n.length-1;0<=o;o--){var i=p(n[o]);i.replaceWith("<".concat(t.toLowerCase()," ").concat(f.node.attributes(i.get(0)),">").concat(i.html(),"</").concat(t.toLowerCase(),">"))}}(e,t);var n,r=f.html.defaultTag(),a=null;e.length&&(n="rtl"==f.opts.direction||"rtl"==p(e[0]).css("direction")?"margin-right":"margin-left");for(var o=0;o<e.length;o++)if("TD"!=e[o].tagName&&"TH"!=e[o].tagName&&"LI"!=e[o].tagName){var i=f.helpers.getPX(p(e[o]).css(n))||0;(e[o].style.marginLeft=null)===a&&(a=i);var s=0<a?"<".concat(t,' style="').concat(n,": ").concat(a,'px ">'):"<".concat(t,">"),l="</".concat(t,">");for(i-=a;0<i/f.opts.indentMargin;)s+="</".concat(t,">"),l+=l,i-=f.opts.indentMargin;r&&e[o].tagName.toLowerCase()==r?p(e[o]).replaceWith("".concat(s,"<li").concat(f.node.attributes(e[o]),">").concat(p(e[o]).html(),"</li>").concat(l)):p(e[o]).wrap("".concat(s,"<li></li>").concat(l))}f.clean.lists()}function i(e){var t,n;for(t=e.length-1;0<=t;t--)for(n=t-1;0<=n;n--)if(p(e[n]).find(e[t]).length||e[n]==e[t]){e.splice(t,1);break}var r=[];for(t=0;t<e.length;t++){var a=p(e[t]),o=e[t].parentNode,i=a.attr("class");if(a.before(h(o.tagName)),"LI"==o.parentNode.tagName)a.before(h("LI")),a.after(u("LI"));else{var s="";i&&(s+=' class="'.concat(i,'"'));var l="rtl"==f.opts.direction||"rtl"==a.css("direction")?"margin-right":"margin-left";f.helpers.getPX(p(o).css(l))&&0<=(p(o).attr("style")||"").indexOf("".concat(l,":"))&&(s+=' style="'.concat(l,":").concat(f.helpers.getPX(p(o).css(l)),'px;"')),f.html.defaultTag()&&0===a.find(f.html.blockTagsQuery()).length&&a.wrapInner(f.html.defaultTag()+s),f.node.isEmpty(a.get(0),!0)||0!==a.find(f.html.blockTagsQuery()).length||a.append("<br>"),a.append(u("LI")),a.prepend(h("LI"))}a.after(u(o.tagName)),"LI"==o.parentNode.tagName&&(o=o.parentNode.parentNode),r.indexOf(o)<0&&r.push(o)}for(t=0;t<r.length;t++){var c=p(r[t]),d=c.html();d=(d=d.replace(/<span class="fr-close-([a-z]*)"><\/span>/g,"</$1>")).replace(/<span class="fr-open-([a-z]*)"><\/span>/g,"<$1>"),c.replaceWith(f.node.openTagString(c.get(0))+d+f.node.closeTagString(c.get(0)))}f.$el.find("li:empty").remove(),f.$el.find("ul:empty, ol:empty").remove(),f.clean.lists(),f.$el.find("ul:empty, ol:empty").remove(),f.html.wrap()}function l(e){f.selection.save();for(var t=0;t<e.length;t++){var n=e[t].previousSibling;if(n){var r=p(e[t]).find("> ul, > ol").last().get(0);if(r){var a=p(document.createElement("li"));p(r).prepend(a);for(var o=f.node.contents(e[t])[0];o&&!f.node.isList(o);){var i=o.nextSibling;a.append(o),o=i}p(n).append(p(r)),p(e[t]).remove()}else{var s=p(n).find("> ul, > ol").last().get(0);if(s)p(s).append(p(e[t]));else{var l=p("<".concat(e[t].parentNode.tagName,">"));p(n).append(l),l.append(p(e[t]))}}}}f.clean.lists(),f.selection.restore()}function c(e){f.selection.save(),i(e),f.selection.restore()}function e(e){if("indent"==e||"outdent"==e){var t=!1,n=f.selection.blocks(),r=[],a=n[0].previousSibling||n[0].parentElement;if("outdent"==e){if("UL"!=a.parentNode.tagName&&"OL"!=a.parentNode.tagName&&"LI"!=a.parentNode.tagName)return;if(!n[0].previousSibling&&"none"==a.parentNode.style.listStyleType)return void function i(e){for(f.selection.save();0<e.childNodes.length;)e.parentNode.parentNode.append(e.childNodes[0]);f.clean.lists(),f.selection.restore()}(a)}else{if("UL"!=a.parentNode.tagName&&"OL"!=a.parentNode.tagName&&"LI"!=a.parentNode.tagName)return;if(!n[0].previousSibling||"LI"!=n[0].previousSibling.tagName)return void function s(e){f.selection.save();for(var t="OL"==e.tagName?document.createElement("ol"):document.createElement("ul");0<e.childNodes.length;)t.append(e.childNodes[0]);var n=document.createElement("li");t.style.listStyleType="none",t.append(n),e.append(t),f.clean.lists(),f.selection.restore()}(a)}for(var o=0;o<n.length;o++)"LI"==n[o].tagName?(t=!0,r.push(n[o])):"LI"==n[o].parentNode.tagName&&(t=!0,r.push(n[o].parentNode));t&&("indent"==e?l(r):c(r))}}return{_init:function t(){f.events.on("commands.after",e),f.events.on("keydown",function(e){if(e.which==xt.KEYCODE.TAB){for(var t=f.selection.blocks(),n=[],r=0;r<t.length;r++)"LI"==t[r].tagName?n.push(t[r]):"LI"==t[r].parentNode.tagName&&n.push(t[r].parentNode);if(1<n.length||n.length&&(f.selection.info(n[0]).atStart||f.node.isEmpty(n[0])))return e.preventDefault(),e.stopPropagation(),e.shiftKey?c(n):l(n),!1}},!0)},format:function s(e,t){var n,r;for(f.html.syncInputs(),f.selection.save(),f.html.wrap(!0,!0,!0,!0),f.selection.restore(),r=f.selection.blocks(!0),n=0;n<r.length;n++)"LI"!=r[n].tagName&&"LI"==r[n].parentNode.tagName&&(r[n]=r[n].parentNode);if(f.selection.save(),function a(e,t){for(var n=!0,r=0;r<e.length;r++){if("LI"!=e[r].tagName)return!1;e[r].parentNode.tagName!=t&&(n=!1)}return n}(r,e)?t||i(r):o(r,e),f.html.unwrap(),f.selection.restore(),t=t||"default"){for(r=f.selection.blocks(),n=0;n<r.length;n++)"LI"!=r[n].tagName&&"LI"==r[n].parentNode.tagName&&(r[n]=r[n].parentNode);for(n=0;n<r.length;n++)"LI"==r[n].tagName&&(p(r[n].parentNode).css("list-style-type","default"===t?"":t),0===(p(r[n].parentNode).attr("style")||"").length&&p(r[n].parentNode).removeAttr("style"))}},refresh:function a(e,t){var n=p(f.selection.element());if(n.get(0)!=f.el){var r=n.get(0);(r="LI"!=r.tagName&&r.firstElementChild&&"LI"!=r.firstElementChild.tagName?n.parents("li").get(0):"LI"==r.tagName||r.firstElementChild?r.firstElementChild&&"LI"==r.firstElementChild.tagName?n.get(0).firstChild:n.get(0):n.parents("li").get(0))&&r.parentNode.tagName==t&&f.el.contains(r.parentNode)&&e.addClass("fr-active")}}}},xt.DefineIcon("formatOLSimple",{NAME:"list-ol",SVG_KEY:"orderedList"}),xt.RegisterCommand("formatOLSimple",{title:"Ordered List",type:"button",options:{"default":"Default",circle:"Circle",disc:"Disc",square:"Square"},refresh:function(e){this.lists.refresh(e,"OL")},callback:function(e,t){this.lists.format("OL",t)},plugin:"lists"}),xt.RegisterCommand("formatUL",{title:"Unordered List",type:"button",hasOptions:function(){return this.opts.listAdvancedTypes},options:{"default":"Default",circle:"Circle",disc:"Disc",square:"Square"},refresh:function(e){this.lists.refresh(e,"UL")},callback:function(e,t){this.lists.format("UL",t)},plugin:"lists"}),xt.RegisterCommand("formatOL",{title:"Ordered List",hasOptions:function(){return this.opts.listAdvancedTypes},options:{"default":"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},refresh:function(e){this.lists.refresh(e,"OL")},callback:function(e,t){this.lists.format("OL",t)},plugin:"lists"}),xt.DefineIcon("formatUL",{NAME:"list-ul",SVG_KEY:"unorderedList"}),xt.DefineIcon("formatOL",{NAME:"list-ol",SVG_KEY:"orderedList"}),Object.assign(xt.DEFAULTS,{paragraphFormat:{N:"Normal",H1:"Heading 1",H2:"Heading 2",H3:"Heading 3",H4:"Heading 4",PRE:"Code"},paragraphFormatSelection:!1,paragraphDefaultSelection:"Paragraph Format"}),xt.PLUGINS.paragraphFormat=function(p){var u=p.$;function h(e,t){var n=p.html.defaultTag();if(t&&t.toLowerCase()!=n)if(0<e.find("ul, ol").length){var r=u("<"+t+">");e.prepend(r);for(var a=p.node.contents(e.get(0))[0];a&&["UL","OL"].indexOf(a.tagName)<0;){var o=a.nextSibling;r.append(a),a=o}}else e.html("<"+t+">"+e.html()+"</"+t+">")}return{apply:function g(e){"N"==e&&(e=p.html.defaultTag()),p.selection.save(),p.html.wrap(!0,!0,!p.opts.paragraphFormat.BLOCKQUOTE,!0,!0),p.selection.restore();var t,n,r,a,o,i,s,l,c=p.selection.blocks();p.selection.save(),p.$el.find("pre").attr("skip",!0);for(var d=0;d<c.length;d++)if(c[d].tagName!=e&&!p.node.isList(c[d])){var f=u(c[d]);"LI"==c[d].tagName?h(f,e):"LI"==c[d].parentNode.tagName&&c[d]?(i=f,s=e,l=p.html.defaultTag(),s&&s.toLowerCase()!=l||(s='div class="fr-temp-div"'),i.replaceWith(u("<"+s+">").html(i.html()))):0<=["TD","TH"].indexOf(c[d].parentNode.tagName)?(r=f,a=e,o=p.html.defaultTag(),a||(a='div class="fr-temp-div"'+(p.node.isEmpty(r.get(0),!0)?' data-empty="true"':"")),a.toLowerCase()==o?(p.node.isEmpty(r.get(0),!0)||r.append("<br/>"),r.replaceWith(r.html())):r.replaceWith(u("<"+a+">").html(r.html()))):(t=f,(n=e)||(n='div class="fr-temp-div"'+(p.node.isEmpty(t.get(0),!0)?' data-empty="true"':"")),"H1"!=n&&"H2"!=n&&"H3"!=n&&"H4"!=n&&"H5"!=n||!p.node.attributes(t.get(0)).includes("font-size:")?t.replaceWith(u("<"+n+" "+p.node.attributes(t.get(0))+">").html(t.html()).removeAttr("data-empty")):t.replaceWith(u("<"+n+" "+p.node.attributes(t.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(t.html()).removeAttr("data-empty")))}p.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){u(this).prev().append("<br>"+u(this).html()),u(this).remove()}),p.$el.find("pre").removeAttr("skip"),p.html.unwrap(),p.selection.restore()},refreshOnShow:function i(e,t){var n=p.selection.blocks();if(n.length){var r=n[0],a="N",o=p.html.defaultTag();r.tagName.toLowerCase()!=o&&r!=p.el&&(a=r.tagName),t.find('.fr-command[data-param1="'+a+'"]').addClass("fr-active").attr("aria-selected",!0)}else t.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function o(e){if(p.opts.paragraphFormatSelection){var t=p.selection.blocks();if(t.length){var n=t[0],r="N",a=p.html.defaultTag();n.tagName.toLowerCase()!=a&&n!=p.el&&(r=n.tagName),0<=["LI","TD","TH"].indexOf(r)&&(r="N"),e.find(">span").text(p.language.translate(p.opts.paragraphFormat[r]))}else e.find(">span").text(p.language.translate(p.opts.paragraphFormat.N))}}}},xt.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(e){return e.opts.paragraphFormatSelection},defaultSelection:function(e){return e.language.translate(e.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.paragraphFormat;for(var n in t)if(t.hasOwnProperty(n)){var r=this.shortcuts.get("paragraphFormat."+n);r=r?'<span class="fr-shortcut">'+r+"</span>":"",e+='<li role="presentation"><'+("N"==n?this.html.defaultTag()||"DIV":n)+' style="padding: 0 !important; margin: 0 !important; border: 0 !important; background-color: transparent !important; '+("PRE"==n||"N"==n?"font-size: 15px":"font-weight: bold !important; ")+("H1"==n?"font-size: 2em !important; ":"")+("H2"==n?"font-size: 1.5em !important; ":"")+("H3"==n?"font-size: 1.17em !important; ":"")+("H4"==n?"font-size: 15px !important;":"")+'" role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="paragraphFormat" data-param1="'+n+'" title="'+this.language.translate(t[n])+'">'+this.language.translate(t[n])+"</a></"+("N"==n?this.html.defaultTag()||"DIV":n)+"></li>"}return e+="</ul>"},title:"Paragraph Format",callback:function(e,t){this.paragraphFormat.apply(t)},refresh:function(e){this.paragraphFormat.refresh(e)},refreshOnShow:function(e,t){this.paragraphFormat.refreshOnShow(e,t)},plugin:"paragraphFormat"}),xt.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"}),Object.assign(xt.DEFAULTS,{paragraphStyles:{"fr-text-gray":"Gray","fr-text-bordered":"Bordered","fr-text-spaced":"Spaced","fr-text-uppercase":"Uppercase"},paragraphMultipleStyles:!0}),xt.PLUGINS.paragraphStyle=function(s){var l=s.$;return{_init:function e(){},apply:function c(e,t,n){void 0===t&&(t=s.opts.paragraphStyles),void 0===n&&(n=s.opts.paragraphMultipleStyles);var r="";n||((r=Object.keys(t)).splice(r.indexOf(e),1),r=r.join(" ")),s.selection.save(),s.html.wrap(!0,!0,!0,!0),s.selection.restore();var a=s.selection.blocks();s.selection.save();for(var o=l(a[0]).hasClass(e),i=0;i<a.length;i++)l(a[i]).removeClass(r).toggleClass(e,!o),l(a[i]).hasClass("fr-temp-div")&&l(a[i]).removeClass("fr-temp-div"),""===l(a[i]).attr("class")&&l(a[i]).removeAttr("class");s.html.unwrap(),s.selection.restore()},refreshOnShow:function a(e,t){var n=s.selection.blocks();if(n.length){var r=l(n[0]);t.find(".fr-command").each(function(){var e=l(this).data("param1"),t=r.hasClass(e);l(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}}},xt.RegisterCommand("paragraphStyle",{type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.paragraphStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command '.concat(n,'" tabIndex="-1" role="option" data-cmd="paragraphStyle" data-param1="').concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+="</ul>"},title:"Paragraph Style",callback:function(e,t){this.paragraphStyle.apply(t)},refreshOnShow:function(e,t){this.paragraphStyle.refreshOnShow(e,t)},plugin:"paragraphStyle"}),xt.DefineIcon("paragraphStyle",{NAME:"magic",SVG_KEY:"paragraphStyle"}),Object.assign(xt.DEFAULTS,{html2pdf:window.html2pdf}),xt.PLUGINS.print=function(l){return{run:function e(){!function s(e){var t=l.html.get(),n=null;l.shared.print_iframe?n=l.shared.print_iframe:((n=document.createElement("iframe")).name="fr-print",n.style.position="fixed",n.style.top="0",n.style.left="-9999px",n.style.height="100%",n.style.width="0",n.style.overflow="hidden",n.style["z-index"]="2147483647",n.style.tabIndex="-1",l.events.on("shared.destroy",function(){n.remove()}),l.shared.print_iframe=n);try{document.body.removeChild(n)}catch(i){}document.body.appendChild(n);var r=function r(){e(),n.removeEventListener("load",r)};n.addEventListener("load",r);var a=n.contentWindow;a.document.open(),a.document.write("<!DOCTYPE html><html "+(l.opts.documentReady?'style="margin: 0; padding: 0;"':"")+"><head><title>"+document.title+"</title>"),Array.prototype.forEach.call(document.querySelectorAll("style"),function(e){e=e.cloneNode(!0),a.document.write(e.outerHTML)});var o=document.querySelectorAll("link[rel=stylesheet]");Array.prototype.forEach.call(o,function(e){var t=document.createElement("link");t.rel=e.rel,t.href=e.href,t.media="print",t.type="text/css",t.media="all",a.document.write(t.outerHTML)}),a.document.write('</head><body style="height:auto;text-align: '+("rtl"==l.opts.direction?"right":"left")+"; direction: "+l.opts.direction+"; "+(l.opts.documentReady?" padding: 2cm; width: 17cm; margin: 0;":"")+'"><div class="fr-view">'),a.document.write(t),a.document.write("</div></body></html>"),a.document.close()}(function(){setTimeout(function(){l.events.disableBlur(),window.frames["fr-print"].focus(),window.frames["fr-print"].print(),l.$win.get(0).focus(),l.events.disableBlur(),l.events.focus()},0)})},toPDF:function t(){l.opts.html2pdf&&(l.$el.css("text-align","left"),l.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(l.el).save(),setTimeout(function(){l.$el.css("text-align","")},100))}}},xt.DefineIcon("print",{NAME:"print",SVG_KEY:"print"}),xt.RegisterCommand("print",{title:"Print",undo:!1,focus:!1,plugin:"print",callback:function(){this.print.run()}}),xt.DefineIcon("getPDF",{NAME:"file-pdf-o",FA5NAME:"file-pdf",SVG_KEY:"pdfExport"}),xt.RegisterCommand("getPDF",{title:"Download PDF",type:"button",focus:!1,undo:!1,callback:function(){this.print.toPDF()}}),Object.assign(xt.DEFAULTS,{quickInsertButtons:["image","video","embedly","table","ul","ol","hr"],quickInsertTags:["p","div","h1","h2","h3","h4","h5","h6","pre","blockquote"],quickInsertEnabled:!0}),xt.QUICK_INSERT_BUTTONS={},xt.DefineIcon("quickInsert",{SVG_KEY:"add",template:"svg"}),xt.RegisterQuickInsertButton=function(e,t){xt.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},t)},xt.RegisterQuickInsertButton("image",{icon:"insertImage",requiredPlugin:"image",title:"Insert Image",undo:!1,callback:function(){var e=this,t=e.$;e.shared.$qi_image_input||(e.shared.$qi_image_input=t(document.createElement("input")).attr("accept","image/"+e.opts.imageAllowedTypes.join(", image/").toLowerCase()).attr("name","quickInsertImage".concat(this.id)).attr("style","display: none;").attr("type","file"),t("body").first().append(e.shared.$qi_image_input),e.events.$on(e.shared.$qi_image_input,"change",function(){var e=t(this).data("inst");this.files&&(e.quickInsert.hide(),e.image.upload(this.files)),t(this).val("")},!0)),e.$qi_image_input=e.shared.$qi_image_input,e.helpers.isMobile()&&e.selection.save(),e.events.disableBlur(),e.$qi_image_input.data("inst",e)[0].click()}}),xt.RegisterQuickInsertButton("video",{icon:"insertVideo",requiredPlugin:"video",title:"Insert Video",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of the video you want to insert."));e&&this.video.insertByURL(e)}}),xt.RegisterQuickInsertButton("embedly",{icon:"embedly",requiredPlugin:"embedly",title:"Embed URL",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of any web content you want to insert."));e&&this.embedly.add(e)}}),xt.RegisterQuickInsertButton("table",{icon:"insertTable",requiredPlugin:"table",title:"Insert Table",callback:function(){this.table.insert(2,2)}}),xt.RegisterQuickInsertButton("ol",{icon:"formatOL",requiredPlugin:"lists",title:"Ordered List",callback:function(){this.lists.format("OL")}}),xt.RegisterQuickInsertButton("ul",{icon:"formatUL",requiredPlugin:"lists",title:"Unordered List",callback:function(){this.lists.format("UL")}}),xt.RegisterQuickInsertButton("hr",{icon:"insertHR",title:"Insert Horizontal Line",callback:function(){this.commands.insertHR()}}),xt.PLUGINS.quickInsert=function(i){var s,l,c=i.$,d=!1;function n(e){var t,n,r;(t=e.offset().top-i.$box.offset().top,n=(i.$iframe&&i.$iframe.offset().left||0)+e.offset().left-e.position().left-4<s.outerWidth()?e.offset().left+s.outerWidth():0-s.outerWidth(),i.opts.enter!=xt.ENTER_BR)?r=(s.outerHeight()-e.outerHeight())/2:(c(document.createElement("span")).html(xt.INVISIBLE_SPACE).insertAfter(e),r=(s.outerHeight()-e.next().outerHeight())/2,e.next().remove());if(i.opts.iframe){var a=i.helpers.getPX(i.$wp.find(".fr-iframe").css("padding-top"));t+=i.$iframe.offset().top+a}s.hasClass("fr-on")&&0<=t&&l.css("top",t-r),0<=t&&t-Math.abs(r)<=i.$box.outerHeight()-e.outerHeight()?(s.hasClass("fr-hidden")&&(s.hasClass("fr-on")&&f(),s.removeClass("fr-hidden")),s.css("top",t-r)):s.hasClass("fr-visible")&&!i.opts.toolbarInline&&(s.addClass("fr-hidden"),p()),s.css("left",n)}function a(e){i.markdown&&i.markdown.isEnabled()||(s||function t(){i.shared.$quick_insert||(i.shared.$quick_insert=c(document.createElement("div")).attr("class","fr-quick-insert").html('<a class="fr-floating-btn" role="button" tabIndex="-1" title="'.concat(i.language.translate("Quick Insert"),'">').concat(i.icon.create("quickInsert"),"</a>")));s=i.shared.$quick_insert,i.tooltip.bind(i.$box,".fr-quick-insert > a.fr-floating-btn"),i.events.on("destroy",function(){c("body").first().append(s.removeClass("fr-on")),l&&(p(),c("body").first().append(l.css("left",-9999).css("top",-9999)))},!0),i.events.on("shared.destroy",function(){s.html("").removeData().remove(),s=null,l&&(l.html("").removeData().remove(),l=null)},!0),i.events.on("commands.before",o),i.events.on("commands.after",function(){i.popups.areVisible()||r()}),i.events.bindClick(i.$box,".fr-quick-insert > a",f),i.events.bindClick(i.$box,".fr-qi-helper > a.fr-btn",function(e){var t=c(e.currentTarget).data("cmd");if(!1===i.events.trigger("quickInsert.commands.before",[t]))return!1;xt.QUICK_INSERT_BUTTONS[t].callback.apply(i,[e.currentTarget]),xt.QUICK_INSERT_BUTTONS[t].undo&&i.undo.saveStep(),i.events.trigger("quickInsert.commands.after",[t]),i.quickInsert.hide()}),i.events.$on(i.$wp,"scroll",u),i.events.$on(i.$tb,"transitionend",".fr-more-toolbar",u)}(),s.hasClass("fr-on")&&p(),i.$box.append(s),n(e),s.data("tag",e),s.addClass("fr-visible"))}function r(){if(i.core.hasFocus()){var e=i.selection.element();if(i.opts.enter==xt.ENTER_BR||i.node.isBlock(e)||(e=i.node.blockParent(e)),i.opts.enter==xt.ENTER_BR&&!i.node.isBlock(e)){var t=i.node.deepestParent(e);t&&(e=t)}var n=function n(){return i.opts.enter!=xt.ENTER_BR&&i.node.isEmpty(e)&&0<=i.opts.quickInsertTags.indexOf(e.tagName.toLowerCase())},r=function r(){return i.opts.enter==xt.ENTER_BR&&("BR"==e.tagName&&(!e.previousSibling||"BR"==e.previousSibling.tagName||i.node.isBlock(e.previousSibling))||i.node.isEmpty(e)&&(!e.previousSibling||"BR"==e.previousSibling.tagName||i.node.isBlock(e.previousSibling))&&(!e.nextSibling||"BR"==e.nextSibling.tagName||i.node.isBlock(e.nextSibling)))};e&&(n()||r())?s&&s.data("tag").is(c(e))&&s.hasClass("fr-on")?p():i.selection.isCollapsed()&&a(c(e)):o()}}function o(){s&&!d&&(s.hasClass("fr-on")&&p(),s.removeClass("fr-visible fr-on"),s.css("left",-9999).css("top",-9999))}function f(e){if(e&&e.preventDefault(),s.hasClass("fr-on")&&!s.hasClass("fr-hidden"))p();else{if(!i.shared.$qi_helper){for(var t=i.opts.quickInsertButtons,n='<div class="fr-qi-helper">',r=0,a=0;a<t.length;a++){var o=xt.QUICK_INSERT_BUTTONS[t[a]];o&&(!o.requiredPlugin||xt.PLUGINS[o.requiredPlugin]&&0<=i.opts.pluginsEnabled.indexOf(o.requiredPlugin))&&(n+='<a class="fr-btn fr-floating-btn" role="button" title="'.concat(i.language.translate(o.title),'" tabIndex="-1" data-cmd="').concat(t[a],'" style="transition-delay: ').concat(.025*r++,'s;">').concat(i.icon.create(o.icon),"</a>"))}n+="</div>",i.shared.$qi_helper=c(n),i.tooltip.bind(i.shared.$qi_helper,"a.fr-btn"),i.events.$on(i.shared.$qi_helper,"mousedown",function(e){e.preventDefault()},!0)}l=i.shared.$qi_helper,i.$box.append(l),d=!0,setTimeout(function(){d=!1,l.css("top",parseFloat(s.css("top"))),l.css("left",parseFloat(s.css("left"))+s.outerWidth()),l.find("a").addClass("fr-size-1"),s.addClass("fr-on")},10)}}function p(){var n=i.$box.find(".fr-qi-helper");n.length&&function(){for(var t=n.find("a"),e=0;e<t.length;e++)!function(e){setTimeout(function(){n.children().eq(t.length-1-e).removeClass("fr-size-1")},25*e)}(e);setTimeout(function(){n.css("left",-9999),s&&!s.hasClass("fr-hidden")&&s.removeClass("fr-on")},25*e)}()}function u(){s.hasClass("fr-visible")&&n(s.data("tag"))}return{_init:function e(){if(!i.$wp||!i.opts.quickInsertEnabled)return!1;i.popups.onShow("image.edit",o),i.events.on("mouseup",r),i.helpers.isMobile()&&i.events.$on(c(i.o_doc),"selectionchange",r),i.events.on("blur",o),i.events.on("keyup",r),i.events.on("keydown",function(){setTimeout(function(){r()},0)})},hide:o}},xt.PLUGINS.quote=function(o){var i=o.$;function s(e){for(;e.parentNode&&e.parentNode!=o.el;)e=e.parentNode;return e}return{apply:function t(e){o.selection.save(),o.html.wrap(!0,!0,!0,!0),o.selection.restore(),"increase"==e?function r(){o.html.unwrap();var e,t=o.selection.blocks();for(e=0;e<t.length;e++)t[e]=s(t[e]);o.selection.save();var n=i(document.createElement("blockquote"));for(n.insertBefore(t[0]),e=0;e<t.length;e++)n.append(t[e]);o.opts.trackChangesEnabled&&o.track_changes.addQuote(n),o.selection.isCollapsed()||o.selection.restore()}():"decrease"==e&&function a(){var e=o.opts.trackChangesEnabled;o.html.unwrap();var t,n=o.selection.blocks();for(t=0;t<n.length;t++)"BLOCKQUOTE"!=n[t].tagName&&(n[t]=e&&i(n[t]).parentsUntil(o.$el,"[data-track-id^=pending]").get(0)||i(n[t]).parentsUntil(o.$el,"BLOCKQUOTE").get(0));for(o.selection.save(),t=0;t<n.length;t++)n[t]&&(e?o.track_changes.removeQuote(i(n[t]),t):i(n[t]).replaceWith(n[t].innerHTML));o.selection.isCollapsed()||o.selection.restore()}()}}},xt.RegisterShortcut(xt.KEYCODE.SINGLE_QUOTE,"quote","increase","'"),xt.RegisterShortcut(xt.KEYCODE.SINGLE_QUOTE,"quote","decrease","'",!0),xt.RegisterCommand("quote",{title:"Quote",type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t={increase:"Increase",decrease:"Decrease"};for(var n in t)if(t.hasOwnProperty(n)){var r=this.shortcuts.get("quote.".concat(n));e+='<li role="presentation"><a class="fr-command fr-active '.concat(n,'" tabIndex="-1" role="option" data-cmd="quote" data-param1="').concat(n,'" title="').concat(t[n],'">').concat(this.language.translate(t[n])).concat(r?'<span class="fr-shortcut">'.concat(r,"</span>"):"","</a></li>")}return e+="</ul>"},callback:function(e,t){this.quote.apply(t)},plugin:"quote"}),xt.DefineIcon("quote",{NAME:"quote-left",SVG_KEY:"blockquote"}),Object.assign(xt.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:"body",saveMethod:"POST"}),xt.PLUGINS.save=function(s){var l=s.$,r=null,c=null,t=!1,d=1,f=2,n={};function p(e,t){s.events.trigger("save.error",[{code:e,message:n[e]},t])}function a(e){void 0===e&&(e=s.html.get());var r=e,t=s.events.trigger("save.before",[e]);if(!1===t)return!1;if("string"==typeof t&&(e=t),s.opts.saveURL){var n={};for(var a in s.opts.saveParams)if(s.opts.saveParams.hasOwnProperty(a)){var o=s.opts.saveParams[a];n[a]="function"==typeof o?o.call(this):o}var i={};i[s.opts.saveParam]=e,l(this).ajax({method:s.opts.saveMethod,url:s.opts.saveURL,data:Object.assign(i,n),crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,t,n){c=r,s.events.trigger("save.after",[e])},fail:function(e){p(f,e.response||e.responseText)}})}else p(d)}function o(){clearTimeout(r),r=setTimeout(function(){var e=s.html.get();(c!=e||t)&&(t=!1,a(c=e))},0)}return n[d]="Missing saveURL option.",n[f]="Something went wrong during save.",{_init:function i(){if(s.opts.letteringClass)for(var e=s.opts.letteringClass,t=s.$el.find(".".concat(e)).length,n=0;n<t;n++)s.$el.find(".".concat(e))[n].innerHTML=s.$el.find(".".concat(e))[n].innerText.replace(/([\w'-]+|[?.",])/g,"<span class = 'fr-word-select'>$1</span>");s.opts.saveInterval&&(c=s.html.get(),s.events.on("contentChanged",function(){setTimeout(o,s.opts.saveInterval)}),s.events.on("keydown destroy",function(){clearTimeout(r)}))},save:a,reset:function e(){o(),t=!1},force:function u(){t=!0}}},xt.DefineIcon("save",{NAME:"floppy-o",FA5NAME:"save"}),xt.RegisterCommand("save",{title:"Save",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:"save"}),Object.assign(xt.DEFAULTS,{specialCharactersSets:[{title:"Latin","char":"&iexcl;",list:[{"char":"&iexcl;",desc:"INVERTED EXCLAMATION MARK"},{"char":"&cent;",desc:"CENT SIGN"},{"char":"&pound;",desc:"POUND SIGN"},{"char":"&curren;",desc:"CURRENCY SIGN"},{"char":"&yen;",desc:"YEN SIGN"},{"char":"&brvbar;",desc:"BROKEN BAR"},{"char":"&sect;",desc:"SECTION SIGN"},{"char":"&uml;",desc:"DIAERESIS"},{"char":"&copy;",desc:"COPYRIGHT SIGN"},{"char":"&trade;",desc:"TRADEMARK SIGN"},{"char":"&ordf;",desc:"FEMININE ORDINAL INDICATOR"},{"char":"&laquo;",desc:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"&not;",desc:"NOT SIGN"},{"char":"&reg;",desc:"REGISTERED SIGN"},{"char":"&macr;",desc:"MACRON"},{"char":"&deg;",desc:"DEGREE SIGN"},{"char":"&plusmn;",desc:"PLUS-MINUS SIGN"},{"char":"&sup2;",desc:"SUPERSCRIPT TWO"},{"char":"&sup3;",desc:"SUPERSCRIPT THREE"},{"char":"&acute;",desc:"ACUTE ACCENT"},{"char":"&micro;",desc:"MICRO SIGN"},{"char":"&para;",desc:"PILCROW SIGN"},{"char":"&middot;",desc:"MIDDLE DOT"},{"char":"&cedil;",desc:"CEDILLA"},{"char":"&sup1;",desc:"SUPERSCRIPT ONE"},{"char":"&ordm;",desc:"MASCULINE ORDINAL INDICATOR"},{"char":"&raquo;",desc:"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"},{"char":"&frac14;",desc:"VULGAR FRACTION ONE QUARTER"},{"char":"&frac12;",desc:"VULGAR FRACTION ONE HALF"},{"char":"&frac34;",desc:"VULGAR FRACTION THREE QUARTERS"},{"char":"&iquest;",desc:"INVERTED QUESTION MARK"},{"char":"&Agrave;",desc:"LATIN CAPITAL LETTER A WITH GRAVE"},{"char":"&Aacute;",desc:"LATIN CAPITAL LETTER A WITH ACUTE"},{"char":"&Acirc;",desc:"LATIN CAPITAL LETTER A WITH CIRCUMFLEX"},{"char":"&Atilde;",desc:"LATIN CAPITAL LETTER A WITH TILDE"},{"char":"&Auml;",desc:"LATIN CAPITAL LETTER A WITH DIAERESIS "},{"char":"&Aring;",desc:"LATIN CAPITAL LETTER A WITH RING ABOVE"},{"char":"&AElig;",desc:"LATIN CAPITAL LETTER AE"},{"char":"&Ccedil;",desc:"LATIN CAPITAL LETTER C WITH CEDILLA"},{"char":"&Egrave;",desc:"LATIN CAPITAL LETTER E WITH GRAVE"},{"char":"&Eacute;",desc:"LATIN CAPITAL LETTER E WITH ACUTE"},{"char":"&Ecirc;",desc:"LATIN CAPITAL LETTER E WITH CIRCUMFLEX"},{"char":"&Euml;",desc:"LATIN CAPITAL LETTER E WITH DIAERESIS"},{"char":"&Igrave;",desc:"LATIN CAPITAL LETTER I WITH GRAVE"},{"char":"&Iacute;",desc:"LATIN CAPITAL LETTER I WITH ACUTE"},{"char":"&Icirc;",desc:"LATIN CAPITAL LETTER I WITH CIRCUMFLEX"},{"char":"&Iuml;",desc:"LATIN CAPITAL LETTER I WITH DIAERESIS"},{"char":"&ETH;",desc:"LATIN CAPITAL LETTER ETH"},{"char":"&Ntilde;",desc:"LATIN CAPITAL LETTER N WITH TILDE"},{"char":"&Ograve;",desc:"LATIN CAPITAL LETTER O WITH GRAVE"},{"char":"&Oacute;",desc:"LATIN CAPITAL LETTER O WITH ACUTE"},{"char":"&Ocirc;",desc:"LATIN CAPITAL LETTER O WITH CIRCUMFLEX"},{"char":"&Otilde;",desc:"LATIN CAPITAL LETTER O WITH TILDE"},{"char":"&Ouml;",desc:"LATIN CAPITAL LETTER O WITH DIAERESIS"},{"char":"&times;",desc:"MULTIPLICATION SIGN"},{"char":"&Oslash;",desc:"LATIN CAPITAL LETTER O WITH STROKE"},{"char":"&Ugrave;",desc:"LATIN CAPITAL LETTER U WITH GRAVE"},{"char":"&Uacute;",desc:"LATIN CAPITAL LETTER U WITH ACUTE"},{"char":"&Ucirc;",desc:"LATIN CAPITAL LETTER U WITH CIRCUMFLEX"},{"char":"&Uuml;",desc:"LATIN CAPITAL LETTER U WITH DIAERESIS"},{"char":"&Yacute;",desc:"LATIN CAPITAL LETTER Y WITH ACUTE"},{"char":"&THORN;",desc:"LATIN CAPITAL LETTER THORN"},{"char":"&szlig;",desc:"LATIN SMALL LETTER SHARP S"},{"char":"&agrave;",desc:"LATIN SMALL LETTER A WITH GRAVE"},{"char":"&aacute;",desc:"LATIN SMALL LETTER A WITH ACUTE "},{"char":"&acirc;",desc:"LATIN SMALL LETTER A WITH CIRCUMFLEX"},{"char":"&atilde;",desc:"LATIN SMALL LETTER A WITH TILDE"},{"char":"&auml;",desc:"LATIN SMALL LETTER A WITH DIAERESIS"},{"char":"&aring;",desc:"LATIN SMALL LETTER A WITH RING ABOVE"},{"char":"&aelig;",desc:"LATIN SMALL LETTER AE"},{"char":"&ccedil;",desc:"LATIN SMALL LETTER C WITH CEDILLA"},{"char":"&egrave;",desc:"LATIN SMALL LETTER E WITH GRAVE"},{"char":"&eacute;",desc:"LATIN SMALL LETTER E WITH ACUTE"},{"char":"&ecirc;",desc:"LATIN SMALL LETTER E WITH CIRCUMFLEX"},{"char":"&euml;",desc:"LATIN SMALL LETTER E WITH DIAERESIS"},{"char":"&igrave;",desc:"LATIN SMALL LETTER I WITH GRAVE"},{"char":"&iacute;",desc:"LATIN SMALL LETTER I WITH ACUTE"},{"char":"&icirc;",desc:"LATIN SMALL LETTER I WITH CIRCUMFLEX"},{"char":"&iuml;",desc:"LATIN SMALL LETTER I WITH DIAERESIS"},{"char":"&eth;",desc:"LATIN SMALL LETTER ETH"},{"char":"&ntilde;",desc:"LATIN SMALL LETTER N WITH TILDE"},{"char":"&ograve;",desc:"LATIN SMALL LETTER O WITH GRAVE"},{"char":"&oacute;",desc:"LATIN SMALL LETTER O WITH ACUTE"},{"char":"&ocirc;",desc:"LATIN SMALL LETTER O WITH CIRCUMFLEX"},{"char":"&otilde;",desc:"LATIN SMALL LETTER O WITH TILDE"},{"char":"&ouml;",desc:"LATIN SMALL LETTER O WITH DIAERESIS"},{"char":"&divide;",desc:"DIVISION SIGN"},{"char":"&oslash;",desc:"LATIN SMALL LETTER O WITH STROKE"},{"char":"&ugrave;",desc:"LATIN SMALL LETTER U WITH GRAVE"},{"char":"&uacute;",desc:"LATIN SMALL LETTER U WITH ACUTE"},{"char":"&ucirc;",desc:"LATIN SMALL LETTER U WITH CIRCUMFLEX"},{"char":"&uuml;",desc:"LATIN SMALL LETTER U WITH DIAERESIS"},{"char":"&yacute;",desc:"LATIN SMALL LETTER Y WITH ACUTE"},{"char":"&thorn;",desc:"LATIN SMALL LETTER THORN"},{"char":"&yuml;",desc:"LATIN SMALL LETTER Y WITH DIAERESIS"}]},{title:"Greek","char":"&Alpha;",list:[{"char":"&Alpha;",desc:"GREEK CAPITAL LETTER ALPHA"},{"char":"&Beta;",desc:"GREEK CAPITAL LETTER BETA"},{"char":"&Gamma;",desc:"GREEK CAPITAL LETTER GAMMA"},{"char":"&Delta;",desc:"GREEK CAPITAL LETTER DELTA"},{"char":"&Epsilon;",desc:"GREEK CAPITAL LETTER EPSILON"},{"char":"&Zeta;",desc:"GREEK CAPITAL LETTER ZETA"},{"char":"&Eta;",desc:"GREEK CAPITAL LETTER ETA"},{"char":"&Theta;",desc:"GREEK CAPITAL LETTER THETA"},{"char":"&Iota;",desc:"GREEK CAPITAL LETTER IOTA"},{"char":"&Kappa;",desc:"GREEK CAPITAL LETTER KAPPA"},{"char":"&Lambda;",desc:"GREEK CAPITAL LETTER LAMBDA"},{"char":"&Mu;",desc:"GREEK CAPITAL LETTER MU"},{"char":"&Nu;",desc:"GREEK CAPITAL LETTER NU"},{"char":"&Xi;",desc:"GREEK CAPITAL LETTER XI"},{"char":"&Omicron;",desc:"GREEK CAPITAL LETTER OMICRON"},{"char":"&Pi;",desc:"GREEK CAPITAL LETTER PI"},{"char":"&Rho;",desc:"GREEK CAPITAL LETTER RHO"},{"char":"&Sigma;",desc:"GREEK CAPITAL LETTER SIGMA"},{"char":"&Tau;",desc:"GREEK CAPITAL LETTER TAU"},{"char":"&Upsilon;",desc:"GREEK CAPITAL LETTER UPSILON"},{"char":"&Phi;",desc:"GREEK CAPITAL LETTER PHI"},{"char":"&Chi;",desc:"GREEK CAPITAL LETTER CHI"},{"char":"&Psi;",desc:"GREEK CAPITAL LETTER PSI"},{"char":"&Omega;",desc:"GREEK CAPITAL LETTER OMEGA"},{"char":"&alpha;",desc:"GREEK SMALL LETTER ALPHA"},{"char":"&beta;",desc:"GREEK SMALL LETTER BETA"},{"char":"&gamma;",desc:"GREEK SMALL LETTER GAMMA"},{"char":"&delta;",desc:"GREEK SMALL LETTER DELTA"},{"char":"&epsilon;",desc:"GREEK SMALL LETTER EPSILON"},{"char":"&zeta;",desc:"GREEK SMALL LETTER ZETA"},{"char":"&eta;",desc:"GREEK SMALL LETTER ETA"},{"char":"&theta;",desc:"GREEK SMALL LETTER THETA"},{"char":"&iota;",desc:"GREEK SMALL LETTER IOTA"},{"char":"&kappa;",desc:"GREEK SMALL LETTER KAPPA"},{"char":"&lambda;",desc:"GREEK SMALL LETTER LAMBDA"},{"char":"&mu;",desc:"GREEK SMALL LETTER MU"},{"char":"&nu;",desc:"GREEK SMALL LETTER NU"},{"char":"&xi;",desc:"GREEK SMALL LETTER XI"},{"char":"&omicron;",desc:"GREEK SMALL LETTER OMICRON"},{"char":"&pi;",desc:"GREEK SMALL LETTER PI"},{"char":"&rho;",desc:"GREEK SMALL LETTER RHO"},{"char":"&sigmaf;",desc:"GREEK SMALL LETTER FINAL SIGMA"},{"char":"&sigma;",desc:"GREEK SMALL LETTER SIGMA"},{"char":"&tau;",desc:"GREEK SMALL LETTER TAU"},{"char":"&upsilon;",desc:"GREEK SMALL LETTER UPSILON"},{"char":"&phi;",desc:"GREEK SMALL LETTER PHI"},{"char":"&chi;",desc:"GREEK SMALL LETTER CHI"},{"char":"&psi;",desc:"GREEK SMALL LETTER PSI"},{"char":"&omega;",desc:"GREEK SMALL LETTER OMEGA"},{"char":"&thetasym;",desc:"GREEK THETA SYMBOL"},{"char":"&upsih;",desc:"GREEK UPSILON WITH HOOK SYMBOL"},{"char":"&straightphi;",desc:"GREEK PHI SYMBOL"},{"char":"&piv;",desc:"GREEK PI SYMBOL"},{"char":"&Gammad;",desc:"GREEK LETTER DIGAMMA"},{"char":"&gammad;",desc:"GREEK SMALL LETTER DIGAMMA"},{"char":"&varkappa;",desc:"GREEK KAPPA SYMBOL"},{"char":"&varrho;",desc:"GREEK RHO SYMBOL"},{"char":"&straightepsilon;",desc:"GREEK LUNATE EPSILON SYMBOL"},{"char":"&backepsilon;",desc:"GREEK REVERSED LUNATE EPSILON SYMBOL"}]},{title:"Cyrillic","char":"&#x400",list:[{"char":"&#x400",desc:"CYRILLIC CAPITAL LETTER IE WITH GRAVE"},{"char":"&#x401",desc:"CYRILLIC CAPITAL LETTER IO"},{"char":"&#x402",desc:"CYRILLIC CAPITAL LETTER DJE"},{"char":"&#x403",desc:"CYRILLIC CAPITAL LETTER GJE"},{"char":"&#x404",desc:"CYRILLIC CAPITAL LETTER UKRAINIAN IE"},{"char":"&#x405",desc:"CYRILLIC CAPITAL LETTER DZE"},{"char":"&#x406",desc:"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"&#x407",desc:"CYRILLIC CAPITAL LETTER YI"},{"char":"&#x408",desc:"CYRILLIC CAPITAL LETTER JE"},{"char":"&#x409",desc:"CYRILLIC CAPITAL LETTER LJE"},{"char":"&#x40A",desc:"CYRILLIC CAPITAL LETTER NJE"},{"char":"&#x40B",desc:"CYRILLIC CAPITAL LETTER TSHE"},{"char":"&#x40C",desc:"CYRILLIC CAPITAL LETTER KJE"},{"char":"&#x40D",desc:"CYRILLIC CAPITAL LETTER I WITH GRAVE"},{"char":"&#x40E",desc:"CYRILLIC CAPITAL LETTER SHORT U"},{"char":"&#x40F",desc:"CYRILLIC CAPITAL LETTER DZHE"},{"char":"&#x410",desc:"CYRILLIC CAPITAL LETTER A"},{"char":"&#x411",desc:"CYRILLIC CAPITAL LETTER BE"},{"char":"&#x412",desc:"CYRILLIC CAPITAL LETTER VE"},{"char":"&#x413",desc:"CYRILLIC CAPITAL LETTER GHE"},{"char":"&#x414",desc:"CYRILLIC CAPITAL LETTER DE"},{"char":"&#x415",desc:"CYRILLIC CAPITAL LETTER IE"},{"char":"&#x416",desc:"CYRILLIC CAPITAL LETTER ZHE"},{"char":"&#x417",desc:"CYRILLIC CAPITAL LETTER ZE"},{"char":"&#x418",desc:"CYRILLIC CAPITAL LETTER I"},{"char":"&#x419",desc:"CYRILLIC CAPITAL LETTER SHORT I"},{"char":"&#x41A",desc:"CYRILLIC CAPITAL LETTER KA"},{"char":"&#x41B",desc:"CYRILLIC CAPITAL LETTER EL"},{"char":"&#x41C",desc:"CYRILLIC CAPITAL LETTER EM"},{"char":"&#x41D",desc:"CYRILLIC CAPITAL LETTER EN"},{"char":"&#x41E",desc:"CYRILLIC CAPITAL LETTER O"},{"char":"&#x41F",desc:"CYRILLIC CAPITAL LETTER PE"},{"char":"&#x420",desc:"CYRILLIC CAPITAL LETTER ER"},{"char":"&#x421",desc:"CYRILLIC CAPITAL LETTER ES"},{"char":"&#x422",desc:"CYRILLIC CAPITAL LETTER TE"},{"char":"&#x423",desc:"CYRILLIC CAPITAL LETTER U"},{"char":"&#x424",desc:"CYRILLIC CAPITAL LETTER EF"},{"char":"&#x425",desc:"CYRILLIC CAPITAL LETTER HA"},{"char":"&#x426",desc:"CYRILLIC CAPITAL LETTER TSE"},{"char":"&#x427",desc:"CYRILLIC CAPITAL LETTER CHE"},{"char":"&#x428",desc:"CYRILLIC CAPITAL LETTER SHA"},{"char":"&#x429",desc:"CYRILLIC CAPITAL LETTER SHCHA"},{"char":"&#x42A",desc:"CYRILLIC CAPITAL LETTER HARD SIGN"},{"char":"&#x42B",desc:"CYRILLIC CAPITAL LETTER YERU"},{"char":"&#x42C",desc:"CYRILLIC CAPITAL LETTER SOFT SIGN"},{"char":"&#x42D",desc:"CYRILLIC CAPITAL LETTER E"},{"char":"&#x42E",desc:"CYRILLIC CAPITAL LETTER YU"},{"char":"&#x42F",desc:"CYRILLIC CAPITAL LETTER YA"},{"char":"&#x430",desc:"CYRILLIC SMALL LETTER A"},{"char":"&#x431",desc:"CYRILLIC SMALL LETTER BE"},{"char":"&#x432",desc:"CYRILLIC SMALL LETTER VE"},{"char":"&#x433",desc:"CYRILLIC SMALL LETTER GHE"},{"char":"&#x434",desc:"CYRILLIC SMALL LETTER DE"},{"char":"&#x435",desc:"CYRILLIC SMALL LETTER IE"},{"char":"&#x436",desc:"CYRILLIC SMALL LETTER ZHE"},{"char":"&#x437",desc:"CYRILLIC SMALL LETTER ZE"},{"char":"&#x438",desc:"CYRILLIC SMALL LETTER I"},{"char":"&#x439",desc:"CYRILLIC SMALL LETTER SHORT I"},{"char":"&#x43A",desc:"CYRILLIC SMALL LETTER KA"},{"char":"&#x43B",desc:"CYRILLIC SMALL LETTER EL"},{"char":"&#x43C",desc:"CYRILLIC SMALL LETTER EM"},{"char":"&#x43D",desc:"CYRILLIC SMALL LETTER EN"},{"char":"&#x43E",desc:"CYRILLIC SMALL LETTER O"},{"char":"&#x43F",desc:"CYRILLIC SMALL LETTER PE"},{"char":"&#x440",desc:"CYRILLIC SMALL LETTER ER"},{"char":"&#x441",desc:"CYRILLIC SMALL LETTER ES"},{"char":"&#x442",desc:"CYRILLIC SMALL LETTER TE"},{"char":"&#x443",desc:"CYRILLIC SMALL LETTER U"},{"char":"&#x444",desc:"CYRILLIC SMALL LETTER EF"},{"char":"&#x445",desc:"CYRILLIC SMALL LETTER HA"},{"char":"&#x446",desc:"CYRILLIC SMALL LETTER TSE"},{"char":"&#x447",desc:"CYRILLIC SMALL LETTER CHE"},{"char":"&#x448",desc:"CYRILLIC SMALL LETTER SHA"},{"char":"&#x449",desc:"CYRILLIC SMALL LETTER SHCHA"},{"char":"&#x44A",desc:"CYRILLIC SMALL LETTER HARD SIGN"},{"char":"&#x44B",desc:"CYRILLIC SMALL LETTER YERU"},{"char":"&#x44C",desc:"CYRILLIC SMALL LETTER SOFT SIGN"},{"char":"&#x44D",desc:"CYRILLIC SMALL LETTER E"},{"char":"&#x44E",desc:"CYRILLIC SMALL LETTER YU"},{"char":"&#x44F",desc:"CYRILLIC SMALL LETTER YA"},{"char":"&#x450",desc:"CYRILLIC SMALL LETTER IE WITH GRAVE"},{"char":"&#x451",desc:"CYRILLIC SMALL LETTER IO"},{"char":"&#x452",desc:"CYRILLIC SMALL LETTER DJE"},{"char":"&#x453",desc:"CYRILLIC SMALL LETTER GJE"},{"char":"&#x454",desc:"CYRILLIC SMALL LETTER UKRAINIAN IE"},{"char":"&#x455",desc:"CYRILLIC SMALL LETTER DZE"},{"char":"&#x456",desc:"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I"},{"char":"&#x457",desc:"CYRILLIC SMALL LETTER YI"},{"char":"&#x458",desc:"CYRILLIC SMALL LETTER JE"},{"char":"&#x459",desc:"CYRILLIC SMALL LETTER LJE"},{"char":"&#x45A",desc:"CYRILLIC SMALL LETTER NJE"},{"char":"&#x45B",desc:"CYRILLIC SMALL LETTER TSHE"},{"char":"&#x45C",desc:"CYRILLIC SMALL LETTER KJE"},{"char":"&#x45D",desc:"CYRILLIC SMALL LETTER I WITH GRAVE"},{"char":"&#x45E",desc:"CYRILLIC SMALL LETTER SHORT U"},{"char":"&#x45F",desc:"CYRILLIC SMALL LETTER DZHE"}]},{title:"Punctuation","char":"&ndash;",list:[{"char":"&ndash;",desc:"EN DASH"},{"char":"&mdash;",desc:"EM DASH"},{"char":"&lsquo;",desc:"LEFT SINGLE QUOTATION MARK"},{"char":"&rsquo;",desc:"RIGHT SINGLE QUOTATION MARK"},{"char":"&sbquo;",desc:"SINGLE LOW-9 QUOTATION MARK"},{"char":"&ldquo;",desc:"LEFT DOUBLE QUOTATION MARK"},{"char":"&rdquo;",desc:"RIGHT DOUBLE QUOTATION MARK"},{"char":"&bdquo;",desc:"DOUBLE LOW-9 QUOTATION MARK"},{"char":"&dagger;",desc:"DAGGER"},{"char":"&Dagger;",desc:"DOUBLE DAGGER"},{"char":"&bull;",desc:"BULLET"},{"char":"&hellip;",desc:"HORIZONTAL ELLIPSIS"},{"char":"&permil;",desc:"PER MILLE SIGN"},{"char":"&prime;",desc:"PRIME"},{"char":"&Prime;",desc:"DOUBLE PRIME"},{"char":"&lsaquo;",desc:"SINGLE LEFT-POINTING ANGLE QUOTATION MARK"},{"char":"&rsaquo;",desc:"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"},{"char":"&oline;",desc:"OVERLINE"},{"char":"&frasl;",desc:"FRACTION SLASH"}]},{title:"Currency","char":"&#x20A0",list:[{"char":"&#x20A0",desc:"EURO-CURRENCY SIGN"},{"char":"&#x20A1",desc:"COLON SIGN"},{"char":"&#x20A2",desc:"CRUZEIRO SIGN"},{"char":"&#x20A3",desc:"FRENCH FRANC SIGN"},{"char":"&#x20A4",desc:"LIRA SIGN"},{"char":"&#x20A5",desc:"MILL SIGN"},{"char":"&#x20A6",desc:"NAIRA SIGN"},{"char":"&#x20A7",desc:"PESETA SIGN"},{"char":"&#x20A8",desc:"RUPEE SIGN"},{"char":"&#x20A9",desc:"WON SIGN"},{"char":"&#x20AA",desc:"NEW SHEQEL SIGN"},{"char":"&#x20AB",desc:"DONG SIGN"},{"char":"&#x20AC",desc:"EURO SIGN"},{"char":"&#x20AD",desc:"KIP SIGN"},{"char":"&#x20AE",desc:"TUGRIK SIGN"},{"char":"&#x20AF",desc:"DRACHMA SIGN"},{"char":"&#x20B0",desc:"GERMAN PENNY SYMBOL"},{"char":"&#x20B1",desc:"PESO SIGN"},{"char":"&#x20B2",desc:"GUARANI SIGN"},{"char":"&#x20B3",desc:"AUSTRAL SIGN"},{"char":"&#x20B4",desc:"HRYVNIA SIGN"},{"char":"&#x20B5",desc:"CEDI SIGN"},{"char":"&#x20B6",desc:"LIVRE TOURNOIS SIGN"},{"char":"&#x20B7",desc:"SPESMILO SIGN"},{"char":"&#x20B8",desc:"TENGE SIGN"},{"char":"&#x20B9",desc:"INDIAN RUPEE SIGN"}]},{title:"Arrows","char":"&#x2190",list:[{"char":"&#x2190",desc:"LEFTWARDS ARROW"},{"char":"&#x2191",desc:"UPWARDS ARROW"},{"char":"&#x2192",desc:"RIGHTWARDS ARROW"},{"char":"&#x2193",desc:"DOWNWARDS ARROW"},{"char":"&#x2194",desc:"LEFT RIGHT ARROW"},{"char":"&#x2195",desc:"UP DOWN ARROW"},{"char":"&#x2196",desc:"NORTH WEST ARROW"},{"char":"&#x2197",desc:"NORTH EAST ARROW"},{"char":"&#x2198",desc:"SOUTH EAST ARROW"},{"char":"&#x2199",desc:"SOUTH WEST ARROW"},{"char":"&#x219A",desc:"LEFTWARDS ARROW WITH STROKE"},{"char":"&#x219B",desc:"RIGHTWARDS ARROW WITH STROKE"},{"char":"&#x219C",desc:"LEFTWARDS WAVE ARROW"},{"char":"&#x219D",desc:"RIGHTWARDS WAVE ARROW"},{"char":"&#x219E",desc:"LEFTWARDS TWO HEADED ARROW"},{"char":"&#x219F",desc:"UPWARDS TWO HEADED ARROW"},{"char":"&#x21A0",desc:"RIGHTWARDS TWO HEADED ARROW"},{"char":"&#x21A1",desc:"DOWNWARDS TWO HEADED ARROW"},{"char":"&#x21A2",desc:"LEFTWARDS ARROW WITH TAIL"},{"char":"&#x21A3",desc:"RIGHTWARDS ARROW WITH TAIL"},{"char":"&#x21A4",desc:"LEFTWARDS ARROW FROM BAR"},{"char":"&#x21A5",desc:"UPWARDS ARROW FROM BAR"},{"char":"&#x21A6",desc:"RIGHTWARDS ARROW FROM BAR"},{"char":"&#x21A7",desc:"DOWNWARDS ARROW FROM BAR"},{"char":"&#x21A8",desc:"UP DOWN ARROW WITH BASE"},{"char":"&#x21A9",desc:"LEFTWARDS ARROW WITH HOOK"},{"char":"&#x21AA",desc:"RIGHTWARDS ARROW WITH HOOK"},{"char":"&#x21AB",desc:"LEFTWARDS ARROW WITH LOOP"},{"char":"&#x21AC",desc:"RIGHTWARDS ARROW WITH LOOP"},{"char":"&#x21AD",desc:"LEFT RIGHT WAVE ARROW"},{"char":"&#x21AE",desc:"LEFT RIGHT ARROW WITH STROKE"},{"char":"&#x21AF",desc:"DOWNWARDS ZIGZAG ARROW"},{"char":"&#x21B0",desc:"UPWARDS ARROW WITH TIP LEFTWARDS"},{"char":"&#x21B1",desc:"UPWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"&#x21B2",desc:"DOWNWARDS ARROW WITH TIP LEFTWARDS"},{"char":"&#x21B3",desc:"DOWNWARDS ARROW WITH TIP RIGHTWARDS"},{"char":"&#x21B4",desc:"RIGHTWARDS ARROW WITH CORNER DOWNWARDS"},{"char":"&#x21B5",desc:"DOWNWARDS ARROW WITH CORNER LEFTWARDS"},{"char":"&#x21B6",desc:"ANTICLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"&#x21B7",desc:"CLOCKWISE TOP SEMICIRCLE ARROW"},{"char":"&#x21B8",desc:"NORTH WEST ARROW TO LONG BAR"},{"char":"&#x21B9",desc:"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR"},{"char":"&#x21BA",desc:"ANTICLOCKWISE OPEN CIRCLE ARROW"},{"char":"&#x21BB",desc:"CLOCKWISE OPEN CIRCLE ARROW"},{"char":"&#x21BC",desc:"LEFTWARDS HARPOON WITH BARB UPWARDS"},{"char":"&#x21BD",desc:"LEFTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"&#x21BE",desc:"UPWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"&#x21BF",desc:"UPWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"&#x21C0",desc:"RIGHTWARDS HARPOON WITH BARB UPWARDS"},{"char":"&#x21C1",desc:"RIGHTWARDS HARPOON WITH BARB DOWNWARDS"},{"char":"&#x21C2",desc:"DOWNWARDS HARPOON WITH BARB RIGHTWARDS"},{"char":"&#x21C3",desc:"DOWNWARDS HARPOON WITH BARB LEFTWARDS"},{"char":"&#x21C4",desc:"RIGHTWARDS ARROW OVER LEFTWARDS ARROW"},{"char":"&#x21C5",desc:"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW"},{"char":"&#x21C6",desc:"LEFTWARDS ARROW OVER RIGHTWARDS ARROW"},{"char":"&#x21C7",desc:"LEFTWARDS PAIRED ARROWS"},{"char":"&#x21C8",desc:"UPWARDS PAIRED ARROWS"},{"char":"&#x21C9",desc:"RIGHTWARDS PAIRED ARROWS"},{"char":"&#x21CA",desc:"DOWNWARDS PAIRED ARROWS"},{"char":"&#x21CB",desc:"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON"},{"char":"&#x21CC",desc:"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON"},{"char":"&#x21CD",desc:"LEFTWARDS DOUBLE ARROW WITH STROKE"},{"char":"&#x21CE",desc:"LEFT RIGHT DOUBLE ARROW WITH STROKE"},{"char":"&#x21CF",desc:"RIGHTWARDS DOUBLE ARROW WITH STROKE"},{"char":"&#x21D0",desc:"LEFTWARDS DOUBLE ARROW"},{"char":"&#x21D1",desc:"UPWARDS DOUBLE ARROW"},{"char":"&#x21D2",desc:"RIGHTWARDS DOUBLE ARROW"},{"char":"&#x21D3",desc:"DOWNWARDS DOUBLE ARROW"},{"char":"&#x21D4",desc:"LEFT RIGHT DOUBLE ARROW"},{"char":"&#x21D5",desc:"UP DOWN DOUBLE ARROW"},{"char":"&#x21D6",desc:"NORTH WEST DOUBLE ARROW"},{"char":"&#x21D7",desc:"NORTH EAST DOUBLE ARROW"},{"char":"&#x21D8",desc:"SOUTH EAST DOUBLE ARROW"},{"char":"&#x21D9",desc:"SOUTH WEST DOUBLE ARROW"},{"char":"&#x21DA",desc:"LEFTWARDS TRIPLE ARROW"},{"char":"&#x21DB",desc:"RIGHTWARDS TRIPLE ARROW"},{"char":"&#x21DC",desc:"LEFTWARDS SQUIGGLE ARROW"},{"char":"&#x21DD",desc:"RIGHTWARDS SQUIGGLE ARROW"},{"char":"&#x21DE",desc:"UPWARDS ARROW WITH DOUBLE STROKE"},{"char":"&#x21DF",desc:"DOWNWARDS ARROW WITH DOUBLE STROKE"},{"char":"&#x21E0",desc:"LEFTWARDS DASHED ARROW"},{"char":"&#x21E1",desc:"UPWARDS DASHED ARROW"},{"char":"&#x21E2",desc:"RIGHTWARDS DASHED ARROW"},{"char":"&#x21E3",desc:"DOWNWARDS DASHED ARROW"},{"char":"&#x21E4",desc:"LEFTWARDS ARROW TO BAR"},{"char":"&#x21E5",desc:"RIGHTWARDS ARROW TO BAR"},{"char":"&#x21E6",desc:"LEFTWARDS WHITE ARROW"},{"char":"&#x21E7",desc:"UPWARDS WHITE ARROW"},{"char":"&#x21E8",desc:"RIGHTWARDS WHITE ARROW"},{"char":"&#x21E9",desc:"DOWNWARDS WHITE ARROW"},{"char":"&#x21EA",desc:"UPWARDS WHITE ARROW FROM BAR"},{"char":"&#x21EB",desc:"UPWARDS WHITE ARROW ON PEDESTAL"},{"char":"&#x21EC",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR"},{"char":"&#x21ED",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR"},{"char":"&#x21EE",desc:"UPWARDS WHITE DOUBLE ARROW"},{"char":"&#x21EF",desc:"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL"},{"char":"&#x21F0",desc:"RIGHTWARDS WHITE ARROW FROM WALL"},{"char":"&#x21F1",desc:"NORTH WEST ARROW TO CORNER"},{"char":"&#x21F2",desc:"SOUTH EAST ARROW TO CORNER"},{"char":"&#x21F3",desc:"UP DOWN WHITE ARROW"},{"char":"&#x21F4",desc:"RIGHT ARROW WITH SMALL CIRCLE"},{"char":"&#x21F5",desc:"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW"},{"char":"&#x21F6",desc:"THREE RIGHTWARDS ARROWS"},{"char":"&#x21F7",desc:"LEFTWARDS ARROW WITH VERTICAL STROKE"},{"char":"&#x21F8",desc:"RIGHTWARDS ARROW WITH VERTICAL STROKE"},{"char":"&#x21F9",desc:"LEFT RIGHT ARROW WITH VERTICAL STROKE"},{"char":"&#x21FA",desc:"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"&#x21FB",desc:"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"&#x21FC",desc:"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE"},{"char":"&#x21FD",desc:"LEFTWARDS OPEN-HEADED ARROW"},{"char":"&#x21FE",desc:"RIGHTWARDS OPEN-HEADED ARROW"},{"char":"&#x21FF",desc:"LEFT RIGHT OPEN-HEADED ARROW"}]},{title:"Math","char":"&forall;",list:[{"char":"&forall;",desc:"FOR ALL"},{"char":"&part;",desc:"PARTIAL DIFFERENTIAL"},{"char":"&exist;",desc:"THERE EXISTS"},{"char":"&empty;",desc:"EMPTY SET"},{"char":"&nabla;",desc:"NABLA"},{"char":"&isin;",desc:"ELEMENT OF"},{"char":"&notin;",desc:"NOT AN ELEMENT OF"},{"char":"&ni;",desc:"CONTAINS AS MEMBER"},{"char":"&prod;",desc:"N-ARY PRODUCT"},{"char":"&sum;",desc:"N-ARY SUMMATION"},{"char":"&minus;",desc:"MINUS SIGN"},{"char":"&lowast;",desc:"ASTERISK OPERATOR"},{"char":"&radic;",desc:"SQUARE ROOT"},{"char":"&prop;",desc:"PROPORTIONAL TO"},{"char":"&infin;",desc:"INFINITY"},{"char":"&ang;",desc:"ANGLE"},{"char":"&and;",desc:"LOGICAL AND"},{"char":"&or;",desc:"LOGICAL OR"},{"char":"&cap;",desc:"INTERSECTION"},{"char":"&cup;",desc:"UNION"},{"char":"&int;",desc:"INTEGRAL"},{"char":"&there4;",desc:"THEREFORE"},{"char":"&sim;",desc:"TILDE OPERATOR"},{"char":"&cong;",desc:"APPROXIMATELY EQUAL TO"},{"char":"&asymp;",desc:"ALMOST EQUAL TO"},{"char":"&ne;",desc:"NOT EQUAL TO"},{"char":"&equiv;",desc:"IDENTICAL TO"},{"char":"&le;",desc:"LESS-THAN OR EQUAL TO"},{"char":"&ge;",desc:"GREATER-THAN OR EQUAL TO"},{"char":"&sub;",desc:"SUBSET OF"},{"char":"&sup;",desc:"SUPERSET OF"},{"char":"&nsub;",desc:"NOT A SUBSET OF"},{"char":"&sube;",desc:"SUBSET OF OR EQUAL TO"},{"char":"&supe;",desc:"SUPERSET OF OR EQUAL TO"},{"char":"&oplus;",desc:"CIRCLED PLUS"},{"char":"&otimes;",desc:"CIRCLED TIMES"},{"char":"&perp;",desc:"UP TACK"}]},{title:"Misc","char":"&spades;",list:[{"char":"&spades;",desc:"BLACK SPADE SUIT"},{"char":"&clubs;",desc:"BLACK CLUB SUIT"},{"char":"&hearts;",desc:"BLACK HEART SUIT"},{"char":"&diams;",desc:"BLACK DIAMOND SUIT"},{"char":"&#x2669",desc:"QUARTER NOTE"},{"char":"&#x266A",desc:"EIGHTH NOTE"},{"char":"&#x266B",desc:"BEAMED EIGHTH NOTES"},{"char":"&#x266C",desc:"BEAMED SIXTEENTH NOTES"},{"char":"&#x266D",desc:"MUSIC FLAT SIGN"},{"char":"&#x266E",desc:"MUSIC NATURAL SIGN"},{"char":"&#x2600",desc:"BLACK SUN WITH RAYS"},{"char":"&#x2601",desc:"CLOUD"},{"char":"&#x2602",desc:"UMBRELLA"},{"char":"&#x2603",desc:"SNOWMAN"},{"char":"&#x2615",desc:"HOT BEVERAGE"},{"char":"&#x2618",desc:"SHAMROCK"},{"char":"&#x262F",desc:"YIN YANG"},{"char":"&#x2714",desc:"HEAVY CHECK MARK"},{"char":"&#x2716",desc:"HEAVY MULTIPLICATION X"},{"char":"&#x2744",desc:"SNOWFLAKE"},{"char":"&#x275B",desc:"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"&#x275C",desc:"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"},{"char":"&#x275D",desc:"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"},{"char":"&#x275E",desc:"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"},{"char":"&#x2764",desc:"HEAVY BLACK HEART"}]}],specialCharButtons:["specialCharBack","|"]}),Object.assign(xt.POPUP_TEMPLATES,{specialCharacters:"[_BUTTONS_][_CUSTOM_LAYER_]"}),xt.PLUGINS.specialCharacters=function(g){var m=g.$,n=g.opts.specialCharactersSets[0],a=g.opts.specialCharactersSets,i="";function s(){return'\n <div class="fr-buttons fr-tabs fr-tabs-scroll">\n '.concat(function t(e,n){var r="";return e.forEach(function(e){var t={elementClass:e.title===n.title?"fr-active fr-active-tab":"",title:e.title,dataParam1:e.title,desc:e["char"]};r+='<button class="fr-command fr-btn fr-special-character-category '.concat(t.elementClass,'" title="').concat(t.title,'" data-cmd="setSpecialCharacterCategory" data-param1="').concat(t.dataParam1,'"><span>').concat(t.desc,"</span></button>")}),r}(a,n),'\n </div>\n <div class="fr-icon-container fr-sc-container">\n ').concat(function r(e){var n="";return e.list.forEach(function(e){var t={dataParam1:e["char"],title:e.desc,splCharValue:e["char"]};n+='<span class="fr-command fr-special-character fr-icon" role="button" \n data-cmd="insertSpecialCharacter" data-param1="'.concat(t.dataParam1,'" \n title="').concat(t.title,'">').concat(t.splCharValue,"</span>")}),n}(n),"\n </div>")}return{setSpecialCharacterCategory:function r(t){n=a.filter(function(e){return e.title===t})[0],function e(){g.popups.get("specialCharacters").html(i+s())}()},showSpecialCharsPopup:function l(){var e=g.popups.get("specialCharacters");if(e||(e=function o(){g.opts.toolbarInline&&0<g.opts.specialCharButtons.length&&(i='<div class="fr-buttons fr-tabs">'.concat(g.button.buildList(g.opts.specialCharButtons),"</div>"));var e={buttons:i,custom_layer:s()},t=g.popups.create("specialCharacters",e);return function n(h){g.events.on("popup.tab",function(e){var t=m(e.currentTarget);if(!g.popups.isVisible("specialCharacters")||!t.is("span, a"))return!0;var n,r,a,o=e.which;if(xt.KEYCODE.TAB==o){if(t.is("span.fr-icon")&&e.shiftKey||t.is("a")&&!e.shiftKey){var i=h.find(".fr-buttons");n=!g.accessibility.focusToolbar(i,!!e.shiftKey)}if(!1!==n){var s=h.find("span.fr-icon:focus").first().concat(h.findVisible(" span.fr-icon").first().concat(h.find("a")));t.is("span.fr-icon")&&(s=s.not("span.fr-icon:not(:focus)")),r=s.index(t),r=e.shiftKey?((r-1)%s.length+s.length)%s.length:(r+1)%s.length,a=s.get(r),g.events.disableBlur(),a.focus(),n=!1}}else if(xt.KEYCODE.ARROW_UP==o||xt.KEYCODE.ARROW_DOWN==o||xt.KEYCODE.ARROW_LEFT==o||xt.KEYCODE.ARROW_RIGHT==o){if(t.is("span.fr-icon")){var l=t.parent().find("span.fr-icon");r=l.index(t);var c=Math.floor(l.length/11),d=r%11,f=Math.floor(r/11),p=11*f+d,u=11*c;xt.KEYCODE.ARROW_UP==o?p=((p-11)%u+u)%u:xt.KEYCODE.ARROW_DOWN==o?p=(p+11)%u:xt.KEYCODE.ARROW_LEFT==o?p=((p-1)%u+u)%u:xt.KEYCODE.ARROW_RIGHT==o&&(p=(p+1)%u),a=m(l.get(p)),g.events.disableBlur(),a.focus(),n=!1}}else xt.KEYCODE.ENTER==o&&(t.is("a")?t[0].click():g.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(t),t}()),!e.hasClass("fr-active")){g.popups.refresh("specialCharacters"),g.popups.setContainer("specialCharacters",g.$tb);var t=g.$tb.find('.fr-command[data-cmd="specialCharacters"]'),n=g.button.getPosition(t),r=n.left,a=n.top;g.popups.show("specialCharacters",r,a,outerHeight)}},back:function e(){g.popups.hide("specialCharacters"),g.toolbar.showInline()}}},xt.DefineIcon("specialCharacters",{NAME:"dollar-sign",SVG_KEY:"symbols"}),xt.RegisterCommand("specialCharacters",{title:"Special Characters",icon:"specialCharacters",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:"specialCharacters",showOnMobile:!0,callback:function(){this.popups.isVisible("specialCharacters")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("specialCharacters")):this.specialCharacters.showSpecialCharsPopup()}}),xt.RegisterCommand("insertSpecialCharacter",{callback:function(e,t){this.undo.saveStep(),this.html.insert(t),this.undo.saveStep(),this.popups.hide("specialCharacters")}}),xt.RegisterCommand("setSpecialCharacterCategory",{undo:!1,focus:!1,callback:function(e,t){this.specialCharacters.setSpecialCharacterCategory(t)}}),xt.DefineIcon("specialCharBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("specialCharBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}}),Object.assign(xt.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(xt.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:["tableHeader","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackground","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders","fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),xt.PLUGINS.table=function(L){var _,c,a,o,r,i,w,A=L.$;function u(){var e=T();if(e){var t=L.popups.get("table.edit");if(t||(t=p()),t){L.popups.setContainer("table.edit",L.$sc);var n=M(e),r=n.left+(n.right-n.left)/2,a=n.bottom;L.popups.show("table.edit",r,a,n.bottom-n.top,!0),L.edit.isDisabled()&&(1<Q().length&&L.toolbar.disable(),L.$el.removeClass("fr-no-selection"),L.edit.on(),L.button.bulkRefresh(),L.selection.setAtEnd(L.$el.find(".fr-selected-cell").last().get(0)),L.selection.restore())}}}function s(){var e=T();if(e){var t=L.popups.get("table.colors");t||(t=function i(){var e="";0<L.opts.tableColorsButtons.length&&(e='<div class="fr-buttons fr-tabs">'.concat(L.button.buildList(L.opts.tableColorsButtons),"</div>"));var t="";L.opts.colorsHEXInput&&(t='<div class="fr-color-hex-layer fr-table-colors-hex-layer fr-active fr-layer" id="fr-table-colors-hex-layer-'.concat(L.id,'"><div class="fr-input-line"><input maxlength="7" id="fr-table-colors-hex-layer-text-').concat(L.id,'" type="text" placeholder="').concat(L.language.translate("HEX Color"),'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="tableCellBackgroundCustomColor" tabIndex="2" role="button">').concat(L.language.translate("OK"),"</button></div></div>"));var n={buttons:e,colors:function a(){for(var e='<div class="fr-color-set fr-table-colors">',t=0;t<L.opts.tableColors.length;t++)0!==t&&t%L.opts.tableColorsStep==0&&(e+="<br>"),"REMOVE"!=L.opts.tableColors[t]?e+='<span class="fr-command" style="background: '.concat(L.opts.tableColors[t],';" tabIndex="-1" role="button" data-cmd="tableCellBackgroundColor" data-param1="').concat(L.opts.tableColors[t],'"><span class="fr-sr-only">').concat(L.language.translate("Color")," ").concat(L.opts.tableColors[t],"&nbsp;&nbsp;&nbsp;</span></span>"):e+='<span class="fr-command" data-cmd="tableCellBackgroundColor" tabIndex="-1" role="button" data-param1="REMOVE" title="'.concat(L.language.translate("Clear Formatting"),'">').concat(L.icon.create("tableColorRemove"),'<span class="fr-sr-only">').concat(L.language.translate("Clear Formatting"),"</span></span>");return e+="</div>"}(),custom_color:t},r=L.popups.create("table.colors",n);return L.events.$on(L.$wp,"scroll.table-colors",function(){L.popups.isVisible("table.colors")&&s()}),function o(h){L.events.on("popup.tab",function(e){var t=A(e.currentTarget);if(!L.popups.isVisible("table.colors")||!t.is("span"))return!0;var n=e.which,r=!0;if(xt.KEYCODE.TAB==n){var a=h.find(".fr-buttons");r=!L.accessibility.focusToolbar(a,!!e.shiftKey)}else if(xt.KEYCODE.ARROW_UP==n||xt.KEYCODE.ARROW_DOWN==n||xt.KEYCODE.ARROW_LEFT==n||xt.KEYCODE.ARROW_RIGHT==n){var o=t.parent().find("span.fr-command"),i=o.index(t),s=L.opts.colorsStep,l=Math.floor(o.length/s),c=i%s,d=Math.floor(i/s),f=d*s+c,p=l*s;xt.KEYCODE.ARROW_UP==n?f=((f-s)%p+p)%p:xt.KEYCODE.ARROW_DOWN==n?f=(f+s)%p:xt.KEYCODE.ARROW_LEFT==n?f=((f-1)%p+p)%p:xt.KEYCODE.ARROW_RIGHT==n&&(f=(f+1)%p);var u=A(o.get(f));L.events.disableBlur(),u.focus(),r=!1}else xt.KEYCODE.ENTER==n&&(L.button.exec(t),r=!1);return!1===r&&(e.preventDefault(),e.stopPropagation()),r},!0)}(r),r}()),L.popups.setContainer("table.colors",L.$sc);var n=M(e),r=(n.left+n.right)/2,a=n.bottom;!function o(){var e=L.popups.get("table.colors"),t=L.$el.find(".fr-selected-cell").first(),n=L.helpers.RGBToHex(t.css("background-color")),r=e.find(".fr-table-colors-hex-layer input");e.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item"),e.find('span[data-param1="'.concat(n,'"]')).addClass("fr-selected-color fr-active-item"),r.val(n).trigger("change")}(),L.popups.show("table.colors",r,a,n.bottom-n.top,!0)}}function l(){0===Q().length&&L.toolbar.enable()}function d(e){if(e)return L.popups.onHide("table.insert",function(){L.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;var t="";0<L.opts.tableInsertButtons.length&&(t='<div class="fr-buttons fr-tabs">'.concat(L.button.buildList(L.opts.tableInsertButtons),"</div>"));var n={buttons:t,rows_columns:function o(){for(var e='<div class="fr-table-size"><div class="fr-table-size-info">1 &times; 1</div><div class="fr-select-table-size">',t=1;t<=L.opts.tableInsertMaxSize;t++){for(var n=1;n<=L.opts.tableInsertMaxSize;n++){var r="inline-block";2<t&&!L.helpers.isMobile()&&(r="none");var a="fr-table-cell ";1==t&&1==n&&(a+=" hover"),e+='<span class="fr-command '.concat(a,'" tabIndex="-1" data-cmd="tableInsert" data-row="').concat(t,'" data-col="').concat(n,'" data-param1="').concat(t,'" data-param2="').concat(n,'" style="display: ').concat(r,';" role="button"><span></span><span class="fr-sr-only">').concat(t," &times; ").concat(n,"&nbsp;&nbsp;&nbsp;</span></span>")}e+='<div class="new-line"></div>'}return e+="</div></div>"}()},r=L.popups.create("table.insert",n);return L.events.$on(r,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(e){f(A(e.currentTarget))},!0),function a(e){L.events.$on(e,"focus","[tabIndex]",function(e){var t=A(e.currentTarget);f(t)}),L.events.on("popup.tab",function(e){var t=A(e.currentTarget);if(!L.popups.isVisible("table.insert")||!t.is("span, a"))return!0;var n,r=e.which;if(xt.KEYCODE.ARROW_UP==r||xt.KEYCODE.ARROW_DOWN==r||xt.KEYCODE.ARROW_LEFT==r||xt.KEYCODE.ARROW_RIGHT==r){if(t.is("span.fr-table-cell")){var a=t.parent().find("span.fr-table-cell"),o=a.index(t),i=L.opts.tableInsertMaxSize,s=o%i,l=Math.floor(o/i);xt.KEYCODE.ARROW_UP==r?l=Math.max(0,l-1):xt.KEYCODE.ARROW_DOWN==r?l=Math.min(L.opts.tableInsertMaxSize-1,l+1):xt.KEYCODE.ARROW_LEFT==r?s=Math.max(0,s-1):xt.KEYCODE.ARROW_RIGHT==r&&(s=Math.min(L.opts.tableInsertMaxSize-1,s+1));var c=l*i+s,d=A(a.get(c));f(d),L.events.disableBlur(),d.focus(),n=!1}}else xt.KEYCODE.ENTER==r&&(L.button.exec(t),n=!1);return!1===n&&(e.preventDefault(),e.stopPropagation()),n},!0)}(r),r}function f(e){var t=e.data("row");null!==t&&(t=parseInt(t));var n=e.data("col");null!==n&&(n=parseInt(n));var r=e.parent();r.siblings(".fr-table-size-info").html("".concat(t," &times; ").concat(n)),r.find("> span").removeClass("hover fr-active-item");for(var a=1;a<=L.opts.tableInsertMaxSize;a++)for(var o=0;o<=L.opts.tableInsertMaxSize;o++){var i=r.find('> span[data-row="'.concat(a,'"][data-col="').concat(o,'"]'));a<=t&&o<=n?i.addClass("hover"):a<=t+1||a<=2&&!L.helpers.isMobile()?i.css("display","inline-block"):2<a&&!L.helpers.isMobile()&&i.css("display","none")}e.addClass("fr-active-item")}function p(e){if(e)return L.popups.onHide("table.edit",l),!0;if(0<L.opts.tableEditButtons.length){var t={buttons:'<div class="fr-buttons">'.concat(L.button.buildList(L.opts.tableEditButtons),"</div>")},n=L.popups.create("table.edit",t);return L.events.$on(L.$wp,"scroll.table-edit",function(){L.popups.isVisible("table.edit")&&u()}),n}return!1}function h(){if(0<Q().length){var e=J();L.selection.setBefore(e.get(0))||L.selection.setAfter(e.get(0)),L.selection.restore(),L.popups.hide("table.edit"),L.opts.trackChangesEnabled?(L.track_changes.removedTable(e),y()):e.remove(),L.toolbar.enable()}}function g(e){var t=J();if(0<t.length){if(0<L.$el.find("th.fr-selected-cell").length&&"above"==e)return;var n,r,a,o=T(),i=R(o);if(null==i)return;r="above"==e?i.min_i:i.max_i;var s="<tr>";for(n=0;n<o[r].length;n++){if("below"==e&&r<o.length-1&&o[r][n]==o[r+1][n]||"above"==e&&0<r&&o[r][n]==o[r-1][n]){if(0===n||0<n&&o[r][n]!=o[r][n-1]){var l=A(o[r][n]);l.attr("rowspan",parseInt(l.attr("rowspan"),10)+1)}}else s+='<td style="'+A(o[r][n]).attr("style")+'" ><br></td>'}s+="</tr>",a=0<L.$el.find("th.fr-selected-cell").length&&"below"==e?A(t.find("tbody").not(t.find("> table tbody"))):A(t.find("tr").not(t.find("> table tr")).get(r)),"below"==e?"TBODY"==a.attr("tagName")?a.prepend(s):a[0].parentNode&&a[0].insertAdjacentHTML("afterend",s):"above"==e&&(a.before(s),L.popups.isVisible("table.edit")&&u())}}function m(e,t,n){var r,a,o,i,s,l=0,c=T(n);if(e<(t=Math.min(t,c[0].length-1)))for(a=e;a<=t;a++)if(!(e<a&&c[0][a]==c[0][a-1])&&1<(i=Math.min(parseInt(c[0][a].getAttribute("colspan"),10)||1,t-e+1))&&c[0][a]==c[0][a+1])for(l=i-1,r=1;r<c.length;r++)if(c[r][a]!=c[r-1][a]){for(o=a;o<a+i;o++)if(1<(s=parseInt(c[r][o].getAttribute("colspan"),10)||1)&&c[r][o]==c[r][o+1])o+=l=Math.min(l,s-1);else if(!(l=Math.max(0,l-1)))break;if(!l)break}l&&b(c,l,"colspan",0,c.length-1,e,t)}function v(e,t,n){var r,a,o,i,s,l=0,c=T(n);if(e<(t=Math.min(t,c.length-1)))for(r=e;r<=t;r++)if(!(e<r&&c[r][0]==c[r-1][0])&&c[r][0]!==undefined&&1<(i=Math.min(parseInt(c[r][0].getAttribute("rowspan"),10)||1,t-e+1))&&c[r][0]==c[r+1][0])for(l=i-1,a=1;a<c[0].length;a++)if(c[r][a]!=c[r][a-1]){for(o=r;o<r+i;o++)if(1<(s=parseInt(c[o][a].getAttribute("rowspan"),10)||1)&&c[o][a]==c[o+1][a])o+=l=Math.min(l,s-1);else if(!(l=Math.max(0,l-1)))break;if(!l)break}l&&b(c,l,"rowspan",e,t,0,c[0].length-1)}function b(e,t,n,r,a,o,i){var s,l,c;for(s=r;s<=a;s++)for(l=o;l<=i;l++)r<s&&e[s][l]==e[s-1][l]||o<l&&e[s][l]==e[s][l-1]||e[s][l]!==undefined&&1<(c=parseInt(e[s][l].getAttribute(n),10)||1)&&(1<c-t?e[s][l].setAttribute(n,c-t):e[s][l].removeAttribute(n))}function C(e,t,n,r,a){v(e,t,a),m(n,r,a)}function t(e){var t=L.$el.find(".fr-selected-cell");"REMOVE"!=e?t.css("background-color",L.helpers.HEXtoRGB(e)):t.css("background-color",""),u()}function T(e){var c=[];if(null==(e=e||null)&&0<Q().length&&(e=J()),e){for(var t=e.find("tr:empty"),n=t.length-1;0<=n;n--)A(t[n]).remove();e.findVisible("tr").not(e.find("> table tr")).each(function(s,e){var t=A(e),l=0;t.find("> th, > td").each(function(e,t){for(var n=A(t),r=parseInt(n.attr("colspan"),10)||1,a=parseInt(n.attr("rowspan"),10)||1,o=s;o<s+a;o++)for(var i=l;i<l+r;i++)c[o]||(c[o]=[]),c[o][i]?l++:c[o][i]=t;l+=r})})}return c}function S(e,t){for(var n=0;n<t.length;n++)for(var r=0;r<t[n].length;r++)if(t[n][r]==e)return{row:n,col:r}}function k(e,t,n){for(var r=e+1,a=t+1;r<n.length;){if(n[r][t]!=n[e][t]){r--;break}r++}for(r==n.length&&r--;a<n[e].length;){if(n[e][a]!=n[e][t]){a--;break}a++}return a==n[e].length&&a--,{row:r,col:a}}function E(){L.el.querySelector(".fr-cell-fixed")&&L.el.querySelector(".fr-cell-fixed").classList.remove("fr-cell-fixed"),L.el.querySelector(".fr-cell-handler")&&L.el.querySelector(".fr-cell-handler").classList.remove("fr-cell-handler")}function y(){var e=L.$el.find(".fr-selected-cell");0<e.length&&e.each(function(){var e=A(this);e.removeClass("fr-selected-cell"),""===e.attr("class")&&e.removeAttr("class")}),E()}function x(){L.events.disableBlur(),L.selection.clear(),L.$el.addClass("fr-no-selection"),L.$el.blur(),L.events.enableBlur()}function R(e){var t=L.$el.find(".fr-selected-cell");if(0<t.length){var n,r=e.length,a=0,o=e[0].length,i=0;for(n=0;n<t.length;n++){var s=S(t[n],e),l=k(s.row,s.col,e);r=Math.min(s.row,r),a=Math.max(l.row,a),o=Math.min(s.col,o),i=Math.max(l.col,i)}return{min_i:r,max_i:a,min_j:o,max_j:i}}return null}function M(e){var t=R(e);if(null!=t){var n=A(e[t.min_i][t.min_j]),r=A(e[t.min_i][t.max_j]),a=A(e[t.max_i][t.min_j]);return{left:n.length&&n.offset().left,right:r.length&&r.offset().left+r.outerWidth(),top:n.length&&n.offset().top,bottom:a.length&&a.offset().top+a.outerHeight()}}}function O(e,t){if(A(e).is(t))y(),A(e).addClass("fr-selected-cell");else{x(),L.edit.off();var n=T(),r=S(e,n),a=S(t,n),o=function u(e,t,n,r,a){var o,i,s,l,c=e,d=t,f=n,p=r;for(o=c;o<=d;o++)(1<(parseInt(A(a[o][f]).attr("rowspan"),10)||1)||1<(parseInt(A(a[o][f]).attr("colspan"),10)||1))&&(l=k((s=S(a[o][f],a)).row,s.col,a),c=Math.min(s.row,c),d=Math.max(l.row,d),f=Math.min(s.col,f),p=Math.max(l.col,p)),(1<(parseInt(A(a[o][p]).attr("rowspan"),10)||1)||1<(parseInt(A(a[o][p]).attr("colspan"),10)||1))&&(l=k((s=S(a[o][p],a)).row,s.col,a),c=Math.min(s.row,c),d=Math.max(l.row,d),f=Math.min(s.col,f),p=Math.max(l.col,p));for(i=f;i<=p;i++)(1<(parseInt(A(a[c][i]).attr("rowspan"),10)||1)||1<(parseInt(A(a[c][i]).attr("colspan"),10)||1))&&(l=k((s=S(a[c][i],a)).row,s.col,a),c=Math.min(s.row,c),d=Math.max(l.row,d),f=Math.min(s.col,f),p=Math.max(l.col,p)),(1<(parseInt(A(a[d][i]).attr("rowspan"),10)||1)||1<(parseInt(A(a[d][i]).attr("colspan"),10)||1))&&(l=k((s=S(a[d][i],a)).row,s.col,a),c=Math.min(s.row,c),d=Math.max(l.row,d),f=Math.min(s.col,f),p=Math.max(l.col,p));return c==e&&d==t&&f==n&&p==r?{min_i:e,max_i:t,min_j:n,max_j:r}:u(c,d,f,p,a)}(Math.min(r.row,a.row),Math.max(r.row,a.row),Math.min(r.col,a.col),Math.max(r.col,a.col),n);y(),e.classList.add("fr-cell-fixed"),t.classList.add("fr-cell-handler");for(var i=o.min_i;i<=o.max_i;i++)for(var s=o.min_j;s<=o.max_j;s++)A(e).closest("table").is(A(n[i][s]).closest("table"))&&A(n[i][s]).addClass("fr-selected-cell")}}function N(e){var t=null,n=A(e.target);return"TD"==e.target.tagName||"TH"==e.target.tagName?t=e.target:0<n.closest("th",n.closest("thead")[0]).length?t=n.closest("th",n.closest("thead")[0]).get(0):0<n.closest("td",n.closest("tr")[0]).length&&(t=n.closest("td",n.closest("tr")[0]).get(0)),-1===L.$el.html.toString().search(t)?null:t}function I(){y(),L.popups.hide("table.edit")}function e(e){var t=N(e);if("false"==A(t).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;if(0<Q().length&&!t&&I(),!L.edit.isDisabled()||L.popups.isVisible("table.edit"))if(1!=e.which||1==e.which&&L.helpers.isMac()&&e.ctrlKey)(3==e.which||1==e.which&&L.helpers.isMac()&&e.ctrlKey)&&t&&I();else if(o=!0,t){0<Q().length&&!e.shiftKey&&I(),e.stopPropagation(),L.events.trigger("image.hideResizer"),L.events.trigger("video.hideResizer"),a=!0;var n=t.tagName.toLowerCase();e.shiftKey&&0<L.$el.find("".concat(n,".fr-selected-cell")).length?A(L.$el.find("".concat(n,".fr-selected-cell")).closest("table")).is(A(t).closest("table"))?O(r,t):x():((L.keys.ctrlKey(e)||e.shiftKey)&&"TD"===e.currentTarget.tagName&&(1<Q().length||0===A(t).find(L.selection.element()).length&&!A(t).is(L.selection.element()))&&x(),r=t,0<L.opts.tableEditButtons.length&&O(r,r))}}function n(e){if(!L.edit.isDisabled()&&L.popups.areVisible())return!0;if(a||L.$tb.is(e.target)||L.$tb.is(A(e.target).closest(".fr-toolbar"))||(0<Q().length&&L.toolbar.enable(),y()),!(1!=e.which||1==e.which&&L.helpers.isMac()&&e.ctrlKey)){if(o=!1,a)a=!1,N(e)||1!=Q().length?0<Q().length?L.selection.isCollapsed()?u():(y(),L.edit.on()):Q().length||(L.$el.removeClass("fr-no-selection"),L.edit.on()):y();if(w){w=!1,_.removeClass("fr-moving"),L.$el.removeClass("fr-no-selection"),L.edit.on();var t=parseFloat(_.css("left"))+L.opts.tableResizerOffset+L.$wp.offset().left;L.opts.iframe&&(t-=L.$iframe.offset().left),_.data("release-position",t),_.removeData("max-left"),_.removeData("max-right"),function E(){var e=_.data("origin"),t=_.data("release-position");if(e!==t){var n=_.data("first"),r=_.data("second"),a=_.data("table"),o=a.outerWidth();if(L.undo.canDo()||L.undo.saveStep(),null!=n&&null!=r){var i,s,l,c=T(a),d=[],f=[],p=[],u=[];for(i=0;i<c.length;i++)s=A(c[i][n]),l=A(c[i][r]),d[i]=s.outerWidth(),p[i]=l.outerWidth(),f[i]=d[i]/o*100,u[i]=p[i]/o*100;for(i=0;i<c.length;i++)if(s=A(c[i][n]),l=A(c[i][r]),c[i][n]!=c[i][r]){var h=(f[i]*(d[i]+t-e)/d[i]).toFixed(4);s.css("width",h+"%"),l.css("width",(f[i]+u[i]-h).toFixed(4)+"%")}}else{var g,m=a.parent(),v=o/m.width()*100,b=(parseInt(a.css("margin-left"),10)||0)/m.width()*100,C=(parseInt(a.css("margin-right"),10)||0)/m.width()*100;"rtl"==L.opts.direction&&0===r||"rtl"!=L.opts.direction&&0!==r?(g=(o+t-e)/o*v,a.css("margin-right","calc(100% - ".concat(Math.round(g).toFixed(4),"% - ").concat(Math.round(b).toFixed(4),"%)"))):("rtl"==L.opts.direction&&0!==r||"rtl"!=L.opts.direction&&0===r)&&(g=(o-t+e)/o*v,a.css("margin-left","calc(100% - ".concat(Math.round(g).toFixed(4),"% - ").concat(Math.round(C).toFixed(4),"%)"))),a.css("width","".concat(Math.round(g).toFixed(4),"%"))}L.selection.restore(),L.undo.saveStep(),L.events.trigger("table.resized",[a.get(0)])}_.removeData("origin"),_.removeData("release-position"),_.removeData("first"),_.removeData("second"),_.removeData("table")}(),F()}}}function D(e){if(!(A(e.currentTarget).is(A(e.originalEvent.relatedTarget))||e.currentTarget.contains(e.originalEvent.relatedTarget)||e.originalEvent.relatedTarget&&e.originalEvent.relatedTarget.contains(e.currentTarget))&&(L.events.$on(A("input"),"click",ee),!0===a&&0<L.opts.tableEditButtons.length)){if(A(e.currentTarget).closest("table").is(J())){if("TD"==e.currentTarget.tagName&&0===L.$el.find("th.fr-selected-cell").length)return void O(r,e.currentTarget);if("TH"==e.currentTarget.tagName&&0===L.$el.find("td.fr-selected-cell").length)return void O(r,e.currentTarget)}x()}}function B(e,t,n,r){for(var a,o=t;o!=L.el&&"TD"!=o.tagName&&"TH"!=o.tagName&&("up"==r?a=o.previousElementSibling:"down"==r&&(a=o.nextElementSibling),!a);)o=o.parentNode;"TD"==o.tagName||"TH"==o.tagName?function i(e,t){for(var n=e;n&&"TABLE"!=n.tagName&&n.parentNode!=L.el;)n=n.parentNode;if(n&&"TABLE"==n.tagName){var r=T(A(n));"up"==t?H(S(e,r),n,r):"down"==t&&$(S(e,r),n,r)}}(o,r):a&&("up"==r&&L.selection.setAtEnd(a),"down"==r&&L.selection.setAtStart(a))}function H(e,t,n){0<A(".tribute-container").length&&"none"!=A(".tribute-container").css("display")||(0<e.row?L.selection.setAtEnd(n[e.row-1][e.col]):B(0,t,0,"up"))}function $(e,t,n){if(!(0<A(".tribute-container").length&&"none"!=A(".tribute-container").css("display"))){var r=parseInt(n[e.row][e.col].getAttribute("rowspan"),10)||1;e.row<n.length-r?L.selection.setAtStart(n[e.row+r][e.col]):B(0,t,0,"down")}}function F(){_&&(_.find("div").css("opacity",0),_.css("top",0),_.css("left",0),_.css("height",0),_.find("div").css("height",0),_.hide())}function P(){c&&c.removeClass("fr-visible").css("left","-9999px")}function U(e,t){var n=A(t),r=n.closest("table"),a=r.parent();if(t&&"TD"!=t.tagName&&"TH"!=t.tagName&&(0<n.closest("td").length?t=n.closest("td"):0<n.closest("th").length&&(t=n.closest("th"))),!t||"TD"!=t.tagName&&"TH"!=t.tagName)_&&n.get(0)!=_.get(0)&&n.parent().get(0)!=_.get(0)&&L.core.sameInstance(_)&&F();else{if(n=A(t),0===L.$el.find(n).length)return!1;var o=n.offset().left-1,i=o+n.outerWidth();if(Math.abs(e.pageX-o)<=L.opts.tableResizerOffset||Math.abs(i-e.pageX)<=L.opts.tableResizerOffset){var s,l,c,d,f,p=T(r),u=S(t,p),h=k(u.row,u.col,p),g=r.offset().top,m=r.outerHeight()-1;"rtl"!=L.opts.direction?e.pageX-o<=L.opts.tableResizerOffset?(c=o,0<u.col?(d=o-G(u.col-1,p)+L.opts.tableResizingLimit,f=o+G(u.col,p)-L.opts.tableResizingLimit,s=u.col-1,l=u.col):(s=null,l=0,d=r.offset().left-1-parseInt(r.css("margin-left"),10),f=r.offset().left-1+r.width()-p[0].length*L.opts.tableResizingLimit)):i-e.pageX<=L.opts.tableResizerOffset&&(c=i,h.col<p[h.row].length&&p[h.row][h.col+1]?(d=i-G(h.col,p)+L.opts.tableResizingLimit,f=i+G(h.col+1,p)-L.opts.tableResizingLimit,s=h.col,l=h.col+1):(s=h.col,l=null,d=r.offset().left-1+p[0].length*L.opts.tableResizingLimit,f=a.offset().left-1+a.width()+parseFloat(a.css("padding-left")))):i-e.pageX<=L.opts.tableResizerOffset?(c=i,0<u.col?(d=i-G(u.col,p)+L.opts.tableResizingLimit,f=i+G(u.col-1,p)-L.opts.tableResizingLimit,s=u.col,l=u.col-1):(s=null,l=0,d=r.offset().left+p[0].length*L.opts.tableResizingLimit,f=a.offset().left-1+a.width()+parseFloat(a.css("padding-left")))):e.pageX-o<=L.opts.tableResizerOffset&&(c=o,h.col<p[h.row].length&&p[h.row][h.col+1]?(d=o-G(h.col+1,p)+L.opts.tableResizingLimit,f=o+G(h.col,p)-L.opts.tableResizingLimit,s=h.col+1,l=h.col):(s=h.col,l=null,d=a.offset().left+parseFloat(a.css("padding-left")),f=r.offset().left-1+r.width()-p[0].length*L.opts.tableResizingLimit)),_||function y(){L.shared.$table_resizer||(L.shared.$table_resizer=A(document.createElement("div")).attr("class","fr-table-resizer").html("<div></div>")),_=L.shared.$table_resizer,L.events.$on(_,"mousedown",function(e){return!L.core.sameInstance(_)||(0<Q().length&&I(),1==e.which?(L.selection.save(),w=!0,_.addClass("fr-moving"),x(),L.edit.off(),_.find("div").css("opacity",1),!1):void 0)}),L.events.$on(_,"mousemove",function(e){if(!L.core.sameInstance(_))return!0;w&&(L.opts.iframe&&(e.pageX-=L.$iframe.offset().left),j(e))}),L.events.on("shared.destroy",function(){_.html("").removeData().remove(),_=null},!0),L.events.on("destroy",function(){L.$el.find(".fr-selected-cell").removeClass("fr-selected-cell"),A("body").first().append(_.hide())},!0)}(),_.data("table",r),_.data("first",s),_.data("second",l),_.data("instance",L),L.$wp.append(_);var v=c-L.win.pageXOffset-L.opts.tableResizerOffset-L.$wp.offset().left,b=g-L.$wp.offset().top+L.$wp.scrollTop();if(L.opts.iframe){var C=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-top")),E=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-left"));v+=L.$iframe.offset().left+E,b+=L.$iframe.offset().top+C,d+=L.$iframe.offset().left,f+=L.$iframe.offset().left}_.data("max-left",d),_.data("max-right",f),_.data("origin",c-L.win.pageXOffset),_.css("top",b),_.css("left",v),_.css("height",m),_.find("div").css("height",m),_.css("padding-left",L.opts.tableResizerOffset),_.css("padding-right",L.opts.tableResizerOffset),_.show()}else L.core.sameInstance(_)&&F()}}function z(e,t){if(L.$box.find(".fr-line-breaker").isVisible())return!1;c||Z(),L.$box.append(c),c.data("instance",L);var n,r=A(t).find("tr").first(),a=e.pageX,o=0,i=0;if(L.opts.iframe){var s=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-top")),l=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-left"));o+=L.$iframe.offset().left-L.helpers.scrollLeft()+l,i+=L.$iframe.offset().top-L.helpers.scrollTop()+s}r.find("th, td").each(function(){var e=A(this);return e.offset().left<=a&&a<e.offset().left+e.outerWidth()/2?(n=parseInt(c.find("a").css("width"),10),c.css("top",i+e.offset().top-L.$box.offset().top-n-5),c.css("left",o+e.offset().left-L.$box.offset().left-n/2),c.data("selected-cell",e),c.data("position","before"),c.addClass("fr-visible"),!1):e.offset().left+e.outerWidth()/2<=a&&a<e.offset().left+e.outerWidth()?(n=parseInt(c.find("a").css("width"),10),c.css("top",i+e.offset().top-L.$box.offset().top-n-5),c.css("left",o+e.offset().left-L.$box.offset().left+e.outerWidth()-n/2),c.data("selected-cell",e),c.data("position","after"),c.addClass("fr-visible"),!1):void 0})}function K(e,t){if(L.$box.find(".fr-line-breaker").isVisible())return!1;c||Z(),L.$box.append(c),c.data("instance",L);var n,r=A(t),a=e.pageY,o=0,i=0;if(L.opts.iframe){var s=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-top")),l=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-left"));o+=L.$iframe.offset().left-L.helpers.scrollLeft()+l,i+=L.$iframe.offset().top-L.helpers.scrollTop()+s}r.find("tr").each(function(){var e=A(this);n=parseInt(c.find("a").css("width"),10);var t=o+e.offset().left-L.$box.offset().left;return t=0!==L.$box.offset().left?t-n-5:t+n-5,e.offset().top<=a&&a<e.offset().top+e.outerHeight()/2?(c.css("top",i+e.offset().top-L.$box.offset().top-n/2),c.css("left",t),c.data("selected-cell",e.find("td").first()),c.data("position","above"),c.addClass("fr-visible"),!1):e.offset().top+e.outerHeight()/2<=a&&a<e.offset().top+e.outerHeight()?(c.css("top",i+e.offset().top-L.$box.offset().top+e.outerHeight()-n/2),c.css("left",t),c.data("selected-cell",e.find("td").first()),c.data("position","below"),c.addClass("fr-visible"),!1):void 0})}function V(e){i=null;var t=L.doc.elementFromPoint(e.pageX-L.win.pageXOffset,e.pageY-L.win.pageYOffset);L.opts.tableResizer&&(!L.popups.areVisible()||L.popups.areVisible()&&L.popups.isVisible("table.edit"))&&U(e,t),!L.opts.tableInsertHelper||L.popups.areVisible()||L.$tb.hasClass("fr-inline")&&L.$tb.isVisible()||function o(e,t){if(0===Q().length){var n,r,a;if(t&&("HTML"==t.tagName||"BODY"==t.tagName||L.node.isElement(t)))for(n=1;n<=L.opts.tableInsertHelperOffset;n++){if(r=L.doc.elementFromPoint(e.pageX-L.win.pageXOffset,e.pageY-L.win.pageYOffset+n),A(r).hasClass("fr-tooltip"))return!0;if(r&&("TH"==r.tagName||"TD"==r.tagName||"TABLE"==r.tagName)&&(A(r).parents(".fr-wrapper").length||L.opts.iframe)&&"false"!=A(r).closest("table").attr("contenteditable"))return z(e,A(r).closest("table")),!0;if(a=L.doc.elementFromPoint(e.pageX-L.win.pageXOffset+n,e.pageY-L.win.pageYOffset),A(a).hasClass("fr-tooltip"))return!0;if(a&&("TH"==a.tagName||"TD"==a.tagName||"TABLE"==a.tagName)&&(A(a).parents(".fr-wrapper").length||L.opts.iframe)&&"false"!=A(a).closest("table").attr("contenteditable"))return K(e,A(a).closest("table")),!0}L.core.sameInstance(c)&&P()}}(e,t)}function W(){if(w){var e=_.data("table").offset().top-L.win.pageYOffset;if(L.opts.iframe){var t=L.helpers.getPX(L.$wp.find(".fr-iframe").css("padding-top"));e+=L.$iframe.offset().top-L.helpers.scrollTop()+t}_.css("top",e)}}function G(e,t){var n,r=A(t[0][e]).outerWidth();for(n=1;n<t.length;n++)r=Math.min(r,A(t[n][e]).outerWidth());return r}function Y(e,t,n){var r,a=0;for(r=e;r<=t;r++)a+=G(r,n);return a}function j(e){if(1<Q().length&&o&&x(),!1===o&&!1===a&&!1===w)i&&clearTimeout(i),L.edit.isDisabled()&&!L.popups.isVisible("table.edit")||(i=setTimeout(V,30,e));else if(w){var t=e.pageX-L.win.pageXOffset;L.opts.iframe&&(t+=L.$iframe.offset().left);var n=_.data("max-left"),r=_.data("max-right");n<=t&&t<=r?_.css("left",t-L.opts.tableResizerOffset-L.$wp.offset().left):t<n&&parseFloat(_.css("left"),10)>n-L.opts.tableResizerOffset?_.css("left",n-L.opts.tableResizerOffset-L.$wp.offset().left):r<t&&parseFloat(_.css("left"),10)<r-L.opts.tableResizerOffset&&_.css("left",r-L.opts.tableResizerOffset-L.$wp.offset().left)}else o&&P()}function q(e){L.node.isEmpty(e.get(0))?e.prepend(xt.MARKERS):e.prepend(xt.START_MARKER).append(xt.END_MARKER)}function Z(){L.shared.$ti_helper||(L.shared.$ti_helper=A(document.createElement("div")).attr("class","fr-insert-helper").html('<a class="fr-floating-btn" role="button" tabIndex="-1" title="'.concat(L.language.translate("Insert"),'"><svg viewBox="0 0 32 32" xmlns="path_to_url"><path d="M22,16.75 L16.75,16.75 L16.75,22 L15.25,22.000 L15.25,16.75 L10,16.75 L10,15.25 L15.25,15.25 L15.25,10 L16.75,10 L16.75,15.25 L22,15.25 L22,16.75 Z"/></svg></a>')),L.events.bindClick(L.shared.$ti_helper,"a",function(){var e=c.data("selected-cell"),t=c.data("position"),n=c.data("instance")||L;"before"==t?(L.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertColumn(t),e.removeClass("fr-selected-cell"),L.undo.saveStep()):"after"==t?(L.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertColumn(t),e.removeClass("fr-selected-cell"),L.undo.saveStep()):"above"==t?(L.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertRow(t),e.removeClass("fr-selected-cell"),L.undo.saveStep()):"below"==t&&(L.undo.saveStep(),e.addClass("fr-selected-cell"),n.table.insertRow(t),e.removeClass("fr-selected-cell"),L.undo.saveStep()),P()}),L.events.on("shared.destroy",function(){L.shared.$ti_helper.html("").removeData().remove(),L.shared.$ti_helper=null},!0),L.events.$on(L.shared.$ti_helper,"mousemove",function(e){e.stopPropagation()},!0),L.events.$on(A(L.o_win),"scroll",function(){P()},!0),L.events.$on(L.$wp,"scroll",function(){P()},!0)),c=L.shared.$ti_helper,L.events.on("destroy",function(){c=null}),L.tooltip.bind(L.$box,".fr-insert-helper > a.fr-floating-btn")}function X(){r=null,clearTimeout(i)}function Q(){return L.el.querySelectorAll(".fr-selected-cell")}function J(){var e=Q();if(e.length){for(var t=e[0];t&&"TABLE"!=t.tagName&&t.parentNode!=L.el;)t=t.parentNode;return t&&"TABLE"==t.tagName?A(t):A([])}return A([])}function ee(e){a=!1}return{_init:function te(){if(!L.$wp)return!1;if(L.helpers.isMobile()&&(L.events.$on(L.$el,"mousedown",e),L.events.$on(L.$win,"mouseup",n)),!L.helpers.isMobile()){w=a=o=!1,L.events.$on(L.$el,"mousedown",e),L.popups.onShow("image.edit",function(){y(),a=o=!1}),L.popups.onShow("link.edit",function(){y(),a=o=!1}),L.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&y()}),L.events.$on(L.$el,"mouseover","th, td",D),L.events.$on(L.$win,"mouseup",n),L.opts.iframe&&L.events.$on(A(L.o_win),"mouseup",n),L.events.$on(L.$win,"mousemove",j),L.events.$on(A(L.o_win),"scroll",W),L.events.on("contentChanged",function(){0<Q().length&&(u(),L.$el.find("img").on("load.selected-cells",function(){A(this).off("load.selected-cells"),0<Q().length&&u()}))}),L.events.$on(A(L.o_win),"resize",function(){y()}),L.events.on("toolbar.esc",function(){if(0<Q().length)return L.events.disableBlur(),L.events.focus(),!1},!0),L.events.$on(A(L.o_win),"keydown",function(){o&&a&&(a=o=!1,L.$el.removeClass("fr-no-selection"),L.edit.on(),L.selection.setAtEnd(L.$el.find(".fr-selected-cell").last().get(0)),L.selection.restore(),y())}),L.events.$on(L.$el,"keydown",function(e){e.shiftKey?!1===function i(e){var t=Q();if(null!=t&&0<t.length){var n,r=T(),a=e.which,o=S(1==t.length?n=t[0]:(n=L.el.querySelector(".fr-cell-fixed"),L.el.querySelector(".fr-cell-handler")),r);if(xt.KEYCODE.ARROW_RIGHT==a){if(o.col<r[0].length-1)return O(n,r[o.row][o.col+1]),!1}else if(xt.KEYCODE.ARROW_DOWN==a){if(o.row<r.length-1)return O(n,r[o.row+1][o.col]),!1}else if(xt.KEYCODE.ARROW_LEFT==a){if(0<o.col)return O(n,r[o.row][o.col-1]),!1}else if(xt.KEYCODE.ARROW_UP==a&&0<o.row)return O(n,r[o.row-1][o.col]),!1}}(e)&&setTimeout(function(){u()},0):function s(e){var t=e.which,n=L.selection.blocks();if(n.length&&("TD"==(n=n[0]).tagName||"TH"==n.tagName)){for(var r=n;r&&"TABLE"!=r.tagName&&r.parentNode!=L.el;)r=r.parentNode;if(r&&"TABLE"==r.tagName&&(xt.KEYCODE.ARROW_LEFT==t||xt.KEYCODE.ARROW_UP==t||xt.KEYCODE.ARROW_RIGHT==t||xt.KEYCODE.ARROW_DOWN==t)&&(0<Q().length&&I(),L.browser.webkit&&(xt.KEYCODE.ARROW_UP==t||xt.KEYCODE.ARROW_DOWN==t))){var a=L.selection.ranges(0).startContainer;if(a.nodeType==Node.TEXT_NODE&&(xt.KEYCODE.ARROW_UP==t&&(a.previousSibling&&"BR"!==a.previousSibling.tagName||a.previousSibling&&"BR"===a.previousSibling.tagName&&a.previousSibling.previousSibling)||xt.KEYCODE.ARROW_DOWN==t&&(a.nextSibling&&"BR"!==a.nextSibling.tagName||a.nextSibling&&"BR"===a.nextSibling.tagName&&a.nextSibling.nextSibling)))return;e.preventDefault(),e.stopPropagation();var o=T(A(r)),i=S(n,o);return xt.KEYCODE.ARROW_UP==t?H(i,r,o):xt.KEYCODE.ARROW_DOWN==t&&$(i,r,o),L.selection.restore(),!1}}}(e)}),L.events.on("keydown",function(e){if(!1===function r(e){if(e.which==xt.KEYCODE.TAB){var t;if(0<Q().length)t=L.$el.find(".fr-selected-cell").last();else{var n=L.selection.element();"TD"==n.tagName||"TH"==n.tagName?t=A(n):n!=L.el&&(0<A(n).parentsUntil(L.$el,"td").length?t=A(n).parents("td").first():0<A(n).parentsUntil(L.$el,"th").length&&(t=A(n).parents("th").first()))}if(t)return e.preventDefault(),!!(0===L.selection.get().focusOffset&&0<A(L.selection.element()).parentsUntil(L.$el,"ol, ul").length&&(0<A(L.selection.element()).closest("li").prev().length||A(L.selection.element()).is("li")&&0<A(L.selection.element()).prev().length))||(I(),e.shiftKey?0<t.prev().length?q(t.prev()):0<t.closest("tr").length&&0<t.closest("tr").prev().length?q(t.closest("tr").prev().find("td").last()):0<t.closest("tbody").length&&0<t.closest("table").find("thead tr").length&&q(t.closest("table").find("thead tr th").last()):0<t.next().length?q(t.next()):0<t.closest("tr").length&&0<t.closest("tr").next().length?q(t.closest("tr").next().find("td").first()):0<t.closest("thead").length&&0<t.closest("table").find("tbody tr").length?q(t.closest("table").find("tbody tr td").first()):(t.addClass("fr-selected-cell"),g("below"),y(),q(t.closest("tr").next().find("td").first())),L.selection.restore(),!1)}}(e))return!1;var t=Q();if(0<t.length){if(0<t.length&&L.keys.ctrlKey(e)&&e.which==xt.KEYCODE.A)return y(),L.popups.isVisible("table.edit")&&L.popups.hide("table.edit"),t=[],!0;if(e.which==xt.KEYCODE.ESC&&L.popups.isVisible("table.edit"))return y(),L.popups.hide("table.edit"),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),!(t=[]);if(1<t.length&&(e.which==xt.KEYCODE.BACKSPACE||e.which==xt.KEYCODE.DELETE)){L.undo.saveStep();for(var n=0;n<t.length;n++)A(t[n]).html("<br>"),n==t.length-1&&A(t[n]).prepend(xt.MARKERS);return L.selection.restore(),L.undo.saveStep(),!(t=[])}if(1<t.length&&e.which!=xt.KEYCODE.F10&&!L.keys.isBrowserAction(e))return e.preventDefault(),!(t=[])}else if(!(t=[])===function a(e){if(e.altKey&&e.which==xt.KEYCODE.SPACE){var t,n=L.selection.element();if("TD"==n.tagName||"TH"==n.tagName?t=n:0<A(n).closest("td").length?t=A(n).closest("td").get(0):0<A(n).closest("th").length&&(t=A(n).closest("th").get(0)),t)return e.preventDefault(),O(t,t),u(),!1}}(e))return!1},!0);var t=[];L.events.on("html.beforeGet",function(){t=Q();for(var e=0;e<t.length;e++)t[e].className=(t[e].className||"").replace(/fr-selected-cell/g,"")}),L.events.on("html.afterGet",function(){for(var e=0;e<t.length;e++)t[e].className=(t[e].className?t[e].className.trim()+" ":"")+"fr-selected-cell";t=[]}),d(!0),p(!0)}L.events.on("destroy",X)},insert:function ne(e,t){var n,r,a="<table "+(L.opts.tableDefaultWidth?'style="width: '+L.opts.tableDefaultWidth+';" ':"")+'class="fr-inserted-table"><tbody>',o=100/t;for(n=0;n<e;n++){for(a+="<tr>",r=0;r<t;r++)a+="<td"+(L.opts.tableDefaultWidth?' style="width: '+o.toFixed(4)+'%;"':"")+">",0===n&&0===r&&(a+=xt.MARKERS),a+="<br></td>";a+="</tr>"}if(a+="</tbody></table>",L.opts.trackChangesEnabled){L.edit.on(),L.events.focus(!0),L.selection.restore(),L.undo.saveStep(),L.markers.insert(),L.html.wrap();var i=L.$el.find(".fr-marker");L.node.isLastSibling(i)&&i.parent().hasClass("fr-deletable")&&i.insertAfter(i.parent()),i.replaceWith(a),L.selection.clear()}else L.html.insert(a);L.selection.restore();var s=L.$el.find(".fr-inserted-table");s.removeClass("fr-inserted-table"),L.events.trigger("table.inserted",[s.get(0)])},remove:h,insertRow:g,deleteRow:function re(){var e=J();if(0<e.length){var t,n,r,a=T(),o=R(a);if(null==o)return;if(0===o.min_i&&o.max_i==a.length-1)h();else{for(t=o.max_i;t>=o.min_i;t--){for(r=A(e.find("tr").not(e.find("> table tr")).get(t)),n=0;n<a[t].length;n++)if(0===n||a[t][n]!=a[t][n-1]){var i=A(a[t][n]);if(1<parseInt(i.attr("rowspan"),10)){var s=parseInt(i.attr("rowspan"),10)-1;1==s?i.removeAttr("rowspan"):i.attr("rowspan",s)}if(t<a.length-1&&a[t][n]==a[t+1][n]&&(0===t||a[t][n]!=a[t-1][n])){for(var l=a[t][n],c=n;0<c&&a[t][c]==a[t][c-1];)c--;0===c?A(e.find("tr").not(e.find("> table tr")).get(t+1)).prepend(l):A(a[t+1][c-1])[0].parentNode&&A(a[t+1][c-1])[0].insertAdjacentElement("afterend",l)}}var d=r.parent();r.remove(),0===d.find("tr").length&&d.remove(),a=T(e)}C(0,a.length-1,0,a[0].length-1,e),0<o.min_i?L.selection.setAtEnd(a[o.min_i-1][0]):L.selection.setAtEnd(a[0][0]),L.selection.restore(),L.popups.hide("table.edit")}}},insertColumn:function ae(l){var e=J();if(0<e.length){var c,d=T(),t=R(d);c="before"==l?t.min_j:t.max_j;var n,f=100/d[0].length,p=100/(d[0].length+1);e.find("th, td").each(function(){(n=A(this)).data("old-width",n.outerWidth()/e.outerWidth()*100)}),e.find("tr").not(e.find("> table tr")).each(function(e){for(var t,n=A(this),r=0,a=0;r-1<c;){if(!(t=n.find("> th, > td").get(a))){t=null;break}t==d[e][r]?(r+=parseInt(A(t).attr("colspan"),10)||1,a++):(r+=parseInt(A(d[e][r]).attr("colspan"),10)||1,"after"==l&&(t=0===a?-1:n.find("> th, > td").get(a-1)))}var o,i=A(t);if("after"==l&&c<r-1||"before"==l&&0<c&&d[e][c]==d[e][c-1]){if(0===e||0<e&&d[e][c]!=d[e-1][c]){var s=parseInt(i.attr("colspan"),10)+1;i.attr("colspan",s),i.css("width",(i.data("old-width")*p/f+p).toFixed(4)+"%"),i.removeData("old-width")}}else o=0<n.find("th").length?'<th style="width: '.concat(p.toFixed(4),'%;"><br></th>'):'<td style="width: '.concat(p.toFixed(4),'%;"><br></td>'),-1==t?n.prepend(o):null==t?n.append(o):"before"==l?i.before(o):"after"==l&&i[0].parentNode&&i[0].insertAdjacentHTML("afterend",o)}),e.find("th, td").each(function(){(n=A(this)).data("old-width")&&(n.css("width",(n.data("old-width")*p/f).toFixed(4)+"%"),n.removeData("old-width"))}),L.popups.isVisible("table.edit")&&u()}},deleteColumn:function oe(){var e=J();if(0<e.length){var t,n,r,a=T(),o=R(a);if(null==o)return;if(0===o.min_j&&o.max_j==a[0].length-1)h();else{var i=0;for(t=0;t<a.length;t++)for(n=0;n<a[0].length;n++)(r=A(a[t][n])).hasClass("fr-selected-cell")||(r.data("old-width",r.outerWidth()/e.outerWidth()*100),(n<o.min_j||n>o.max_j)&&(i+=r.outerWidth()/e.outerWidth()*100));for(i/=a.length,n=o.max_j;n>=o.min_j;n--)for(t=0;t<a.length;t++)if(0===t||a[t][n]!=a[t-1][n])if(r=A(a[t][n]),1<(parseInt(r.attr("colspan"),10)||1)){var s=parseInt(r.attr("colspan"),10)-1;1==s?r.removeAttr("colspan"):r.attr("colspan",s),r.css("width",(100*(r.data("old-width")-G(n,a))/i).toFixed(4)+"%"),r.removeData("old-width")}else{var l=A(r.parent().get(0));r.remove(),0===l.find("> th, > td").length&&(0===l.prev().length||0===l.next().length||l.prev().find("> th[rowspan], > td[rowspan]").length<l.prev().find("> th, > td").length)&&l.remove()}C(0,a.length-1,0,a[0].length-1,e),0<o.min_j?L.selection.setAtEnd(a[o.min_i][o.min_j-1]):L.selection.setAtEnd(a[o.min_i][0]),L.selection.restore(),L.popups.hide("table.edit"),e.find("th, td").each(function(){(r=A(this)).data("old-width")&&(r.css("width",(100*r.data("old-width")/i).toFixed(4)+"%"),r.removeData("old-width"))})}}},mergeCells:function ie(){if(1<Q().length&&(0===L.$el.find("th.fr-selected-cell").length||0===L.$el.find("td.fr-selected-cell").length)){E();var e,t,n=R(T());if(null==n)return;var r=L.$el.find(".fr-selected-cell"),a=A(r[0]),o=a.parent().find(".fr-selected-cell"),i=a.closest("table"),s=a.html(),l=0;for(e=0;e<o.length;e++)l+=A(o[e]).outerWidth();for(a.css("width",Math.min(100,l/i.outerWidth()*100).toFixed(4)+"%"),n.min_j<n.max_j&&a.attr("colspan",n.max_j-n.min_j+1),n.min_i<n.max_i&&a.attr("rowspan",n.max_i-n.min_i+1),e=1;e<r.length;e++)"<br>"!=(t=A(r[e])).html()&&""!==t.html()&&(s+="<br>".concat(t.html())),t.remove();a.html(s),L.selection.setAtEnd(a.get(0)),L.selection.restore(),L.toolbar.enable(),v(n.min_i,n.max_i,i);var c=i.find("tr:empty");for(e=c.length-1;0<=e;e--)A(c[e]).remove();m(n.min_j,n.max_j,i),u()}},splitCellVertically:function se(){if(1==Q().length){var e=L.$el.find(".fr-selected-cell"),t=parseInt(e.attr("colspan"),10)||1,n=e.parent().outerWidth(),r=e.outerWidth(),a=e.clone().html("<br>"),o=T(),i=S(e.get(0),o);if(1<t){var s=Math.ceil(t/2);r=Y(i.col,i.col+s-1,o)/n*100;var l=Y(i.col+s,i.col+t-1,o)/n*100;1<s?e.attr("colspan",s):e.removeAttr("colspan"),1<t-s?a.attr("colspan",t-s):a.removeAttr("colspan"),e.css("width",r.toFixed(4)+"%"),a.css("width",l.toFixed(4)+"%")}else{var c;for(c=0;c<o.length;c++)if(0===c||o[c][i.col]!=o[c-1][i.col]){var d=A(o[c][i.col]);if(!d.is(e)){var f=(parseInt(d.attr("colspan"),10)||1)+1;d.attr("colspan",f)}}r=r/n*100/2,e.css("width","".concat(r.toFixed(4),"%")),a.css("width","".concat(r.toFixed(4),"%"))}e[0].parentNode&&e[0].insertAdjacentElement("afterend",a[0]),y(),L.popups.hide("table.edit")}},splitCellHorizontally:function le(){if(1==Q().length){var e=L.$el.find(".fr-selected-cell"),t=e.parent(),n=e.closest("table"),r=parseInt(e.attr("rowspan"),10),a=T(),o=S(e.get(0),a),i=e.clone().html("<br>");if(1<r){var s=Math.ceil(r/2);1<s?e.attr("rowspan",s):e.removeAttr("rowspan"),1<r-s?i.attr("rowspan",r-s):i.removeAttr("rowspan");for(var l=o.row+s,c=0===o.col?o.col:o.col-1;0<=c&&(a[l][c]==a[l][c-1]||0<l&&a[l][c]==a[l-1][c]);)c--;-1==c?A(n.find("tr").not(n.find("> table tr")).get(l)).prepend(i):A(a[l][c])[0].parentNode&&A(a[l][c])[0].insertAdjacentElement("afterend",i[0])}else{var d,f=A(document.createElement("tr")).append(i);for(d=0;d<a[0].length;d++)if(0===d||a[o.row][d]!=a[o.row][d-1]){var p=A(a[o.row][d]);p.is(e)||p.attr("rowspan",(parseInt(p.attr("rowspan"),10)||1)+1)}t[0].parentNode&&t[0].insertAdjacentElement("afterend",f[0])}y(),L.popups.hide("table.edit")}},addHeader:function ce(){var e=J();if(0<e.length&&0===e.find("th").length){var t,n="<thead><tr>",r=0;for(e.find("tr").first().find("> td").each(function(){var e=A(this);r+=parseInt(e.attr("colspan"),10)||1}),t=0;t<r;t++)n+="<th><br></th>";n+="</tr></thead>",e.prepend(n),u()}},removeHeader:function de(){var e=J(),t=e.find("thead");if(0<t.length)if(0===e.find("tbody tr").length)h();else if(t.remove(),0<Q().length)u();else{L.popups.hide("table.edit");var n=e.find("tbody tr").first().find("td").first().get(0);n&&(L.selection.setAtEnd(n),L.selection.restore())}},setBackground:t,showInsertPopup:function fe(){var e=L.$tb.find('.fr-command[data-cmd="insertTable"]'),t=L.popups.get("table.insert");if(t||(t=d()),!t.hasClass("fr-active")){L.popups.refresh("table.insert"),L.popups.setContainer("table.insert",L.$tb);var n=L.button.getPosition(e),r=n.left,a=n.top;L.popups.show("table.insert",r,a,e.outerHeight())}},showEditPopup:u,showColorsPopup:s,back:function pe(){0<Q().length?u():(L.popups.hide("table.insert"),L.toolbar.showInline())},verticalAlign:function ue(e){L.$el.find(".fr-selected-cell").css("vertical-align",e)},horizontalAlign:function he(e){L.$el.find(".fr-selected-cell").css("text-align",e)},applyStyle:function ge(e,t,n,r){if(0<t.length){if(!n){var a=Object.keys(r);a.splice(a.indexOf(e),1),t.removeClass(a.join(" "))}t.toggleClass(e)}},selectedTable:J,selectedCells:Q,customColor:function me(){var e=L.popups.get("table.colors").find(".fr-table-colors-hex-layer input");e.length&&t(e.val())},selectCells:O}},xt.DefineIcon("insertTable",{NAME:"table",SVG_KEY:"insertTable"}),xt.RegisterCommand("insertTable",{title:"Insert Table",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("table.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("table.insert")):this.table.showInsertPopup()},plugin:"table"}),xt.RegisterCommand("tableInsert",{callback:function(e,t,n){this.table.insert(t,n),this.popups.hide("table.insert")}}),xt.DefineIcon("tableHeader",{NAME:"header",FA5NAME:"heading",SVG_KEY:"tableHeader"}),xt.RegisterCommand("tableHeader",{title:"Table Header",focus:!1,toggle:!0,callback:function(){this.popups.get("table.edit").find('.fr-command[data-cmd="tableHeader"]').hasClass("fr-active")?this.table.removeHeader():this.table.addHeader()},refresh:function(e){var t=this.table.selectedTable();0<t.length&&(0===t.find("th").length?e.removeClass("fr-active").attr("aria-pressed",!1):e.addClass("fr-active").attr("aria-pressed",!0))}}),xt.DefineIcon("tableRows",{NAME:"bars",SVG_KEY:"row"}),xt.RegisterCommand("tableRows",{type:"dropdown",focus:!1,title:"Row",options:{above:"Insert row above",below:"Insert row below","delete":"Delete row"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.tableRows.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableRows" data-param1="'+n+'" title="'+this.language.translate(t[n])+'">'+this.language.translate(t[n])+"</a></li>");return e+="</ul>"},callback:function(e,t){"above"==t||"below"==t?this.table.insertRow(t):this.table.deleteRow()}}),xt.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"}),xt.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",options:{before:"Insert column before",after:"Insert column after","delete":"Delete column"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.tableColumns.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableColumns" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+="</ul>"},callback:function(e,t){"before"==t||"after"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),xt.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"}),xt.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.tableCells.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCells" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+="</ul>"},callback:function(e,t){"merge"==t?this.table.mergeCells():"vertical-split"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1<this.$el.find(".fr-selected-cell").length?(t.find('a[data-param1="vertical-split"]').addClass("fr-disabled").attr("aria-disabled",!0),t.find('a[data-param1="horizontal-split"]').addClass("fr-disabled").attr("aria-disabled",!0),t.find('a[data-param1="merge"]').removeClass("fr-disabled").attr("aria-disabled",!1)):(t.find('a[data-param1="merge"]').addClass("fr-disabled").attr("aria-disabled",!0),t.find('a[data-param1="vertical-split"]').removeClass("fr-disabled").attr("aria-disabled",!1),t.find('a[data-param1="horizontal-split"]').removeClass("fr-disabled").attr("aria-disabled",!1))}}),xt.DefineIcon("tableRemove",{NAME:"trash",SVG_KEY:"removeTable"}),xt.RegisterCommand("tableRemove",{title:"Remove Table",focus:!1,callback:function(){this.table.remove()}}),xt.DefineIcon("tableStyle",{NAME:"paint-brush",SVG_KEY:"tableStyle"}),xt.RegisterCommand("tableStyle",{title:"Table Style",type:"dropdown",focus:!1,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.tableStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableStyle" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+="</ul>"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var n=this.$,r=this.$el.find(".fr-selected-cell").closest("table");r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),xt.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"}),xt.RegisterCommand("tableCellBackground",{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),xt.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),xt.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),xt.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"}),xt.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.tableCellVerticalAlign.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCellVerticalAlign" data-param1="'.concat(n.toLowerCase(),'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(n),"</a></li>"));return e+="</ul>"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}}),xt.DefineIcon("tableCellHorizontalAlign",{NAME:"align-left",SVG_KEY:"alignLeft"}),xt.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),xt.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),xt.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),xt.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),xt.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.tableCellHorizontalAlign.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="tableCellHorizontalAlign" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.icon.create("align-".concat(n)),'<span class="fr-sr-only">').concat(this.language.translate(t[n]),"</span></a></li>"));return e+="</ul>"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),n=this.$;t.length&&e.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(n(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}}),xt.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"}),xt.RegisterCommand("tableCellStyle",{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.tableCellStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCellStyle" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+="</ul>"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var n=this.$,r=this.$el.find(".fr-selected-cell").first();r&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),xt.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}}),xt.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"}),xt.URLRegEx="(^| |\\u00A0)(".concat(xt.LinkRegEx,"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$"),xt.PLUGINS.url=function(i){var s=i.$,o=null;function t(e,t,n){for(var r="";n.length&&"."==n[n.length-1];)r+=".",n=n.substring(0,n.length-1);var a=n;if(i.opts.linkConvertEmailAddress)i.helpers.isEmail(a)&&!/^mailto:.*/i.test(a)&&(a="mailto:".concat(a));else if(i.helpers.isEmail(a))return t+n;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(a)||(a="//".concat(a)),(t||"")+"<a".concat(i.opts.linkAlwaysBlank?' target="_blank"':"").concat(o?' rel="'.concat(o,'"'):"",' data-fr-linked="true" href="').concat(a,'">').concat(n.replace(/&amp;/g,"&").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"</a>").concat(r)}var l=function l(){return new RegExp(xt.URLRegEx,"gi")};function c(e){return i.opts.linkAlwaysNoFollow&&(o="nofollow"),i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(o?o+=" noopener":o="noopener"),i.opts.linkNoReferrer&&(o?o+=" noreferrer":o="noreferrer")),e.replace(l(),t)}function d(e){var t=e.split(" ");return t[t.length-1]}function n(){var e=i.selection.ranges(0),t=e.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||e.startOffset!==(t.textContent||"").length)return!1;if(function o(e){return!!e&&("A"===e.tagName||!(!e.parentNode||e.parentNode==i.el)&&o(e.parentNode))}(t))return!1;if(l().test(d(t.textContent))){s(t).before(c(t.textContent));var n=s(t.parentNode).find("a[data-fr-linked]");n.removeAttr("data-fr-linked"),t.parentNode.removeChild(t),i.events.trigger("url.linked",[n.get(0)])}else if(t.textContent.split(" ").length<=2&&t.previousSibling&&"A"===t.previousSibling.tagName){var r=t.previousSibling.innerText+t.textContent;if(l().test(d(r))){var a=(new DOMParser).parseFromString(c(r),"text/html").body.childNodes;t.parentNode.replaceChild(a[0],t.previousSibling),a.length&&s(t).before(a[0]),t.parentNode.removeChild(t)}}}return{_init:function e(){i.events.on("keypress",function(e){!i.selection.isCollapsed()||")"!=e.key&&"("!=e.key||n()},!0),i.events.on("keydown",function(e){var t=e.which;!i.selection.isCollapsed()||t!=xt.KEYCODE.ENTER&&t!=xt.KEYCODE.SPACE||n()},!0),i.events.on("paste.beforeCleanup",function(e){if(i.helpers.isURL(e)){var t=null;return i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(t?t+=" noopener":t="noopener"),i.opts.linkNoReferrer&&(t?t+=" noreferrer":t="noreferrer")),"<a".concat(i.opts.linkAlwaysBlank?' target="_blank"':"").concat(t?' rel="'.concat(t,'"'):"",' href="').concat(e,'" >').concat(e,"</a>")}})}}},Object.assign(xt.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(xt.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg","mp3","mpeg","url"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","videoDisplay","videoAlign","videoSize","autoplay"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),xt.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}&wmode=opaque&rel=0" frameborder="0" allowfullscreen></iframe>',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"path_to_url",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vidyard"}],xt.VIDEO_EMBED_REGEX=/^\W*((<iframe(.|\n)*>(\s|\n)*<\/iframe>)|(<embed(.|\n)*>))\W*$/i,xt.PLUGINS.video=function(E){var s,d,f,y,r,n,L=E.$,_="path_to_url",p=2,u=3,h=4,w=5,A=6,a={};function g(){var e=E.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function o(){var e=E.popups.get("video.edit");if(e||(e=function i(){var e="";if(0<E.opts.videoEditButtons.length){E.opts.videoResponsive&&(-1<E.opts.videoEditButtons.indexOf("videoSize")&&E.opts.videoEditButtons.splice(E.opts.videoEditButtons.indexOf("videoSize"),1),-1<E.opts.videoEditButtons.indexOf("videoDisplay")&&E.opts.videoEditButtons.splice(E.opts.videoEditButtons.indexOf("videoDisplay"),1),-1<E.opts.videoEditButtons.indexOf("videoAlign")&&E.opts.videoEditButtons.splice(E.opts.videoEditButtons.indexOf("videoAlign"),1));var t={buttons:e+='<div class="fr-buttons"> \n '.concat(E.button.buildList(E.opts.videoEditButtons)," \n </div>")},n=E.popups.create("video.edit",t);return E.events.$on(E.$wp,"scroll.video-edit",function(){y&&E.popups.isVisible("video.edit")&&(E.events.disableBlur(),C(y))}),n}return!1}()),e){E.popups.setContainer("video.edit",E.$sc),E.popups.refresh("video.edit");var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight(),a=t.get(0).src?t.get(0).src:t.get(0).currentSrc,o=!(!(a=(a=a.split("."))[a.length-1]).includes("pdf")&&!a.includes("txt"));t.hasClass("fr-file")||o||y.find("audio").get(0)?(document.getElementById("autoplay-".concat(E.id))&&(document.getElementById("autoplay-".concat(E.id)).style.display="none"),document.getElementById("videoReplace-".concat(E.id))&&(document.getElementById("videoReplace-".concat(E.id)).style.display="none")):(document.getElementById("autoplay-".concat(E.id))&&(document.getElementById("autoplay-".concat(E.id)).style.display=""),document.getElementById("videoReplace-".concat(E.id))&&(document.getElementById("videoReplace-".concat(E.id)).style.display="")),E.popups.show("video.edit",n,r,t.outerHeight(),!0)}}function i(e){if(e)return E.popups.onRefresh("video.insert",g),E.popups.onHide("video.insert",Z),!0;var t="";E.opts.videoUpload||-1===E.opts.videoInsertButtons.indexOf("videoUpload")||E.opts.videoInsertButtons.splice(E.opts.videoInsertButtons.indexOf("videoUpload"),1);var n=E.button.buildList(E.opts.videoInsertButtons);""!==n&&(t='<div class="fr-buttons">'+n+"</div>");var r,a="",o=E.opts.videoInsertButtons.indexOf("videoUpload"),i=E.opts.videoInsertButtons.indexOf("videoByURL"),s=E.opts.videoInsertButtons.indexOf("videoEmbed");if(0<=i){r=" fr-active",(o<i&&0<=o||s<i&&0<=s)&&(r="");a='<div class="fr-video-by-url-layer fr-layer'.concat(r,'" id="fr-video-by-url-layer-').concat(E.id,'"><div class="fr-input-line"><input id="fr-video-by-url-layer-text-').concat(E.id,'" type="text" placeholder="').concat(E.language.translate("Paste in a video URL"),'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><span style=\'float:left\'><div class="fr-checkbox-line fr-autoplay-margin"><span class="fr-checkbox"> <input id=\'videoPluginAutoplay\' data-checked="_blank" type="checkbox"> <span>').concat('<svg version="1.1" xmlns="path_to_url" xmlns:xlink="path_to_url" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>','</span></span> <label id="fr-label-target-').concat(E.id,'">Autoplay</label></div> </span><button type="button" class="fr-command fr-submit" data-cmd="videoInsertByURL" tabIndex="2" role="button">').concat(E.language.translate("Insert"),"</button></div></div>")}var l="";0<=s&&(r=" fr-active",(o<s&&0<=o||i<s&&0<=i)&&(r=""),l='<div class="fr-video-embed-layer fr-layer'.concat(r,'" id="fr-video-embed-layer-').concat(E.id,'"><div class="fr-input-line"><textarea id="fr-video-embed-layer-text').concat(E.id,'" type="text" placeholder="').concat(E.language.translate("Embedded Code"),'" tabIndex="1" aria-required="true" rows="5"></textarea></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoInsertEmbed" tabIndex="2" role="button">').concat(E.language.translate("Insert"),"</button></div></div>"));var c="";0<=o&&(r=" fr-active",(s<o&&0<=s||i<o&&0<=i)&&(r=""),c='<div class="fr-video-upload-layer fr-layer'.concat(r,'" id="fr-video-upload-layer-').concat(E.id,'"><strong>').concat(E.language.translate("Drop video"),"</strong><br>(").concat(E.language.translate("or click"),')<div class="fr-form"><input type="file" accept="video/').concat(E.opts.videoAllowedTypes.join(", video/").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-video-upload-layer-').concat(E.id,'" role="button"></div></div>'));var d={buttons:t,by_url_layer:a,embed_layer:l,upload_layer:c,progress_bar:'<div class="fr-video-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="videoDismissError" tabIndex="2" role="button">OK</button></div></div>'},f=E.popups.create("video.insert",d);return function p(r){E.events.$on(r,"dragover dragenter",".fr-video-upload-layer",function(){return L(this).addClass("fr-drop"),!1},!0),E.events.$on(r,"dragleave dragend",".fr-video-upload-layer",function(){return L(this).removeClass("fr-drop"),!1},!0),E.events.$on(r,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),L(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||E;n.events.disableBlur(),n.video.upload(t.files),n.events.enableBlur()}},!0),E.helpers.isIOS()&&E.events.$on(r,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){L(this).trigger("click")},!0);E.events.$on(r,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||E;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}L(this).val("")},!0)}(f),f}function l(e){E.events.focus(!0),E.selection.restore();var t=!1;if(y&&(q(),t=!0),E.opts.trackChangesEnabled){E.edit.on(),E.events.focus(!0),E.selection.restore(),E.undo.saveStep(),E.markers.insert(),E.html.wrap();var n=E.$el.find(".fr-marker");E.node.isLastSibling(n)&&n.parent().hasClass("fr-deletable")&&n.insertAfter(n.parent()),n.replaceWith('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'.concat(e,"</span>")),E.selection.clear()}else E.html.insert('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'.concat(e,"</span>"),!1,E.opts.videoSplitHTML);E.popups.hide("video.insert");var r=E.$el.find(".fr-jiv");r.removeClass("fr-jiv"),r.toggleClass("fr-rv",E.opts.videoResponsive),X(r,E.opts.videoDefaultDisplay,E.opts.videoDefaultAlign),r.toggleClass("fr-draggable",E.opts.videoMove),E.events.trigger(t?"video.replaced":"video.inserted",[r])}function m(){var e=L(this);E.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),C(e.parent()),E.events.trigger("video.loaded",[e.parent()])}function T(s,e,c,d,f){E.edit.off(),v("Loading video"),e&&(s=E.helpers.sanitizeURL(s));var p=function p(){var e,t;if(d){E.undo.canDo()||d.find("video").hasClass("fr-uploading")||E.undo.saveStep();var n=d.find("video").data("fr-old-src"),r=d.data("fr-replaced");d.data("fr-replaced",!1),E.$wp?((e=d.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&d.find("video").attr("src",n),d.replaceWith(e)):e=d;for(var a=e.find("video").get(0).attributes,o=0;o<a.length;o++){var i=a[o];0===i.nodeName.indexOf("data-")&&e.find("video").removeAttr(i.nodeName)}if(void 0!==c)for(t in c)c.hasOwnProperty(t)&&"link"!=t&&e.find("video").attr("data-".concat(t),c[t]);e.find("video").on("canplay",m),e.find("video").attr("src",s),E.edit.on(),H(),E.undo.saveStep(),E.$el.blur(),E.events.trigger(r?"video.replaced":"video.inserted",[e,f])}else e=function l(e,t,n){var r,a="";if(t&&void 0!==t)for(r in t)t.hasOwnProperty(r)&&"link"!=r&&(a+=" data-".concat(r,'="').concat(t[r],'"'));var o=E.opts.videoDefaultWidth;o&&"auto"!=o&&(o="".concat(o,"px"));var i=L(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+E.opts.videoDefaultDisplay[0]+("center"!=E.opts.videoDefaultAlign?" fr-fv"+E.opts.videoDefaultAlign[0]:"")).html('<video src="'+e+'" '+a+(o?' style="width: '+o+';" ':"")+" controls>"+E.language.translate("Your browser does not support HTML5 video.")+"</video>");i.toggleClass("fr-draggable",E.opts.videoMove),E.edit.on(),E.events.focus(!0),E.selection.restore(),E.undo.saveStep(),E.opts.videoSplitHTML?E.markers.split():E.markers.insert();E.html.wrap();var s=E.$el.find(".fr-marker");E.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent());s.replaceWith(i),E.selection.clear(),i.find("video").get(0).readyState>i.find("video").get(0).HAVE_FUTURE_DATA||E.helpers.isIOS()?n.call(i.find("video").get(0)):i.find("video").on("canplaythrough load",n);return i}(s,c,m),H(),E.undo.saveStep(),E.events.trigger("video.inserted",[e,f])};S("Loading video"),p()}function S(e){var t=E.popups.get("video.insert");if(t||(t=i()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),y){var n=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));E.popups.setContainer("video.insert",E.$sc);var r=n.offset().left,a=n.offset().top+n.height();E.popups.show("video.insert",r,a,n.outerHeight())}void 0===e&&v(E.language.translate("Uploading"),0)}function c(e){var t=E.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||E.$el.find("video.fr-error").length)){if(E.events.focus(),E.$el.find("video.fr-error").length&&(E.$el.find("video.fr-error").parent().remove(),E.undo.saveStep(),E.undo.run(),E.undo.dropRedo()),!E.$wp&&y){var n=y;F(!0),E.selection.setAfter(n.find("video").get(0)),E.selection.restore()}E.popups.hide("video.insert")}}function v(e,t){var n=E.popups.get("video.insert");if(n){var r=n.find(".fr-video-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function b(e){S();var t=E.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),E.events.disableBlur(),n.focus()}function C(e){t.call(e.get(0))}function k(e,t,n){v("Loading video");var r=this.status,a=this.response,o=this.responseXML,i=this.responseText;try{if(E.opts.videoUploadToS3||E.opts.videoUploadToAzure)if(201==r){var s;if(E.opts.videoUploadToAzure){if(!1===E.events.trigger("video.uploadedToAzure",[this.responseURL,n,a],!0))return E.edit.on(),!1;s=t}else s=function c(e){try{var t=L(e).find("Location").text(),n=L(e).find("Key").text();return!1===E.events.trigger("video.uploadedToS3",[t,n,e],!0)?(E.edit.on(),!1):t}catch(r){return V(h,e),!1}}(o);s&&T(s,!1,[],e,a||o)}else V(h,a||o);else if(200<=r&&r<300){var l=function d(e){try{if(!1===E.events.trigger("video.uploaded",[e],!0))return E.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(V(p,e),!1)}catch(n){return V(h,e),!1}}(i);l&&T(l.link,!1,l,e,a||i)}else V(u,a||i)}catch(f){V(h,a||i)}}function x(){V(h,this.response||this.responseText||this.responseXML)}function R(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;v(E.language.translate("Uploading"),t)}}function M(){E.edit.on(),c(!0)}function O(e){if(!E.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;if("mousedown"==e.type){var r=E.$oel.get(0).ownerDocument,a=r.defaultView||r.parentWindow,o=!1;try{o=a.location!=a.parent.location&&!(a.$&&a.$.FE)}catch(i){}o&&a.frameElement&&(t+=E.helpers.getPX(L(a.frameElement).offset().left)+a.frameElement.clientLeft,n=e.clientY+E.helpers.getPX(L(a.frameElement).offset().top)+a.frameElement.clientTop)}E.undo.canDo()||E.undo.saveStep(),(d=L(this)).data("start-x",t),d.data("start-y",n),s.show(),E.popups.hideAll(),U()}function N(e){if(!E.core.sameInstance(f))return!0;if(d){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;var r=d.data("start-x"),a=d.data("start-y");d.data("start-x",t),d.data("start-y",n);var o=t-r,i=n-a,s=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),l=s.width(),c=s.height();(d.hasClass("fr-hnw")||d.hasClass("fr-hsw"))&&(o=0-o),(d.hasClass("fr-hnw")||d.hasClass("fr-hne"))&&(i=0-i),s.css("width",l+o),s.css("height",c+i),s.removeAttr("width"),s.removeAttr("height"),$()}}function I(e){if(!E.core.sameInstance(f))return!0;d&&y&&(e&&e.stopPropagation(),d=null,s.hide(),$(),o(),E.undo.saveStep())}function D(e){return'<div class="fr-handler fr-h'.concat(e,'"></div>')}function B(e,t,n,r){return e.pageX=t,e.pageY=t,O.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),e.pageY=e.pageY+n*Math.floor(Math.pow(1.1,r)),N.call(this,e),I.call(this,e),++r}function H(){var e,t=Array.prototype.slice.call(E.el.querySelectorAll("video, .fr-video > *")),n=[];for(e=0;e<t.length;e++)n.push(t[e].getAttribute("src")),L(t[e]).toggleClass("fr-draggable",E.opts.videoMove),""===t[e].getAttribute("class")&&t[e].removeAttribute("class"),""===t[e].getAttribute("style")&&t[e].removeAttribute("style");if(r)for(e=0;e<r.length;e++)n.indexOf(r[e].getAttribute("src"))<0&&E.events.trigger("video.removed",[L(r[e])]);r=t}function $(){f||function i(){var e;if(E.shared.$video_resizer?(f=E.shared.$video_resizer,s=E.shared.$vid_overlay,E.events.on("destroy",function(){L("body").first().append(f.removeClass("fr-active"))},!0)):(E.shared.$video_resizer=L(document.createElement("div")).attr("class","fr-video-resizer"),f=E.shared.$video_resizer,E.events.$on(f,"mousedown",function(e){e.stopPropagation()},!0),E.opts.videoResize&&(f.append(D("nw")+D("ne")+D("sw")+D("se")),E.shared.$vid_overlay=L(document.createElement("div")).attr("class","fr-video-overlay"),s=E.shared.$vid_overlay,e=f.get(0).ownerDocument,L(e).find("body").first().append(s))),E.events.on("shared.destroy",function(){f.html("").removeData().remove(),f=null,E.opts.videoResize&&(s.remove(),s=null)},!0),E.helpers.isMobile()||E.events.$on(L(E.o_win),"resize.video",function(){F(!0)}),E.opts.videoResize){e=f.get(0).ownerDocument,E.events.$on(f,E._mousedown,".fr-handler",O),E.events.$on(L(e),E._mousemove,N),E.events.$on(L(e.defaultView||e.parentWindow),E._mouseup,I),E.events.$on(s,"mouseleave",I);var r=1,a=null,o=0;E.events.on("keydown",function(e){if(y){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,n=e.which;(n!==a||200<e.timeStamp-o)&&(r=1),(n==xt.KEYCODE.EQUALS||E.browser.mozilla&&n==xt.KEYCODE.FF_EQUALS)&&t&&!e.altKey?r=B.call(this,e,1,1,r):(n==xt.KEYCODE.HYPHEN||E.browser.mozilla&&n==xt.KEYCODE.FF_HYPHEN)&&t&&!e.altKey&&(r=B.call(this,e,2,-1,r)),a=n,o=e.timeStamp}}),E.events.on("keyup",function(){r=1})}}(),(E.$wp||E.$sc).append(f),f.data("instance",E);var e=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),t=0,n=0;E.opts.iframe&&(n=E.helpers.getPX(E.$wp.find(".fr-iframe").css("padding-top")),t=E.helpers.getPX(E.$wp.find(".fr-iframe").css("padding-left"))),f.css("top",(E.opts.iframe?e.offset().top+n-1:e.offset().top-E.$wp.offset().top-1)+E.$wp.scrollTop()).css("left",(E.opts.iframe?e.offset().left+t-1:e.offset().left-E.$wp.offset().left-1)+E.$wp.scrollLeft()).css("width",e.get(0).getBoundingClientRect().width).css("height",e.get(0).getBoundingClientRect().height).addClass("fr-active")}function t(e){if(e&&"touchend"==e.type&&n)return!0;if(e&&E.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;if(E.edit.isDisabled())return!1;for(var t=0;t<xt.INSTANCES.length;t++)xt.INSTANCES[t]!=E&&xt.INSTANCES[t].events.trigger("video.hideResizer");E.toolbar.disable(),E.helpers.isMobile()&&(E.events.disableBlur(),E.$el.blur(),E.events.enableBlur()),E.$el.find(".fr-video.fr-active").removeClass("fr-active"),(y=L(this)).addClass("fr-active"),E.opts.iframe&&E.size.syncIframe(),ee(),$(),o(),E.selection.clear(),E.button.bulkRefresh(),E.events.trigger("image.hideResizer")}function F(e){y&&(function t(){return E.shared.vid_exit_flag}()||!0===e)&&(f.removeClass("fr-active"),E.toolbar.enable(),y.removeClass("fr-active"),y=null,U())}function P(){E.shared.vid_exit_flag=!0}function U(){E.shared.vid_exit_flag=!1}function z(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var n=t.files[0];if(n&&n.type&&-1!==n.type.indexOf("video")){if(!E.opts.videoUpload)return e.preventDefault(),e.stopPropagation(),!1;E.markers.remove(),E.markers.insertAtPoint(e.originalEvent),E.$el.find(".fr-marker").replaceWith(xt.MARKERS),E.popups.hideAll();var r=E.popups.get("video.insert");return r||(r=i()),E.popups.setContainer("video.insert",E.$sc),E.popups.show("video.insert",e.originalEvent.pageX,e.originalEvent.pageY),S(),0<=E.opts.videoAllowedTypes.indexOf(n.type.replace(/video\//g,""))?K(t.files):V(A),e.preventDefault(),e.stopPropagation(),!1}}}function K(e){if(void 0!==e&&0<e.length){if(!1===E.events.trigger("video.beforeUpload",[e]))return!1;var t,n=e[0];if(!(null!==E.opts.videoUploadURL&&E.opts.videoUploadURL!=_||E.opts.videoUploadToS3||E.opts.videoUploadToAzure))return function C(r){y&&y.find("iframe")&&y.find("iframe").length&&q();var a=new FileReader;a.onload=function(){a.result;for(var e=atob(a.result.split(",")[1]),t=[],n=0;n<e.length;n++)t.push(e.charCodeAt(n));T(window.URL.createObjectURL(new Blob([new Uint8Array(t)],{type:r.type})),!1,null,y)},S(),a.readAsDataURL(r)}(n),!1;if(n.size>E.opts.videoMaxSize)return V(w),!1;if(E.opts.videoAllowedTypes.indexOf(n.type.replace(/video\//g,""))<0)return V(A),!1;if(E.drag_support.formdata&&(t=E.drag_support.formdata?new FormData:null),t){var r;if(!1!==E.opts.videoUploadToS3)for(r in t.append("key",E.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),E.opts.videoUploadToS3.params)E.opts.videoUploadToS3.params.hasOwnProperty(r)&&t.append(r,E.opts.videoUploadToS3.params[r]);for(r in E.opts.videoUploadParams)E.opts.videoUploadParams.hasOwnProperty(r)&&t.append(r,E.opts.videoUploadParams[r]);t.append(E.opts.videoUploadParam,n);var a,o,i=E.opts.videoUploadURL;E.opts.videoUploadToS3&&(i=E.opts.videoUploadToS3.uploadURL?E.opts.videoUploadToS3.uploadURL:"https://".concat(E.opts.videoUploadToS3.region,".amazonaws.com/").concat(E.opts.videoUploadToS3.bucket));var s=E.opts.videoUploadMethod;E.opts.videoUploadToAzure&&(i=E.opts.videoUploadToAzure.uploadURL?"".concat(E.opts.videoUploadToAzure.uploadURL,"/").concat(n.name):encodeURI("https://".concat(E.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(E.opts.videoUploadToAzure.container,"/").concat(n.name)),a=i,E.opts.videoUploadToAzure.SASToken&&(i+=E.opts.videoUploadToAzure.SASToken),s="PUT");var l=E.core.getXHR(i,s);if(E.opts.videoUploadToAzure){var c=(new Date).toUTCString();if(!E.opts.videoUploadToAzure.SASToken&&E.opts.videoUploadToAzure.accessKey){var d=E.opts.videoUploadToAzure.account,f=E.opts.videoUploadToAzure.container;if(E.opts.videoUploadToAzure.uploadURL){var p=E.opts.videoUploadToAzure.uploadURL.split("/");f=p.pop(),d=p.pop().split(".")[0]}var u="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(c,"\nx-ms-version:2019-07-07"),h=encodeURI("/"+d+"/"+f+"/"+n.name),g=s+"\n\n\n"+n.size+"\n\n"+n.type+"\n\n\n\n\n\n\n"+u+"\n"+h,m=E.cryptoJSPlugin.cryptoJS.HmacSHA256(g,E.cryptoJSPlugin.cryptoJS.enc.Base64.parse(E.opts.videoUploadToAzure.accessKey)).toString(E.cryptoJSPlugin.cryptoJS.enc.Base64),v="SharedKey "+d+":"+m;o=m,l.setRequestHeader("Authorization",v)}for(r in l.setRequestHeader("x-ms-version","2019-07-07"),l.setRequestHeader("x-ms-date",c),l.setRequestHeader("Content-Type",n.type),l.setRequestHeader("x-ms-blob-type","BlockBlob"),E.opts.videoUploadParams)E.opts.videoUploadParams.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.videoUploadParams[r]);for(r in E.opts.videoUploadToAzure.params)E.opts.videoUploadToAzure.params.hasOwnProperty(r)&&l.setRequestHeader(r,E.opts.videoUploadToAzure.params[r])}l.onload=function(){k.call(l,y,a,o)},l.onerror=x,l.upload.onprogress=R,l.onabort=M,S(),E.events.disableBlur(),E.edit.off(),E.events.enableBlur();var b=E.popups.get("video.insert");b&&L(b.off("abortUpload")).on("abortUpload",function(){4!=l.readyState&&l.abort()}),l.send(E.opts.videoUploadToAzure?n:t)}}}function V(e,t){E.edit.on(),y&&y.find("video").addClass("fr-error"),b(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("video.error",[{code:e,message:a[e]},t])}function W(){if(y){var e=E.popups.get("video.size"),t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function G(e){if(e)return E.popups.onRefresh("video.size",W),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(E.button.buildList(E.opts.videoSizeButtons),"</div>"),size_layer:'<div class="fr-video-size-layer fr-layer fr-active" id="fr-video-size-layer-'.concat(E.id,'"><div class="fr-video-group"><div class="fr-input-line"><input id="fr-video-size-layer-width-').concat(E.id,'" type="text" name="width" placeholder="').concat(E.language.translate("Width"),'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-video-size-layer-height-').concat(E.id,'" type="text" name="height" placeholder="').concat(E.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoSetSize" tabIndex="2" role="button">').concat(E.language.translate("Update"),"</button></div></div>")},n=E.popups.create("video.size",t);return E.events.$on(E.$wp,"scroll",function(){y&&E.popups.isVisible("video.size")&&(E.events.disableBlur(),C(y))}),n}function Y(e){if(void 0===e&&(e=y),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function j(e){void 0===e&&(e=y);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function q(){if(y&&!1!==E.events.trigger("video.beforeRemove",[y])){var e=y;if(E.popups.hideAll(),F(!0),E.opts.trackChangesEnabled&&(!e[0].parentNode||"SPAN"!==e[0].parentNode.tagName||!e[0].parentNode.hasAttribute("data-tracking")))return void E.track_changes.removeSpecialItem(e);E.selection.setBefore(e.get(0))||E.selection.setAfter(e.get(0)),e.remove(),E.selection.restore(),E.html.fillEmptyBlocks()}}function Z(){c()}function X(e,t,n){!E.opts.htmlUntouched&&E.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv".concat(n[0]," fr-dv").concat(t[0]))):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function Q(){var e=E.$el.find("video").filter(function(){return 0===L(this).parents("span.fr-video").length});if(0!=e.length){e.wrap(L(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false")),E.$el.find("embed, iframe").filter(function(){if(E.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0<L(this).parents("span.fr-video").length)return!1;for(var e=L(this).attr("src"),t=0;t<xt.VIDEO_PROVIDERS.length;t++){var n=xt.VIDEO_PROVIDERS[t];if(n.test_regex.test(e)&&new RegExp(E.opts.videoAllowedProviders.join("|")).test(n.provider))return!0}return!1}).map(function(){return 0===L(this).parents("object").length?this:L(this).parents("object").get(0)}).wrap(L(document.createElement("span")).attr("class","fr-video").attr("contenteditable","false"));for(var t,n,r,a,o=E.$el.find("span.fr-video, video"),i=0;i<o.length;i++){var s=L(o[i]);!E.opts.htmlUntouched&&E.opts.useClasses?((a=s).hasClass("fr-dvi")||a.hasClass("fr-dvb")||(a.addClass("fr-fv".concat(Y(a)[0])),a.addClass("fr-dv".concat(j(a)[0]))),E.opts.videoTextNear||s.removeClass("fr-dvi").addClass("fr-dvb")):E.opts.htmlUntouched||E.opts.useClasses||(void 0,n=(t=s).hasClass("fr-dvb")?"block":t.hasClass("fr-dvi")?"inline":null,r=t.hasClass("fr-fvl")?"left":t.hasClass("fr-fvr")?"right":Y(t),X(t,n,r),t.removeClass("fr-dvb fr-dvi fr-fvr fr-fvl"))}o.toggleClass("fr-draggable",E.opts.videoMove)}}function J(e){document.getElementById("autoplay-".concat(E.id)).style.cssText="background:".concat(e)}function ee(){if(y){E.selection.clear();var e=E.doc.createRange();e.selectNode(y.get(0)),E.selection.get().addRange(e)}}return a[1]="Video cannot be loaded from the passed link.",a[p]="No link in upload response.",a[u]="Error during file upload.",a[h]="Parsing response failed.",a[w]="File is too large.",a[A]="Video file type is invalid.",a[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",E.shared.vid_exit_flag=!1,{_init:function te(){E.opts.videoResponsive&&(E.opts.videoResize=!1),function e(){E.events.on("drop",z,!0),E.events.on("mousedown window.mousedown",P),E.events.on("window.touchmove",U),E.events.on("mouseup window.mouseup",F),E.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&F()}),E.events.on("video.hideResizer commands.undo commands.redo element.dropped",function(){F(!0)})}(),E.helpers.isMobile()&&(E.events.$on(E.$el,"touchstart","span.fr-video",function(){n=!1}),E.events.$on(E.$el,"touchmove",function(){n=!0})),E.events.on("html.set",Q),Q(),E.events.$on(E.$el,"mousedown","span.fr-video",function(e){e.stopPropagation(),(E.browser.msie||E.browser.edge)&&(e.target.innerText||(e.target.dragDrop(),t.call(this,e)))}),E.events.$on(E.$el,"click touchend","span.fr-video",function(e){if(e.target.innerText.length||"false"==L(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;t.call(this,e)}),E.events.on("keydown",function(e){var t=e.which;return!y||t!=xt.KEYCODE.BACKSPACE&&t!=xt.KEYCODE.DELETE?y&&t==xt.KEYCODE.ESC?(F(!0),e.preventDefault(),!1):y&&t!=xt.KEYCODE.F10&&!E.keys.isBrowserAction(e)?(e.preventDefault(),!1):void 0:(e.preventDefault(),q(),E.undo.saveStep(),!1)},!0),E.events.on("toolbar.esc",function(){if(y)return E.events.disableBlur(),E.events.focus(),!1},!0),E.events.on("toolbar.focusEditor",function(){if(y)return!1},!0),E.events.on("keydown",function(){E.$el.find("span.fr-video:empty").remove()}),E.$wp&&(H(),E.events.on("contentChanged",H)),i(!0),G(!0)},showInsertPopup:function ne(){var e=E.$tb.find('.fr-command[data-cmd="insertVideo"]'),t=E.popups.get("video.insert");if(t||(t=i()),c(),!t.hasClass("fr-active"))if(E.popups.refresh("video.insert"),E.popups.setContainer("video.insert",E.$tb),e.isVisible()){var n=E.button.getPosition(e),r=n.left,a=n.top;E.popups.show("video.insert",r,a,e.outerHeight())}else E.position.forSelection(t),E.popups.show("video.insert")},showLayer:function re(e){var t,n,r=E.popups.get("video.insert");if(!y&&!E.opts.toolbarInline){var a=E.$tb.find('.fr-command[data-cmd="insertVideo"]');t=a.offset().left,n=a.offset().top+(E.opts.toolbarBottom?10:a.outerHeight()-10)}E.opts.toolbarInline&&(n=r.offset().top-E.helpers.getPX(r.css("margin-top")),r.hasClass("fr-above")&&(n+=r.outerHeight())),r.find(".fr-layer").removeClass("fr-active"),r.find(".fr-".concat(e,"-layer")).addClass("fr-active"),E.popups.show("video.insert",t,n,0),E.accessibility.focusPopup(r)},refreshByURLButton:function ae(e){var t=E.popups.get("video.insert");t&&t.find(".fr-video-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshEmbedButton:function oe(e){var t=E.popups.get("video.insert");t&&t.find(".fr-video-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshUploadButton:function ie(e){var t=E.popups.get("video.insert");t&&t.find(".fr-video-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:K,insertByURL:function se(e){var t=!!document.getElementById("videoPluginAutoplay")&&document.getElementById("videoPluginAutoplay").checked;void 0===e&&(e=(E.popups.get("video.insert").find('.fr-video-by-url-layer input[type="text"]').val()||"").trim());var n=null;if(/^http/.test(e)||(e="https://".concat(e)),E.helpers.isURL(e))for(var r=0;r<xt.VIDEO_PROVIDERS.length;r++){var a=xt.VIDEO_PROVIDERS[r],o="autoplay=1";if(a.html.includes("autoplay=1")&&document.getElementById("videoPluginAutoplay").checked)a.html=a.html,document.getElementById("videoPluginAutoplay").checked=!1;else if(t){var i=a.html.indexOf("{url}")+5;a.html=[a.html.slice(0,i),o,a.html.slice(i)].join(""),t=!1,document.getElementById("videoPluginAutoplay").checked=!1}else(a=xt.VIDEO_PROVIDERS[r]).html=a.html.replace(o,"");if(a.test_regex.test(e)&&new RegExp(E.opts.videoAllowedProviders.join("|")).test(a.provider)){n=e.replace(a.url_regex,a.url_text),n=a.html.replace(/\{url\}/,n);break}}n?l(n):(b(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("video.linkError",[e]))},insertEmbed:function le(e){void 0===e&&(e=E.popups.get("video.insert").find(".fr-video-embed-layer textarea").val()||""),0!==e.length&&xt.VIDEO_EMBED_REGEX.test(e)?l(e):(b(E.language.translate("Something went wrong. Please try again.")),E.events.trigger("video.codeError",[e]))},insert:l,align:function ce(e){y.removeClass("fr-fvr fr-fvl"),!E.opts.htmlUntouched&&E.opts.useClasses?"left"==e?y.addClass("fr-fvl"):"right"==e&&y.addClass("fr-fvr"):X(y,j(),e),ee(),$(),o(),E.selection.clear()},refreshAlign:function de(e){if(!y)return!1;e.find(">*").first().replaceWith(E.icon.create("video-align-".concat(Y())))},refreshAlignOnShow:function fe(e,t){y&&t.find('.fr-command[data-param1="'.concat(Y(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function pe(e){y.removeClass("fr-dvi fr-dvb"),!E.opts.htmlUntouched&&E.opts.useClasses?"inline"==e?y.addClass("fr-dvi"):"block"==e&&y.addClass("fr-dvb"):X(y,e,Y()),ee(),$(),o(),E.selection.clear()},refreshDisplayOnShow:function ue(e,t){y&&t.find('.fr-command[data-param1="'.concat(j(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:q,hideProgressBar:c,showSizePopup:function he(){var e=E.popups.get("video.size");e||(e=G()),c(),E.popups.refresh("video.size"),E.popups.setContainer("video.size",E.$sc);var t=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video")),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.height();E.popups.show("video.size",n,r,t.height(),!0)},replace:function ge(){var e=E.popups.get("video.insert");e||(e=i()),E.popups.isVisible("video.insert")||(c(),E.popups.refresh("video.insert"),E.popups.setContainer("video.insert",E.$sc));var t=y.offset().left+y.outerWidth()/2,n=y.offset().top+y.height();E.popups.show("video.insert",t,n,y.outerHeight(),!0)},back:function e(){y?(E.events.disableBlur(),y[0].click()):(E.events.disableBlur(),E.selection.restore(),E.events.enableBlur(),E.popups.hide("video.insert"),E.toolbar.showInline())},setSize:function me(e,t){if(y){var n=E.popups.get("video.size"),r=y.find("iframe, embed, ".concat(y.find("iframe, embed, audio").get(0)?"audio":"video"));r.css("width",e||n.find('input[name="width"]').val()),r.css("height",t||n.find('input[name="height"]').val()),r.get(0).style.width&&r.removeAttr("width"),r.get(0).style.height&&r.removeAttr("height"),n.find("input:focus").blur(),setTimeout(function(){y.trigger("click")},E.helpers.isAndroid()?50:0)}},get:function ve(){return y},showProgressBar:S,_editVideo:C,setAutoplay:function be(){var e;if(y.find("iframe, embed, audio").get(0))(e=y.find("iframe, embed, audio")).get(0).src.includes("autoplay=1")?(J("#FFFFFF"),e.get(0).src=e.get(0).src.replace("&autoplay=1","")):(J("#D6D6D6"),e.get(0).src=e.get(0).src+"&autoplay=1");else if((e=y.find("iframe, embed, video")).get(0).outerHTML.includes("autoplay"))J("#FFFFFF"),e.get(0).outerHTML=e.get(0).outerHTML.replace("autoplay","");else{J("#D6D6D6");var t=e.get(0).outerHTML.indexOf("class")-1;e.get(0).outerHTML=[e.get(0).outerHTML.slice(0,t),"autoplay",e.get(0).outerHTML.slice(t)].join("")}}}},xt.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),xt.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"}),xt.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"}),xt.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),xt.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"}),xt.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),xt.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"}),xt.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),xt.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),xt.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),xt.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"}),xt.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),xt.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"}),xt.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),xt.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),xt.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"}),xt.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),xt.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=xt.COMMANDS.videoAlign.options;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="videoAlign" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.icon.create("video-align-".concat(n)),'<span class="fr-sr-only">').concat(this.language.translate(t[n]),"</span></a></li>"));return e+="</ul>"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),xt.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),xt.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),xt.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"}),xt.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),xt.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"}),xt.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}}),xt.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}),xt.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),xt.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"}),xt.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),xt.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),xt.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Object.assign(xt.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),xt.PLUGINS.wordPaste=function(L){var i,a,c=L.$,s="word_paste",p={};function t(e){var t=L.opts.wordAllowedStyleProps;e||(L.opts.wordAllowedStyleProps=[]),0===a.indexOf("<colgroup>")&&(a="<table>"+a+"</table>"),a=o(a=a.replace(/<span[\n\r ]*style='mso-spacerun:yes'>([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var n="",r=0;r++<t.length;)n+="&nbsp;";return n}),L.paste.getRtfClipboard());var n=L.doc.createElement("DIV");n.innerHTML=a,L.html.cleanBlankSpaces(n),a=n.innerHTML,a=(a=L.paste.cleanEmptyTagsAndDivs(a)).replace(/\u200b/g,""),function r(){L.modals.hide(s)}(),L.paste.clean(a,!0,!0),L.opts.wordAllowedStyleProps=t}function _(e){e.parentNode&&e.parentNode.removeChild(e)}function u(e,t){if(t(e))for(var n=e.firstChild;n;){var r=n,a=n.previousSibling;n=n.nextSibling,u(r,t),r.previousSibling||r.nextSibling||r.parentNode||!n||a===n.previousSibling||!n.parentNode?r.previousSibling||r.nextSibling||r.parentNode||!n||n.previousSibling||n.nextSibling||n.parentNode||(a?n=a.nextSibling?a.nextSibling.nextSibling:null:e.firstChild&&(n=e.firstChild.nextSibling)):n=a?a.nextSibling:e.firstChild}}function R(e){if(!e.getAttribute("style")||!/mso-list:[\s]*l/gi.test(e.getAttribute("style").replace(/\n/gi,"")))return!1;try{if(!e.querySelector('[style="mso-list:Ignore"]'))return!!(e.outerHTML&&0<=e.outerHTML.indexOf("\x3c!--[if !supportLists]--\x3e"))}catch(t){return!1}return!0}function M(e){return e.getAttribute("style").replace(/\n/gi,"").replace(/.*level([0-9]+?).*/gi,"$1")}function O(e,r){var t=e.cloneNode(!0);if(-1!==["H1","H2","H3","H4","H5","H6"].indexOf(e.tagName)){var n=document.createElement(e.tagName.toLowerCase());n.setAttribute("style",e.getAttribute("style")),n.innerHTML=t.innerHTML,t.innerHTML=n.outerHTML}u(t,function(e){if(e.nodeType==Node.COMMENT_NODE&&(L.browser.msie||L.browser.safari||L.browser.edge))try{if("[if !supportLists]"===e.data){for(e=e.nextSibling;e&&e.nodeType!==Node.COMMENT_NODE;){var t=e.nextSibling;e.parentNode.removeChild(e),e=t}e&&e.nodeType==Node.COMMENT_NODE&&e.parentNode.removeChild(e)}}catch(n){}return e.nodeType===Node.ELEMENT_NODE&&("mso-list:\nIgnore"===e.getAttribute("style")&&e.setAttribute("style","mso-list:Ignore"),"mso-list:Ignore"===e.getAttribute("style")&&e.parentNode.removeChild(e),e.setAttribute("style",function a(e){var n="",r=e.getAttribute("style");r&&["line-height","font-family","font-size","color","background"].forEach(function(e){var t=r.match(new RegExp(e+":.*(;|)"));t&&(n+=t[0]+";")});return n}(e)),m(e,r)),!0});var a=t.innerHTML;return a=a.replace(/<!--[\s\S]*?-->/gi,"")}function w(e){var t=e.getAttribute("align");t&&(e.style["text-align"]=t,e.removeAttribute("align"))}function A(e){return e.replace(/\n|\r|\n\r|&quot;/g,"")}function T(e,t,n){if(t){var r=e.getAttribute("style");r&&";"!==r.slice(-1)&&(r+=";"),t&&";"!==t.slice(-1)&&(t+=";"),t=t.replace(/\n/gi,"");var a=null;a=n?(r||"")+t:t+(r||""),e.setAttribute("style",a)}}var h=null;function d(e,t,n){for(var r=e.split(n),a=1;a<r.length;a++){var o=r[a];if(1<(o=o.split("shplid")).length){o=o[1];for(var i="",s=0;s<o.length&&"\\"!==o[s]&&"{"!==o[s]&&" "!==o[s]&&"\r"!==o[s]&&"\n"!==o[s];)i+=o[s],s++;var l=o.split("bliptag");if(l&&l.length<2)continue;var c=null;if(-1!==l[0].indexOf("pngblip")?c="image/png":-1!==l[0].indexOf("jpegblip")&&(c="image/jpeg"),!c)continue;var d=l[1].split("}");if(d&&d.length<2)continue;var f=void 0;if(2<d.length&&-1!==d[0].indexOf("blipuid"))f=d[1].split(" ");else{if((f=d[0].split(" "))&&f.length<2)continue;f.shift()}var p=f.join("");h[t+i]={image_hex:p,image_type:c}}}}function g(e,t){if(t){var n;if("IMG"===e.tagName){var r=e.getAttribute("src");if(!r||-1===r.indexOf("file://"))return;if(0===r.indexOf("file://")&&L.helpers.isURL(e.getAttribute("alt")))return void e.setAttribute("src",e.getAttribute("alt"));(n=p[e.getAttribute("v:shapes")])||(n=e.getAttribute("v:shapes"),e.parentNode&&e.parentNode.parentNode&&0<=e.parentNode.parentNode.innerHTML.indexOf("msEquation")&&(n=null))}else n=e.parentNode.getAttribute("o:spid");if(e.removeAttribute("height"),n){!function s(e){h={},d(e,"i","\\shppict"),d(e,"s","\\shp{")}(t);var a=h[n.substring(7)];if(a){var o=function l(e){for(var t=e.match(/[0-9a-f]{2}/gi),n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(parseInt(t[r],16)));var a=n.join("");return btoa(a)}(a.image_hex),i="data:"+a.image_type+";base64,"+o;"IMG"===e.tagName?(e.src=i,e.setAttribute("data-fr-image-pasted",!0)):c(e.parentNode).before('<img data-fr-image-pasted="true" src="'+i+'" style="'+e.parentNode.getAttribute("style")+'">').remove()}}}}function m(e,t){var n=e.tagName,r=n.toLowerCase();if(-1!==["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(n))return _(e),!1;for(var a=["META","LINK","XML","ST1:","O:","W:","FONT"],o=0;o<a.length;o++)if(-1!==n.indexOf(a[o]))return e.innerHTML&&(e.outerHTML=e.innerHTML),_(e),!1;for(var i=["I","U"],s=0;s<i.length;s++)if(n===i[s])return e.innerHTML&&(e.outerHTML=e.innerHTML),_(e),!1;if("TD"!==n){var l=e.getAttribute("class")||"MsoNormal";if(t&&l){for(var c=(l=A(l)).split(" "),d=0;d<c.length;d++){var f=[],p="."+c[d];f.push(p),p=r+p,f.push(p);for(var u=0;u<f.length;u++)t[f[u]]&&T(e,t[f[u]])}e.removeAttribute("class")}t&&t[r]&&T(e,t[r])}if(-1!==["P","H1","H2","H3","H4","H5","H6","PRE"].indexOf(n)){var h=e.getAttribute("class");if(h&&(t&&t[n.toLowerCase()+"."+h]&&T(e,t[n.toLowerCase()+"."+h]),-1!==h.toLowerCase().indexOf("mso"))){var g=A(h);(g=g.replace(/[0-9a-z-_]*mso[0-9a-z-_]*/gi,""))?e.setAttribute("class",g):e.removeAttribute("class")}var m=e.getAttribute("style");if(m){var v=m.match(/text-align:.+?[; "]{1,1}/gi);v&&v[v.length-1].replace(/(text-align:.+?[; "]{1,1})/gi,"$1")}w(e)}if("TR"===n&&function y(e,t){L.node.clearAttributes(e);for(var n=e.firstElementChild,r=0,a=!1,o=null;n;){n.firstElementChild&&-1!==n.firstElementChild.tagName.indexOf("W:")&&(n.innerHTML=n.firstElementChild.innerHTML),(o=n.getAttribute("width"))||a||(a=!0),r+=parseInt(o,10),(!n.firstChild||n.firstChild&&n.firstChild.data===xt.UNICODE_NBSP)&&(n.firstChild&&_(n.firstChild),n.innerHTML="<br>");for(var i=n.firstElementChild,s=1===n.children.length;i;)"P"!==i.tagName||R(i)||s&&w(i),i=i.nextElementSibling;if(t){var l=n.getAttribute("class");if(l){var c=(l=A(l)).match(/xl[0-9]+/gi);if(c){var d="."+c[0];t[d]&&T(n,t[d])}}t.td&&T(n,t.td)}var f=n.getAttribute("style");f&&(f=A(f))&&";"!==f.slice(-1)&&(f+=";");var p=n.getAttribute("valign");if(!p&&f){var u=f.match(/vertical-align:.+?[; "]{1,1}/gi);u&&(p=u[u.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var h=null;if(f){var g=f.match(/text-align:.+?[; "]{1,1}/gi);g&&(h=g[g.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"===h&&(h=null)}var m=null;if(f){var v=f.match(/background:.+?[; "]{1,1}/gi);v&&(m=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=n.getAttribute("colspan"),C=n.getAttribute("rowspan");b&&n.setAttribute("colspan",b),C&&n.setAttribute("rowspan",C),p&&(n.style["vertical-align"]=p),h&&(n.style["text-align"]=h),m&&(n.style["background-color"]=m),o&&n.setAttribute("width",o),n=n.nextElementSibling}for(n=e.firstElementChild;n;)o=n.getAttribute("width"),a?n.removeAttribute("width"):n.setAttribute("width",100*parseInt(o,10)/r+"%"),n=n.nextElementSibling}(e,t),"A"!==n||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==n&&e.getAttribute("href")&&e.querySelector("img"))for(var b=e.querySelectorAll("span"),C=0;C<b.length;C++)b[C].innerText||(b[C].outerHTML=b[C].innerHTML);if("TD"!==n&&"TH"!==n||e.innerHTML||(e.innerHTML="<br>"),"TABLE"===n&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!==e.getAttribute("style").toLowerCase().indexOf("mso")){var E=A(e.getAttribute("style"));(E=E.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",E):e.removeAttribute("style")}return!0}function o(e,t){0<=e.indexOf("<html")&&(e=e.replace(/[.\s\S\w\W<>]*(<html[^>]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1")),function d(e){for(var t=e.split("v:shape"),n=1;n<t.length;n++){var r=t[n],a=r.split(' id="')[1];if(a&&1<a.length){a=a.split('"')[0];var o=r.split(' o:spid="')[1];o&&1<o.length&&(o=o.split('"')[0],p[a]=o)}}}(e);var n=(new DOMParser).parseFromString(e,"text/html"),r=n.head,a=n.body,l=function f(e){var t={},n=e.getElementsByTagName("style");if(n.length){var r=n[0].innerHTML.match(/[\S ]+\s+{[\s\S]+?}/gi);if(r)for(var a=0;a<r.length;a++){var o=r[a],i=o.replace(/([\S ]+\s+){[\s\S]+?}/gi,"$1"),s=o.replace(/[\S ]+\s+{([\s\S]+?)}/gi,"$1");i=i.replace(/^[\s]|[\s]$/gm,""),s=s.replace(/^[\s]|[\s]$/gm,""),i=i.replace(/\n|\r|\n\r/g,""),s=s.replace(/\n|\r|\n\r/g,"");for(var l=i.split(", "),c=0;c<l.length;c++)t[l[c]]=s}}return t}(r);u(a,function(e){if(e.nodeType===Node.TEXT_NODE&&/\n|\u00a0|\r/.test(e.data)){if(!/\S| /.test(e.data)&&!/[\u00a0]+/.test(e.data))return e.data===xt.UNICODE_NBSP?(e.data="\u200b",!0):1===e.data.length&&10===e.data.charCodeAt(0)?(e.data=" ",!0):(_(e),!1);e.data=e.data.replace(/\n|\r/gi," ")}return!0}),u(a,function(e){return e.nodeType!==Node.ELEMENT_NODE||"V:IMAGEDATA"!==e.tagName&&"IMG"!==e.tagName||g(e,t),!0});for(var o=a.querySelectorAll("ul > ul, ul > ol, ol > ul, ol > ol"),i=o.length-1;0<=i;i--)o[i].previousElementSibling&&"LI"===o[i].previousElementSibling.tagName&&o[i].previousElementSibling.appendChild(o[i]);u(a,function(e){if(e.nodeType===Node.TEXT_NODE)return e.data=e.data.replace(/<br>(\n|\r)/gi,"<br>"),!1;if(e.nodeType===Node.ELEMENT_NODE){if(R(e)){var t=e.parentNode,n=e.previousSibling,r=function x(e,t,n,r){var a,o,i=/[0-9a-zA-Z]./gi,s=!1,l=navigator.userAgent.toLowerCase();-1!=l.indexOf("safari")&&(l=-1<l.indexOf("chrome")?1:"safari"),e.innerHTML.includes("mso-list:\nIgnore")&&(e.innerHTML=e.innerHTML.replace(/mso-list:\nIgnore/gi,"mso-list:Ignore"));var c,d,f,p,u=e.querySelector('span[style="mso-list:Ignore"]');null==u&&"safari"==l&&(u=e.querySelector('span[lang="PT-BR"]'));var h;u&&(s=s||i.test(u.textContent)),null!==u&&(h=u.textContent.trim().split(".")[0]),f=1==s?("1"==(h=u.textContent.trim().split(".")[0])?p="decimal;":"i"==h?p="lower-roman;":"I"==h?p="upper-roman;":"o"==h?p="circle;":h.match(/^v$/)||(h.match(/^[a-z]$/)||h.match(/^[a-z]\)$/)?p="lower-alpha;":(h.match(/^[A-Z]$/)||h.match(/^[A-Z]\)$/))&&(p="upper-alpha;")),p="list-style-type: "+p,"ol"):(null!=u&&(h=u.textContent.trim().split(".")[0]),"\xa7"==h?p="square;":"\xb7"==h&&(p="disc;"),p="list-style-type: "+p,"ul");var g,m="";u==undefined||u.textContent==undefined||isNaN(parseInt(u.textContent.trim().split(".")[1],10))||(m=' class="decimal_type" ');var v,b=M(e),C=e.style.marginLeft;if(C.includes("in")?(v="in",C=parseFloat(C)-.5):C.includes("pt")&&(v="px",C=parseFloat(C)-10),1==b)if(g=p?"<"+f+' style = "'+p+"; margin-left:"+C+v+';">':"<"+f+' style="margin-left:'+C+v+';">',"list-style-type: upper-alpha;"==p){var E=h.charCodeAt(0)-64;g=p?"<"+f+m+' start="'+E+'" style = "'+p+" margin-left:"+C+v+';">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var y=h.charCodeAt(0)-96;g=p?"<"+f+m+' start="'+y+'" style = "'+p+"margin-left:"+C+v+';">':"<"+f+">"}else g=p?"<"+f+m+' style = "'+p+";margin-left:"+C+v+';">':"<"+f+' style="margin-left:'+C+v+';">';else if("list-style-type: upper-alpha;"==p){var L=h.charCodeAt(0)-64;g=p?"<"+f+m+' style = "'+p+' start="'+L+'">':"<"+f+">"}else if("list-style-type: lower-alpha;"==p){var _=h.charCodeAt(0)-96;g=p?"<"+f+m+' style = "'+p+' start="'+_+'">':"<"+f+">"}else g=p?"<"+f+m+' style = "'+p+'">':"<"+f+">";for(var w=!1;e;){if(!R(e)){if(e.outerHTML&&0<e.outerHTML.indexOf("mso-bookmark")&&0==(e.textContent||"").length){e=e.nextElementSibling;continue}break}var A=M(e);if((n=n||A)<A)g+=(d=x(e,t,A,e.style.marginLeft)).el.outerHTML,e=d.currentNode;else{if(A<n)break;e.firstElementChild&&e.firstElementChild.firstElementChild&&e.firstElementChild.firstElementChild.firstChild&&(i.lastIndex=0),o&&o.firstElementChild&&o.firstElementChild.firstElementChild&&o.firstElementChild.firstElementChild.firstChild&&(i.lastIndex=0,a=i.test(o.firstElementChild.firstElementChild.firstChild.data||o.firstElementChild.firstElementChild.firstChild.firstChild&&o.firstElementChild.firstElementChild.firstChild.firstChild.data||""));var T=!1;(!r&&!e.style.marginLeft||r&&e.style.marginLeft&&r===e.style.marginLeft)&&(T=!0),r=e.style.marginLeft,T||a===undefined?(c=O(e,t),e.nextSibling.innerText==undefined||e.nextSibling.innerText==undefined||g.includes('class="decimal_type"')||isNaN(parseInt(e.nextSibling.innerText.trim().split(".")[1],10))||(g=g.substring(3,0)+' class="decimal_type"'+g.substring(3,g.length)),g+="<li>"+c+"</li>"):(1==A&&(g+="</"+f+">",w=!0,o=null),g+=(d=x(e,t,A,e.style.marginLeft)).el.outerHTML,e=d.currentNode);var S=e&&e.nextElementSibling;if(S&&(o=S.previousElementSibling),e&&!R(e)){if(e.outerHTML&&0<e.outerHTML.indexOf("mso-bookmark")&&0==(e.textContent||"").length){e=e.nextElementSibling;continue}break}e&&e.parentNode&&e.parentNode.removeChild(e),e=S}}w||(g+="</"+f+">");var k=document.createElement("div");return k.innerHTML=g,{el:k,currentNode:e}}(e,l).el,a=null;return(a=n?n.nextSibling:t.firstChild)?t.insertBefore(r,a):t.appendChild(r),!1}return"FONT"===e.tagName&&l["."+e.getAttribute("class")]&&(e=function s(e,t){for(var n=document.createElement(t),r=0;r<e.attributes.length;r++){var a=e.attributes[r].name;n.setAttribute(a,e.getAttribute(a))}return n.innerHTML=e.innerHTML,e.parentNode.replaceChild(n,e),n}(e,"span")),m(e,l)}if(e.nodeType!==Node.COMMENT_NODE)return!0;if(-1<e.data.indexOf("[if !supportLineBreakNewLine]"))for(var o=e.nextSibling;o;)(o=e.nextSibling)&&_(o),o.data&&-1<o.data.indexOf("[endif]")&&(o=null);if(-1<e.data.indexOf("[if supportFields]")&&-1<e.data.indexOf("FORMCHECKBOX")){var i=document.createElement("input");i.type="checkbox",e.parentNode.insertBefore(i,e.nextSibling)}return _(e),!1}),u(a,function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e.tagName;if(!e.innerHTML&&-1===["BR","IMG","INPUT"].indexOf(t)){for(var n=e.parentNode;n&&(_(e),!(e=n).innerHTML)&&"TD"!==e.parentNode.tagName;)n=e.parentNode;return!1}!function d(e){var t=e.getAttribute("style");if(t){(t=A(t))&&";"!==t.slice(-1)&&(t+=";");var n=t.match(/(^|\S+?):.+?;{1,1}/gi);if(n){for(var r={},a=0;a<n.length;a++){var o=n[a].split(":");2===o.length&&("text-align"===o[0]&&"SPAN"===e.tagName||(r[o[0]]=o[1]))}var i="";for(var s in r)if(r.hasOwnProperty(s)){if("font-size"===s&&"pt;"===r[s].slice(-3)){var l=null;try{l=parseFloat(r[s].slice(0,-3),10)}catch(c){l=null}l&&(l=Math.round(1.33*l),r[s]=l+"px;")}i+=s+":"+r[s]}i&&e.setAttribute("style",i)}}}(e)}return!0}),u(a,function(e){if(e&&"A"===e.nodeName&&""===e.href){for(var t=document.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}return!0}),u(a,function(e){return!e||"B"!==e.nodeName||(e.outerHTML=e.innerHTML,_(e),!1)});var s=a.outerHTML,c=L.opts.htmlAllowedStyleProps;return L.opts.htmlAllowedStyleProps=L.opts.wordAllowedStyleProps,s=L.clean.html(s,L.opts.wordDeniedTags,L.opts.wordDeniedAttrs,!1),L.opts.htmlAllowedStyleProps=c,s}return{_init:function e(){L.events.on("paste.wordPaste",function(e){return a=e,L.opts.wordPasteModal?function o(){if(!i){var e='<h4><svg xmlns="path_to_url" viewBox="0 0 74.95 73.23" style="height: 25px; vertical-align: text-bottom; margin-right: 5px; display: inline-block"><defs><style>.a{fill:#2a5699;}.b{fill:#fff;}</style></defs><path class="a" d="M615.15,827.22h5.09V834c9.11.05,18.21-.09,27.32.05a2.93,2.93,0,0,1,3.29,3.25c.14,16.77,0,33.56.09,50.33-.09,1.72.17,3.63-.83,5.15-1.24.89-2.85.78-4.3.84-8.52,0-17,0-25.56,0v6.81h-5.32c-13-2.37-26-4.54-38.94-6.81q0-29.8,0-59.59c13.05-2.28,26.11-4.5,39.17-6.83Z" transform="translate(-575.97 -827.22)"/><path class="b" d="M620.24,836.59h28.1v54.49h-28.1v-6.81h22.14v-3.41H620.24v-4.26h22.14V873.2H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24V846h22.14v-3.41H620.24Zm-26.67,15c1.62-.09,3.24-.16,4.85-.25,1.13,5.75,2.29,11.49,3.52,17.21,1-5.91,2-11.8,3.06-17.7,1.7-.06,3.41-.15,5.1-.26-1.92,8.25-3.61,16.57-5.71,24.77-1.42.74-3.55,0-5.24.09-1.13-5.64-2.45-11.24-3.47-16.9-1,5.5-2.29,10.95-3.43,16.42q-2.45-.13-4.92-.3c-1.41-7.49-3.07-14.93-4.39-22.44l4.38-.18c.88,5.42,1.87,10.82,2.64,16.25,1.2-5.57,2.43-11.14,3.62-16.71Z" transform="translate(-575.97 -827.22)"/></svg> '+L.language.translate("Word Paste Detected")+"</h4>",t=function a(){var e='<div class="fr-word-paste-modal" style="padding: 20px 20px 10px 20px;">';return e+='<p style="text-align: left;">'+L.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"</p>",e+='<div style="text-align: right; margin-top: 50px;"><button class="fr-remove-word fr-command">'+L.language.translate("Clean")+'</button> <button class="fr-keep-word fr-command">'+L.language.translate("Keep")+"</button></div>",e+="</div>"}(),n=L.modals.create(s,e,t),r=n.$body;i=n.$modal,n.$modal.addClass("fr-middle"),L.events.bindClick(r,"button.fr-remove-word",function(){var e=i.data("instance")||L;e.wordPaste.clean()}),L.events.bindClick(r,"button.fr-keep-word",function(){var e=i.data("instance")||L;e.wordPaste.clean(!0)}),L.events.$on(c(L.o_win),"resize",function(){L.modals.resize(s)})}L.modals.show(s),L.modals.resize(s)}():t(L.opts.wordPasteKeepFormatting),!1})},clean:t,_wordClean:o}};var L={},n={},_={},w=y(!0),A="vanilla",T={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:y(!0),allOn:function H(){var e=y(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function S(e,t){var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};L.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var o=n+" sub-extension "+a+": ",i=e[a];if("object"!==kt(i))return r.valid=!1,r.error=o+"must be an object, but "+kt(i)+" given",r;if(!L.helper.isString(i.type))return r.valid=!1,r.error=o+'property "type" must be a string, but '+kt(i.type)+" given",r;var s=i.type=i.type.toLowerCase();if("language"===s&&(s=i.type="lang"),"html"===s&&(s=i.type="output"),"lang"!==s&&"output"!==s&&"listener"!==s)return r.valid=!1,r.error=o+"type "+s+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===s){if(L.helper.isUndefined(i.listeners))return r.valid=!1,r.error=o+'. Extensions of type "listener" must have a property called "listeners"',r}else if(L.helper.isUndefined(i.filter)&&L.helper.isUndefined(i.regex))return r.valid=!1,r.error=o+s+' extensions must define either a "regex" property or a "filter" method',r;if(i.listeners){if("object"!==kt(i.listeners))return r.valid=!1,r.error=o+'"listeners" property must be an object but '+kt(i.listeners)+" given",r;for(var l in i.listeners)if(i.listeners.hasOwnProperty(l)&&"function"!=typeof i.listeners[l])return r.valid=!1,r.error=o+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+kt(i.listeners[l])+" given",r}if(i.filter){if("function"!=typeof i.filter)return r.valid=!1,r.error=o+'"filter" must be a function, but '+kt(i.filter)+" given",r}else if(i.regex){if(L.helper.isString(i.regex)&&(i.regex=new RegExp(i.regex,"g")),!(i.regex instanceof RegExp))return r.valid=!1,r.error=o+'"regex" property must either be a string or a RegExp object, but '+kt(i.regex)+" given",r;if(L.helper.isUndefined(i.replace))return r.valid=!1,r.error=o+'"regex" extensions must implement a replace string or function',r}}return r}function k(e,t){return"\xa8E"+t.charCodeAt(0)+"E"}L.helper={},L.extensions={},L.setOption=function(e,t){return w[e]=t,this},L.getOption=function(e){return w[e]},L.getOptions=function(){return w},L.resetOptions=function(){w=y(!0)},L.setFlavor=function(e){if(!T.hasOwnProperty(e))throw Error(e+" flavor was not found");L.resetOptions();var t=T[e];for(var n in A=e,t)t.hasOwnProperty(n)&&(w[n]=t[n])},L.getFlavor=function(){return A},L.getFlavorOptions=function(e){if(T.hasOwnProperty(e))return T[e]},L.getDefaultOptions=function(e){return y(e)},L.subParser=function(e,t){if(L.helper.isString(e)){if(void 0===t){if(n.hasOwnProperty(e))return n[e];throw Error("SubParser named "+e+" not registered!")}n[e]=t}},L.extension=function(e,t){if(!L.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=L.helper.stdExtName(e),L.helper.isUndefined(t)){if(!_.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return _[e]}"function"==typeof t&&(t=t()),L.helper.isArray(t)||(t=[t]);var n=S(t,e);if(!n.valid)throw Error(n.error);_[e]=t},L.getAllExtensions=function(){return _},L.removeExtension=function(e){delete _[e]},L.resetExtensions=function(){_={}},L.validateExtension=function(e){var t=S(e,null);return!!t.valid},L.hasOwnProperty("helper")||(L.helper={}),L.helper.isString=function(e){return"string"==typeof e||e instanceof String},L.helper.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},L.helper.isArray=function(e){return Array.isArray(e)},L.helper.isUndefined=function(e){return void 0===e},L.helper.forEach=function(e,t){if(L.helper.isUndefined(e))throw new Error("obj param is required");if(L.helper.isUndefined(t))throw new Error("callback param is required");if(!L.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(L.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!==kt(e))throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},L.helper.stdExtName=function(e){return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},L.helper.escapeCharactersCallback=k,L.helper.escapeCharacters=function(e,t,n){var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var a=new RegExp(r,"g");return e=e.replace(a,k)},L.helper.unescapeHTMLEntities=function(e){return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var x=function x(e,t,n,r){var a,o,i,s,l,c=r||"",d=-1<c.indexOf("g"),f=new RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),p=new RegExp(t,c.replace(/g/g,"")),u=[];do{for(a=0;i=f.exec(e);)if(p.test(i[0]))a++||(s=(o=f.lastIndex)-i[0].length);else if(a&&!--a){l=i.index+i[0].length;var h={left:{start:s,end:o},match:{start:o,end:i.index},right:{start:i.index,end:l},wholeMatch:{start:s,end:l}};if(u.push(h),!d)return u}}while(a&&(f.lastIndex=o));return u};L.helper.matchRecursiveRegExp=function(e,t,n,r){for(var a=x(e,t,n,r),o=[],i=0;i<a.length;++i)o.push([e.slice(a[i].wholeMatch.start,a[i].wholeMatch.end),e.slice(a[i].match.start,a[i].match.end),e.slice(a[i].left.start,a[i].left.end),e.slice(a[i].right.start,a[i].right.end)]);return o},L.helper.replaceRecursiveRegExp=function(e,t,n,r,a){if(!L.helper.isFunction(t)){var o=t;t=function t(){return o}}var i=x(e,n,r,a),s=e,l=i.length;if(0<l){var c=[];0!==i[0].wholeMatch.start&&c.push(e.slice(0,i[0].wholeMatch.start));for(var d=0;d<l;++d)c.push(t(e.slice(i[d].wholeMatch.start,i[d].wholeMatch.end),e.slice(i[d].match.start,i[d].match.end),e.slice(i[d].left.start,i[d].left.end),e.slice(i[d].right.start,i[d].right.end))),d<l-1&&c.push(e.slice(i[d].wholeMatch.end,i[d+1].wholeMatch.start));i[l-1].wholeMatch.end<e.length&&c.push(e.slice(i[l-1].wholeMatch.end)),s=c.join("")}return s},L.helper.regexIndexOf=function(e,t,n){if(!L.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return 0<=r?r+(n||0):r},L.helper.splitAtIndex=function(e,t){if(!L.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},L.helper.encodeEmailAddress=function(e){var n=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=n[Math.floor(2*Math.random())](e);else{var t=Math.random();e=.9<t?n[2](e):.45<t?n[1](e):n[0](e)}return e})},L.helper.padEnd=function(e,t,n){return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){alert(e)},log:function(e){alert(e)},error:function(e){throw e}}),L.helper.regexes={asteriskDashAndColon:/([*_:~])/g},L.helper.emojis={"+1":"\ud83d\udc4d","-1":"\ud83d\udc4e",100:"\ud83d\udcaf",1234:"\ud83d\udd22","1st_place_medal":"\ud83e\udd47","2nd_place_medal":"\ud83e\udd48","3rd_place_medal":"\ud83e\udd49","8ball":"\ud83c\udfb1",a:"\ud83c\udd70\ufe0f",ab:"\ud83c\udd8e",abc:"\ud83d\udd24",abcd:"\ud83d\udd21",accept:"\ud83c\ude51",aerial_tramway:"\ud83d\udea1",airplane:"\u2708\ufe0f",alarm_clock:"\u23f0",alembic:"\u2697\ufe0f",alien:"\ud83d\udc7d",ambulance:"\ud83d\ude91",amphora:"\ud83c\udffa",anchor:"\u2693\ufe0f",angel:"\ud83d\udc7c",anger:"\ud83d\udca2",angry:"\ud83d\ude20",anguished:"\ud83d\ude27",ant:"\ud83d\udc1c",apple:"\ud83c\udf4e",aquarius:"\u2652\ufe0f",aries:"\u2648\ufe0f",arrow_backward:"\u25c0\ufe0f",arrow_double_down:"\u23ec",arrow_double_up:"\u23eb",arrow_down:"\u2b07\ufe0f",arrow_down_small:"\ud83d\udd3d",arrow_forward:"\u25b6\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_heading_up:"\u2934\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_lower_left:"\u2199\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_right:"\u27a1\ufe0f",arrow_right_hook:"\u21aa\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_up_small:"\ud83d\udd3c",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrows_clockwise:"\ud83d\udd03",arrows_counterclockwise:"\ud83d\udd04",art:"\ud83c\udfa8",articulated_lorry:"\ud83d\ude9b",artificial_satellite:"\ud83d\udef0",astonished:"\ud83d\ude32",athletic_shoe:"\ud83d\udc5f",atm:"\ud83c\udfe7",atom_symbol:"\u269b\ufe0f",avocado:"\ud83e\udd51",b:"\ud83c\udd71\ufe0f",baby:"\ud83d\udc76",baby_bottle:"\ud83c\udf7c",baby_chick:"\ud83d\udc24",baby_symbol:"\ud83d\udebc",back:"\ud83d\udd19",bacon:"\ud83e\udd53",badminton:"\ud83c\udff8",baggage_claim:"\ud83d\udec4",baguette_bread:"\ud83e\udd56",balance_scale:"\u2696\ufe0f",balloon:"\ud83c\udf88",ballot_box:"\ud83d\uddf3",ballot_box_with_check:"\u2611\ufe0f",bamboo:"\ud83c\udf8d",banana:"\ud83c\udf4c",bangbang:"\u203c\ufe0f",bank:"\ud83c\udfe6",bar_chart:"\ud83d\udcca",barber:"\ud83d\udc88",baseball:"\u26be\ufe0f",basketball:"\ud83c\udfc0",basketball_man:"\u26f9\ufe0f",basketball_woman:"\u26f9\ufe0f&zwj;\u2640\ufe0f",bat:"\ud83e\udd87",bath:"\ud83d\udec0",bathtub:"\ud83d\udec1",battery:"\ud83d\udd0b",beach_umbrella:"\ud83c\udfd6",bear:"\ud83d\udc3b",bed:"\ud83d\udecf",bee:"\ud83d\udc1d",beer:"\ud83c\udf7a",beers:"\ud83c\udf7b",beetle:"\ud83d\udc1e",beginner:"\ud83d\udd30",bell:"\ud83d\udd14",bellhop_bell:"\ud83d\udece",bento:"\ud83c\udf71",biking_man:"\ud83d\udeb4",bike:"\ud83d\udeb2",biking_woman:"\ud83d\udeb4&zwj;\u2640\ufe0f",bikini:"\ud83d\udc59",biohazard:"\u2623\ufe0f",bird:"\ud83d\udc26",birthday:"\ud83c\udf82",black_circle:"\u26ab\ufe0f",black_flag:"\ud83c\udff4",black_heart:"\ud83d\udda4",black_joker:"\ud83c\udccf",black_large_square:"\u2b1b\ufe0f",black_medium_small_square:"\u25fe\ufe0f",black_medium_square:"\u25fc\ufe0f",black_nib:"\u2712\ufe0f",black_small_square:"\u25aa\ufe0f",black_square_button:"\ud83d\udd32",blonde_man:"\ud83d\udc71",blonde_woman:"\ud83d\udc71&zwj;\u2640\ufe0f",blossom:"\ud83c\udf3c",blowfish:"\ud83d\udc21",blue_book:"\ud83d\udcd8",blue_car:"\ud83d\ude99",blue_heart:"\ud83d\udc99",blush:"\ud83d\ude0a",boar:"\ud83d\udc17",boat:"\u26f5\ufe0f",bomb:"\ud83d\udca3",book:"\ud83d\udcd6",bookmark:"\ud83d\udd16",bookmark_tabs:"\ud83d\udcd1",books:"\ud83d\udcda",boom:"\ud83d\udca5",boot:"\ud83d\udc62",bouquet:"\ud83d\udc90",bowing_man:"\ud83d\ude47",bow_and_arrow:"\ud83c\udff9",bowing_woman:"\ud83d\ude47&zwj;\u2640\ufe0f",bowling:"\ud83c\udfb3",boxing_glove:"\ud83e\udd4a",boy:"\ud83d\udc66",bread:"\ud83c\udf5e",bride_with_veil:"\ud83d\udc70",bridge_at_night:"\ud83c\udf09",briefcase:"\ud83d\udcbc",broken_heart:"\ud83d\udc94",bug:"\ud83d\udc1b",building_construction:"\ud83c\udfd7",bulb:"\ud83d\udca1",bullettrain_front:"\ud83d\ude85",bullettrain_side:"\ud83d\ude84",burrito:"\ud83c\udf2f",bus:"\ud83d\ude8c",business_suit_levitating:"\ud83d\udd74",busstop:"\ud83d\ude8f",bust_in_silhouette:"\ud83d\udc64",busts_in_silhouette:"\ud83d\udc65",butterfly:"\ud83e\udd8b",cactus:"\ud83c\udf35",cake:"\ud83c\udf70",calendar:"\ud83d\udcc6",call_me_hand:"\ud83e\udd19",calling:"\ud83d\udcf2",camel:"\ud83d\udc2b",camera:"\ud83d\udcf7",camera_flash:"\ud83d\udcf8",camping:"\ud83c\udfd5",cancer:"\u264b\ufe0f",candle:"\ud83d\udd6f",candy:"\ud83c\udf6c",canoe:"\ud83d\udef6",capital_abcd:"\ud83d\udd20",capricorn:"\u2651\ufe0f",car:"\ud83d\ude97",card_file_box:"\ud83d\uddc3",card_index:"\ud83d\udcc7",card_index_dividers:"\ud83d\uddc2",carousel_horse:"\ud83c\udfa0",carrot:"\ud83e\udd55",cat:"\ud83d\udc31",cat2:"\ud83d\udc08",cd:"\ud83d\udcbf",chains:"\u26d3",champagne:"\ud83c\udf7e",chart:"\ud83d\udcb9",chart_with_downwards_trend:"\ud83d\udcc9",chart_with_upwards_trend:"\ud83d\udcc8",checkered_flag:"\ud83c\udfc1",cheese:"\ud83e\uddc0",cherries:"\ud83c\udf52",cherry_blossom:"\ud83c\udf38",chestnut:"\ud83c\udf30",chicken:"\ud83d\udc14",children_crossing:"\ud83d\udeb8",chipmunk:"\ud83d\udc3f",chocolate_bar:"\ud83c\udf6b",christmas_tree:"\ud83c\udf84",church:"\u26ea\ufe0f",cinema:"\ud83c\udfa6",circus_tent:"\ud83c\udfaa",city_sunrise:"\ud83c\udf07",city_sunset:"\ud83c\udf06",cityscape:"\ud83c\udfd9",cl:"\ud83c\udd91",clamp:"\ud83d\udddc",clap:"\ud83d\udc4f",clapper:"\ud83c\udfac",classical_building:"\ud83c\udfdb",clinking_glasses:"\ud83e\udd42",clipboard:"\ud83d\udccb",clock1:"\ud83d\udd50",clock10:"\ud83d\udd59",clock1030:"\ud83d\udd65",clock11:"\ud83d\udd5a",clock1130:"\ud83d\udd66",clock12:"\ud83d\udd5b",clock1230:"\ud83d\udd67",clock130:"\ud83d\udd5c",clock2:"\ud83d\udd51",clock230:"\ud83d\udd5d",clock3:"\ud83d\udd52",clock330:"\ud83d\udd5e",clock4:"\ud83d\udd53",clock430:"\ud83d\udd5f",clock5:"\ud83d\udd54",clock530:"\ud83d\udd60",clock6:"\ud83d\udd55",clock630:"\ud83d\udd61",clock7:"\ud83d\udd56",clock730:"\ud83d\udd62",clock8:"\ud83d\udd57",clock830:"\ud83d\udd63",clock9:"\ud83d\udd58",clock930:"\ud83d\udd64",closed_book:"\ud83d\udcd5",closed_lock_with_key:"\ud83d\udd10",closed_umbrella:"\ud83c\udf02",cloud:"\u2601\ufe0f",cloud_with_lightning:"\ud83c\udf29",cloud_with_lightning_and_rain:"\u26c8",cloud_with_rain:"\ud83c\udf27",cloud_with_snow:"\ud83c\udf28",clown_face:"\ud83e\udd21",clubs:"\u2663\ufe0f",cocktail:"\ud83c\udf78",coffee:"\u2615\ufe0f",coffin:"\u26b0\ufe0f",cold_sweat:"\ud83d\ude30",comet:"\u2604\ufe0f",computer:"\ud83d\udcbb",computer_mouse:"\ud83d\uddb1",confetti_ball:"\ud83c\udf8a",confounded:"\ud83d\ude16",confused:"\ud83d\ude15",congratulations:"\u3297\ufe0f",construction:"\ud83d\udea7",construction_worker_man:"\ud83d\udc77",construction_worker_woman:"\ud83d\udc77&zwj;\u2640\ufe0f",control_knobs:"\ud83c\udf9b",convenience_store:"\ud83c\udfea",cookie:"\ud83c\udf6a",cool:"\ud83c\udd92",policeman:"\ud83d\udc6e",copyright:"\xa9\ufe0f",corn:"\ud83c\udf3d",couch_and_lamp:"\ud83d\udecb",couple:"\ud83d\udc6b",couple_with_heart_woman_man:"\ud83d\udc91",couple_with_heart_man_man:"\ud83d\udc68&zwj;\u2764\ufe0f&zwj;\ud83d\udc68",couple_with_heart_woman_woman:"\ud83d\udc69&zwj;\u2764\ufe0f&zwj;\ud83d\udc69",couplekiss_man_man:"\ud83d\udc68&zwj;\u2764\ufe0f&zwj;\ud83d\udc8b&zwj;\ud83d\udc68",couplekiss_man_woman:"\ud83d\udc8f",couplekiss_woman_woman:"\ud83d\udc69&zwj;\u2764\ufe0f&zwj;\ud83d\udc8b&zwj;\ud83d\udc69",cow:"\ud83d\udc2e",cow2:"\ud83d\udc04",cowboy_hat_face:"\ud83e\udd20",crab:"\ud83e\udd80",crayon:"\ud83d\udd8d",credit_card:"\ud83d\udcb3",crescent_moon:"\ud83c\udf19",cricket:"\ud83c\udfcf",crocodile:"\ud83d\udc0a",croissant:"\ud83e\udd50",crossed_fingers:"\ud83e\udd1e",crossed_flags:"\ud83c\udf8c",crossed_swords:"\u2694\ufe0f",crown:"\ud83d\udc51",cry:"\ud83d\ude22",crying_cat_face:"\ud83d\ude3f",crystal_ball:"\ud83d\udd2e",cucumber:"\ud83e\udd52",cupid:"\ud83d\udc98",curly_loop:"\u27b0",currency_exchange:"\ud83d\udcb1",curry:"\ud83c\udf5b",custard:"\ud83c\udf6e",customs:"\ud83d\udec3",cyclone:"\ud83c\udf00",dagger:"\ud83d\udde1",dancer:"\ud83d\udc83",dancing_women:"\ud83d\udc6f",dancing_men:"\ud83d\udc6f&zwj;\u2642\ufe0f",dango:"\ud83c\udf61",dark_sunglasses:"\ud83d\udd76",dart:"\ud83c\udfaf",dash:"\ud83d\udca8",date:"\ud83d\udcc5",deciduous_tree:"\ud83c\udf33",deer:"\ud83e\udd8c",department_store:"\ud83c\udfec",derelict_house:"\ud83c\udfda",desert:"\ud83c\udfdc",desert_island:"\ud83c\udfdd",desktop_computer:"\ud83d\udda5",male_detective:"\ud83d\udd75\ufe0f",diamond_shape_with_a_dot_inside:"\ud83d\udca0",diamonds:"\u2666\ufe0f",disappointed:"\ud83d\ude1e",disappointed_relieved:"\ud83d\ude25",dizzy:"\ud83d\udcab",dizzy_face:"\ud83d\ude35",do_not_litter:"\ud83d\udeaf",dog:"\ud83d\udc36",dog2:"\ud83d\udc15",dollar:"\ud83d\udcb5",dolls:"\ud83c\udf8e",dolphin:"\ud83d\udc2c",door:"\ud83d\udeaa",doughnut:"\ud83c\udf69",dove:"\ud83d\udd4a",dragon:"\ud83d\udc09",dragon_face:"\ud83d\udc32",dress:"\ud83d\udc57",dromedary_camel:"\ud83d\udc2a",drooling_face:"\ud83e\udd24",droplet:"\ud83d\udca7",drum:"\ud83e\udd41",duck:"\ud83e\udd86",dvd:"\ud83d\udcc0","e-mail":"\ud83d\udce7",eagle:"\ud83e\udd85",ear:"\ud83d\udc42",ear_of_rice:"\ud83c\udf3e",earth_africa:"\ud83c\udf0d",earth_americas:"\ud83c\udf0e",earth_asia:"\ud83c\udf0f",egg:"\ud83e\udd5a",eggplant:"\ud83c\udf46",eight_pointed_black_star:"\u2734\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",electric_plug:"\ud83d\udd0c",elephant:"\ud83d\udc18",email:"\u2709\ufe0f",end:"\ud83d\udd1a",envelope_with_arrow:"\ud83d\udce9",euro:"\ud83d\udcb6",european_castle:"\ud83c\udff0",european_post_office:"\ud83c\udfe4",evergreen_tree:"\ud83c\udf32",exclamation:"\u2757\ufe0f",expressionless:"\ud83d\ude11",eye:"\ud83d\udc41",eye_speech_bubble:"\ud83d\udc41&zwj;\ud83d\udde8",eyeglasses:"\ud83d\udc53",eyes:"\ud83d\udc40",face_with_head_bandage:"\ud83e\udd15",face_with_thermometer:"\ud83e\udd12",fist_oncoming:"\ud83d\udc4a",factory:"\ud83c\udfed",fallen_leaf:"\ud83c\udf42",family_man_woman_boy:"\ud83d\udc6a",family_man_boy:"\ud83d\udc68&zwj;\ud83d\udc66",family_man_boy_boy:"\ud83d\udc68&zwj;\ud83d\udc66&zwj;\ud83d\udc66",family_man_girl:"\ud83d\udc68&zwj;\ud83d\udc67",family_man_girl_boy:"\ud83d\udc68&zwj;\ud83d\udc67&zwj;\ud83d\udc66",family_man_girl_girl:"\ud83d\udc68&zwj;\ud83d\udc67&zwj;\ud83d\udc67",family_man_man_boy:"\ud83d\udc68&zwj;\ud83d\udc68&zwj;\ud83d\udc66",family_man_man_boy_boy:"\ud83d\udc68&zwj;\ud83d\udc68&zwj;\ud83d\udc66&zwj;\ud83d\udc66",family_man_man_girl:"\ud83d\udc68&zwj;\ud83d\udc68&zwj;\ud83d\udc67",family_man_man_girl_boy:"\ud83d\udc68&zwj;\ud83d\udc68&zwj;\ud83d\udc67&zwj;\ud83d\udc66",family_man_man_girl_girl:"\ud83d\udc68&zwj;\ud83d\udc68&zwj;\ud83d\udc67&zwj;\ud83d\udc67",family_man_woman_boy_boy:"\ud83d\udc68&zwj;\ud83d\udc69&zwj;\ud83d\udc66&zwj;\ud83d\udc66",family_man_woman_girl:"\ud83d\udc68&zwj;\ud83d\udc69&zwj;\ud83d\udc67",family_man_woman_girl_boy:"\ud83d\udc68&zwj;\ud83d\udc69&zwj;\ud83d\udc67&zwj;\ud83d\udc66",family_man_woman_girl_girl:"\ud83d\udc68&zwj;\ud83d\udc69&zwj;\ud83d\udc67&zwj;\ud83d\udc67",family_woman_boy:"\ud83d\udc69&zwj;\ud83d\udc66",family_woman_boy_boy:"\ud83d\udc69&zwj;\ud83d\udc66&zwj;\ud83d\udc66",family_woman_girl:"\ud83d\udc69&zwj;\ud83d\udc67",family_woman_girl_boy:"\ud83d\udc69&zwj;\ud83d\udc67&zwj;\ud83d\udc66",family_woman_girl_girl:"\ud83d\udc69&zwj;\ud83d\udc67&zwj;\ud83d\udc67",family_woman_woman_boy:"\ud83d\udc69&zwj;\ud83d\udc69&zwj;\ud83d\udc66",family_woman_woman_boy_boy:"\ud83d\udc69&zwj;\ud83d\udc69&zwj;\ud83d\udc66&zwj;\ud83d\udc66",family_woman_woman_girl:"\ud83d\udc69&zwj;\ud83d\udc69&zwj;\ud83d\udc67",family_woman_woman_girl_boy:"\ud83d\udc69&zwj;\ud83d\udc69&zwj;\ud83d\udc67&zwj;\ud83d\udc66",family_woman_woman_girl_girl:"\ud83d\udc69&zwj;\ud83d\udc69&zwj;\ud83d\udc67&zwj;\ud83d\udc67",fast_forward:"\u23e9",fax:"\ud83d\udce0",fearful:"\ud83d\ude28",feet:"\ud83d\udc3e",female_detective:"\ud83d\udd75\ufe0f&zwj;\u2640\ufe0f",ferris_wheel:"\ud83c\udfa1",ferry:"\u26f4",field_hockey:"\ud83c\udfd1",file_cabinet:"\ud83d\uddc4",file_folder:"\ud83d\udcc1",film_projector:"\ud83d\udcfd",film_strip:"\ud83c\udf9e",fire:"\ud83d\udd25",fire_engine:"\ud83d\ude92",fireworks:"\ud83c\udf86",first_quarter_moon:"\ud83c\udf13",first_quarter_moon_with_face:"\ud83c\udf1b",fish:"\ud83d\udc1f",fish_cake:"\ud83c\udf65",fishing_pole_and_fish:"\ud83c\udfa3",fist_raised:"\u270a",fist_left:"\ud83e\udd1b",fist_right:"\ud83e\udd1c",flags:"\ud83c\udf8f",flashlight:"\ud83d\udd26",fleur_de_lis:"\u269c\ufe0f",flight_arrival:"\ud83d\udeec",flight_departure:"\ud83d\udeeb",floppy_disk:"\ud83d\udcbe",flower_playing_cards:"\ud83c\udfb4",flushed:"\ud83d\ude33",fog:"\ud83c\udf2b",foggy:"\ud83c\udf01",football:"\ud83c\udfc8",footprints:"\ud83d\udc63",fork_and_knife:"\ud83c\udf74",fountain:"\u26f2\ufe0f",fountain_pen:"\ud83d\udd8b",four_leaf_clover:"\ud83c\udf40",fox_face:"\ud83e\udd8a",framed_picture:"\ud83d\uddbc",free:"\ud83c\udd93",fried_egg:"\ud83c\udf73",fried_shrimp:"\ud83c\udf64",fries:"\ud83c\udf5f",frog:"\ud83d\udc38",frowning:"\ud83d\ude26",frowning_face:"\u2639\ufe0f",frowning_man:"\ud83d\ude4d&zwj;\u2642\ufe0f",frowning_woman:"\ud83d\ude4d",middle_finger:"\ud83d\udd95",fuelpump:"\u26fd\ufe0f",full_moon:"\ud83c\udf15",full_moon_with_face:"\ud83c\udf1d",funeral_urn:"\u26b1\ufe0f",game_die:"\ud83c\udfb2",gear:"\u2699\ufe0f",gem:"\ud83d\udc8e",gemini:"\u264a\ufe0f",ghost:"\ud83d\udc7b",gift:"\ud83c\udf81",gift_heart:"\ud83d\udc9d",girl:"\ud83d\udc67",globe_with_meridians:"\ud83c\udf10",goal_net:"\ud83e\udd45",goat:"\ud83d\udc10",golf:"\u26f3\ufe0f",golfing_man:"\ud83c\udfcc\ufe0f",golfing_woman:"\ud83c\udfcc\ufe0f&zwj;\u2640\ufe0f",gorilla:"\ud83e\udd8d",grapes:"\ud83c\udf47",green_apple:"\ud83c\udf4f",green_book:"\ud83d\udcd7",green_heart:"\ud83d\udc9a",green_salad:"\ud83e\udd57",grey_exclamation:"\u2755",grey_question:"\u2754",grimacing:"\ud83d\ude2c",grin:"\ud83d\ude01",grinning:"\ud83d\ude00",guardsman:"\ud83d\udc82",guardswoman:"\ud83d\udc82&zwj;\u2640\ufe0f",guitar:"\ud83c\udfb8",gun:"\ud83d\udd2b",haircut_woman:"\ud83d\udc87",haircut_man:"\ud83d\udc87&zwj;\u2642\ufe0f",hamburger:"\ud83c\udf54",hammer:"\ud83d\udd28",hammer_and_pick:"\u2692",hammer_and_wrench:"\ud83d\udee0",hamster:"\ud83d\udc39",hand:"\u270b",handbag:"\ud83d\udc5c",handshake:"\ud83e\udd1d",hankey:"\ud83d\udca9",hatched_chick:"\ud83d\udc25",hatching_chick:"\ud83d\udc23",headphones:"\ud83c\udfa7",hear_no_evil:"\ud83d\ude49",heart:"\u2764\ufe0f",heart_decoration:"\ud83d\udc9f",heart_eyes:"\ud83d\ude0d",heart_eyes_cat:"\ud83d\ude3b",heartbeat:"\ud83d\udc93",heartpulse:"\ud83d\udc97",hearts:"\u2665\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_division_sign:"\u2797",heavy_dollar_sign:"\ud83d\udcb2",heavy_heart_exclamation:"\u2763\ufe0f",heavy_minus_sign:"\u2796",heavy_multiplication_x:"\u2716\ufe0f",heavy_plus_sign:"\u2795",helicopter:"\ud83d\ude81",herb:"\ud83c\udf3f",hibiscus:"\ud83c\udf3a",high_brightness:"\ud83d\udd06",high_heel:"\ud83d\udc60",hocho:"\ud83d\udd2a",hole:"\ud83d\udd73",honey_pot:"\ud83c\udf6f",horse:"\ud83d\udc34",horse_racing:"\ud83c\udfc7",hospital:"\ud83c\udfe5",hot_pepper:"\ud83c\udf36",hotdog:"\ud83c\udf2d",hotel:"\ud83c\udfe8",hotsprings:"\u2668\ufe0f",hourglass:"\u231b\ufe0f",hourglass_flowing_sand:"\u23f3",house:"\ud83c\udfe0",house_with_garden:"\ud83c\udfe1",houses:"\ud83c\udfd8",hugs:"\ud83e\udd17",hushed:"\ud83d\ude2f",ice_cream:"\ud83c\udf68",ice_hockey:"\ud83c\udfd2",ice_skate:"\u26f8",icecream:"\ud83c\udf66",id:"\ud83c\udd94",ideograph_advantage:"\ud83c\ude50",imp:"\ud83d\udc7f",inbox_tray:"\ud83d\udce5",incoming_envelope:"\ud83d\udce8",tipping_hand_woman:"\ud83d\udc81",information_source:"\u2139\ufe0f",innocent:"\ud83d\ude07",interrobang:"\u2049\ufe0f",iphone:"\ud83d\udcf1",izakaya_lantern:"\ud83c\udfee",jack_o_lantern:"\ud83c\udf83",japan:"\ud83d\uddfe",japanese_castle:"\ud83c\udfef",japanese_goblin:"\ud83d\udc7a",japanese_ogre:"\ud83d\udc79",jeans:"\ud83d\udc56",joy:"\ud83d\ude02",joy_cat:"\ud83d\ude39",joystick:"\ud83d\udd79",kaaba:"\ud83d\udd4b",key:"\ud83d\udd11",keyboard:"\u2328\ufe0f",keycap_ten:"\ud83d\udd1f",kick_scooter:"\ud83d\udef4",kimono:"\ud83d\udc58",kiss:"\ud83d\udc8b",kissing:"\ud83d\ude17",kissing_cat:"\ud83d\ude3d",kissing_closed_eyes:"\ud83d\ude1a",kissing_heart:"\ud83d\ude18",kissing_smiling_eyes:"\ud83d\ude19",kiwi_fruit:"\ud83e\udd5d",koala:"\ud83d\udc28",koko:"\ud83c\ude01",label:"\ud83c\udff7",large_blue_circle:"\ud83d\udd35",large_blue_diamond:"\ud83d\udd37",large_orange_diamond:"\ud83d\udd36",last_quarter_moon:"\ud83c\udf17",last_quarter_moon_with_face:"\ud83c\udf1c",latin_cross:"\u271d\ufe0f",laughing:"\ud83d\ude06",leaves:"\ud83c\udf43",ledger:"\ud83d\udcd2",left_luggage:"\ud83d\udec5",left_right_arrow:"\u2194\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",lemon:"\ud83c\udf4b",leo:"\u264c\ufe0f",leopard:"\ud83d\udc06",level_slider:"\ud83c\udf9a",libra:"\u264e\ufe0f",light_rail:"\ud83d\ude88",link:"\ud83d\udd17",lion:"\ud83e\udd81",lips:"\ud83d\udc44",lipstick:"\ud83d\udc84",lizard:"\ud83e\udd8e",lock:"\ud83d\udd12",lock_with_ink_pen:"\ud83d\udd0f",lollipop:"\ud83c\udf6d",loop:"\u27bf",loud_sound:"\ud83d\udd0a",loudspeaker:"\ud83d\udce2",love_hotel:"\ud83c\udfe9",love_letter:"\ud83d\udc8c",low_brightness:"\ud83d\udd05",lying_face:"\ud83e\udd25",m:"\u24c2\ufe0f",mag:"\ud83d\udd0d",mag_right:"\ud83d\udd0e",mahjong:"\ud83c\udc04\ufe0f",mailbox:"\ud83d\udceb",mailbox_closed:"\ud83d\udcea",mailbox_with_mail:"\ud83d\udcec",mailbox_with_no_mail:"\ud83d\udced",man:"\ud83d\udc68",man_artist:"\ud83d\udc68&zwj;\ud83c\udfa8",man_astronaut:"\ud83d\udc68&zwj;\ud83d\ude80",man_cartwheeling:"\ud83e\udd38&zwj;\u2642\ufe0f",man_cook:"\ud83d\udc68&zwj;\ud83c\udf73",man_dancing:"\ud83d\udd7a",man_facepalming:"\ud83e\udd26&zwj;\u2642\ufe0f",man_factory_worker:"\ud83d\udc68&zwj;\ud83c\udfed",man_farmer:"\ud83d\udc68&zwj;\ud83c\udf3e",man_firefighter:"\ud83d\udc68&zwj;\ud83d\ude92",man_health_worker:"\ud83d\udc68&zwj;\u2695\ufe0f",man_in_tuxedo:"\ud83e\udd35",man_judge:"\ud83d\udc68&zwj;\u2696\ufe0f",man_juggling:"\ud83e\udd39&zwj;\u2642\ufe0f",man_mechanic:"\ud83d\udc68&zwj;\ud83d\udd27",man_office_worker:"\ud83d\udc68&zwj;\ud83d\udcbc",man_pilot:"\ud83d\udc68&zwj;\u2708\ufe0f",man_playing_handball:"\ud83e\udd3e&zwj;\u2642\ufe0f",man_playing_water_polo:"\ud83e\udd3d&zwj;\u2642\ufe0f",man_scientist:"\ud83d\udc68&zwj;\ud83d\udd2c",man_shrugging:"\ud83e\udd37&zwj;\u2642\ufe0f",man_singer:"\ud83d\udc68&zwj;\ud83c\udfa4",man_student:"\ud83d\udc68&zwj;\ud83c\udf93",man_teacher:"\ud83d\udc68&zwj;\ud83c\udfeb",man_technologist:"\ud83d\udc68&zwj;\ud83d\udcbb",man_with_gua_pi_mao:"\ud83d\udc72",man_with_turban:"\ud83d\udc73",tangerine:"\ud83c\udf4a",mans_shoe:"\ud83d\udc5e",mantelpiece_clock:"\ud83d\udd70",maple_leaf:"\ud83c\udf41",martial_arts_uniform:"\ud83e\udd4b",mask:"\ud83d\ude37",massage_woman:"\ud83d\udc86",massage_man:"\ud83d\udc86&zwj;\u2642\ufe0f",meat_on_bone:"\ud83c\udf56",medal_military:"\ud83c\udf96",medal_sports:"\ud83c\udfc5",mega:"\ud83d\udce3",melon:"\ud83c\udf48",memo:"\ud83d\udcdd",men_wrestling:"\ud83e\udd3c&zwj;\u2642\ufe0f",menorah:"\ud83d\udd4e",mens:"\ud83d\udeb9",metal:"\ud83e\udd18",metro:"\ud83d\ude87",microphone:"\ud83c\udfa4",microscope:"\ud83d\udd2c",milk_glass:"\ud83e\udd5b",milky_way:"\ud83c\udf0c",minibus:"\ud83d\ude90",minidisc:"\ud83d\udcbd",mobile_phone_off:"\ud83d\udcf4",money_mouth_face:"\ud83e\udd11",money_with_wings:"\ud83d\udcb8",moneybag:"\ud83d\udcb0",monkey:"\ud83d\udc12",monkey_face:"\ud83d\udc35",monorail:"\ud83d\ude9d",moon:"\ud83c\udf14",mortar_board:"\ud83c\udf93",mosque:"\ud83d\udd4c",motor_boat:"\ud83d\udee5",motor_scooter:"\ud83d\udef5",motorcycle:"\ud83c\udfcd",motorway:"\ud83d\udee3",mount_fuji:"\ud83d\uddfb",mountain:"\u26f0",mountain_biking_man:"\ud83d\udeb5",mountain_biking_woman:"\ud83d\udeb5&zwj;\u2640\ufe0f",mountain_cableway:"\ud83d\udea0",mountain_railway:"\ud83d\ude9e",mountain_snow:"\ud83c\udfd4",mouse:"\ud83d\udc2d",mouse2:"\ud83d\udc01",movie_camera:"\ud83c\udfa5",moyai:"\ud83d\uddff",mrs_claus:"\ud83e\udd36",muscle:"\ud83d\udcaa",mushroom:"\ud83c\udf44",musical_keyboard:"\ud83c\udfb9",musical_note:"\ud83c\udfb5",musical_score:"\ud83c\udfbc",mute:"\ud83d\udd07",nail_care:"\ud83d\udc85",name_badge:"\ud83d\udcdb",national_park:"\ud83c\udfde",nauseated_face:"\ud83e\udd22",necktie:"\ud83d\udc54",negative_squared_cross_mark:"\u274e",nerd_face:"\ud83e\udd13",neutral_face:"\ud83d\ude10","new":"\ud83c\udd95",new_moon:"\ud83c\udf11",new_moon_with_face:"\ud83c\udf1a",newspaper:"\ud83d\udcf0",newspaper_roll:"\ud83d\uddde",next_track_button:"\u23ed",ng:"\ud83c\udd96",no_good_man:"\ud83d\ude45&zwj;\u2642\ufe0f",no_good_woman:"\ud83d\ude45",night_with_stars:"\ud83c\udf03",no_bell:"\ud83d\udd15",no_bicycles:"\ud83d\udeb3",no_entry:"\u26d4\ufe0f",no_entry_sign:"\ud83d\udeab",no_mobile_phones:"\ud83d\udcf5",no_mouth:"\ud83d\ude36",no_pedestrians:"\ud83d\udeb7",no_smoking:"\ud83d\udead","non-potable_water":"\ud83d\udeb1",nose:"\ud83d\udc43",notebook:"\ud83d\udcd3",notebook_with_decorative_cover:"\ud83d\udcd4",notes:"\ud83c\udfb6",nut_and_bolt:"\ud83d\udd29",o:"\u2b55\ufe0f",o2:"\ud83c\udd7e\ufe0f",ocean:"\ud83c\udf0a",octopus:"\ud83d\udc19",oden:"\ud83c\udf62",office:"\ud83c\udfe2",oil_drum:"\ud83d\udee2",ok:"\ud83c\udd97",ok_hand:"\ud83d\udc4c",ok_man:"\ud83d\ude46&zwj;\u2642\ufe0f",ok_woman:"\ud83d\ude46",old_key:"\ud83d\udddd",older_man:"\ud83d\udc74",older_woman:"\ud83d\udc75",om:"\ud83d\udd49",on:"\ud83d\udd1b",oncoming_automobile:"\ud83d\ude98",oncoming_bus:"\ud83d\ude8d",oncoming_police_car:"\ud83d\ude94",oncoming_taxi:"\ud83d\ude96",open_file_folder:"\ud83d\udcc2",open_hands:"\ud83d\udc50",open_mouth:"\ud83d\ude2e",open_umbrella:"\u2602\ufe0f",ophiuchus:"\u26ce",orange_book:"\ud83d\udcd9",orthodox_cross:"\u2626\ufe0f",outbox_tray:"\ud83d\udce4",owl:"\ud83e\udd89",ox:"\ud83d\udc02","package":"\ud83d\udce6",page_facing_up:"\ud83d\udcc4",page_with_curl:"\ud83d\udcc3",pager:"\ud83d\udcdf",paintbrush:"\ud83d\udd8c",palm_tree:"\ud83c\udf34",pancakes:"\ud83e\udd5e",panda_face:"\ud83d\udc3c",paperclip:"\ud83d\udcce",paperclips:"\ud83d\udd87",parasol_on_ground:"\u26f1",parking:"\ud83c\udd7f\ufe0f",part_alternation_mark:"\u303d\ufe0f",partly_sunny:"\u26c5\ufe0f",passenger_ship:"\ud83d\udef3",passport_control:"\ud83d\udec2",pause_button:"\u23f8",peace_symbol:"\u262e\ufe0f",peach:"\ud83c\udf51",peanuts:"\ud83e\udd5c",pear:"\ud83c\udf50",pen:"\ud83d\udd8a",pencil2:"\u270f\ufe0f",penguin:"\ud83d\udc27",pensive:"\ud83d\ude14",performing_arts:"\ud83c\udfad",persevere:"\ud83d\ude23",person_fencing:"\ud83e\udd3a",pouting_woman:"\ud83d\ude4e",phone:"\u260e\ufe0f",pick:"\u26cf",pig:"\ud83d\udc37",pig2:"\ud83d\udc16",pig_nose:"\ud83d\udc3d",pill:"\ud83d\udc8a",pineapple:"\ud83c\udf4d",ping_pong:"\ud83c\udfd3",pisces:"\u2653\ufe0f",pizza:"\ud83c\udf55",place_of_worship:"\ud83d\uded0",plate_with_cutlery:"\ud83c\udf7d",play_or_pause_button:"\u23ef",point_down:"\ud83d\udc47",point_left:"\ud83d\udc48",point_right:"\ud83d\udc49",point_up:"\u261d\ufe0f",point_up_2:"\ud83d\udc46",police_car:"\ud83d\ude93",policewoman:"\ud83d\udc6e&zwj;\u2640\ufe0f",poodle:"\ud83d\udc29",popcorn:"\ud83c\udf7f",post_office:"\ud83c\udfe3",postal_horn:"\ud83d\udcef",postbox:"\ud83d\udcee",potable_water:"\ud83d\udeb0",potato:"\ud83e\udd54",pouch:"\ud83d\udc5d",poultry_leg:"\ud83c\udf57",pound:"\ud83d\udcb7",rage:"\ud83d\ude21",pouting_cat:"\ud83d\ude3e",pouting_man:"\ud83d\ude4e&zwj;\u2642\ufe0f",pray:"\ud83d\ude4f",prayer_beads:"\ud83d\udcff",pregnant_woman:"\ud83e\udd30",previous_track_button:"\u23ee",prince:"\ud83e\udd34",princess:"\ud83d\udc78",printer:"\ud83d\udda8",purple_heart:"\ud83d\udc9c",purse:"\ud83d\udc5b",pushpin:"\ud83d\udccc",put_litter_in_its_place:"\ud83d\udeae",question:"\u2753",rabbit:"\ud83d\udc30",rabbit2:"\ud83d\udc07",racehorse:"\ud83d\udc0e",racing_car:"\ud83c\udfce",radio:"\ud83d\udcfb",radio_button:"\ud83d\udd18",radioactive:"\u2622\ufe0f",railway_car:"\ud83d\ude83",railway_track:"\ud83d\udee4",rainbow:"\ud83c\udf08",rainbow_flag:"\ud83c\udff3\ufe0f&zwj;\ud83c\udf08",raised_back_of_hand:"\ud83e\udd1a",raised_hand_with_fingers_splayed:"\ud83d\udd90",raised_hands:"\ud83d\ude4c",raising_hand_woman:"\ud83d\ude4b",raising_hand_man:"\ud83d\ude4b&zwj;\u2642\ufe0f",ram:"\ud83d\udc0f",ramen:"\ud83c\udf5c",rat:"\ud83d\udc00",record_button:"\u23fa",recycle:"\u267b\ufe0f",red_circle:"\ud83d\udd34",registered:"\xae\ufe0f",relaxed:"\u263a\ufe0f",relieved:"\ud83d\ude0c",reminder_ribbon:"\ud83c\udf97",repeat:"\ud83d\udd01",repeat_one:"\ud83d\udd02",rescue_worker_helmet:"\u26d1",restroom:"\ud83d\udebb",revolving_hearts:"\ud83d\udc9e",rewind:"\u23ea",rhinoceros:"\ud83e\udd8f",ribbon:"\ud83c\udf80",rice:"\ud83c\udf5a",rice_ball:"\ud83c\udf59",rice_cracker:"\ud83c\udf58",rice_scene:"\ud83c\udf91",right_anger_bubble:"\ud83d\uddef",ring:"\ud83d\udc8d",robot:"\ud83e\udd16",rocket:"\ud83d\ude80",rofl:"\ud83e\udd23",roll_eyes:"\ud83d\ude44",roller_coaster:"\ud83c\udfa2",rooster:"\ud83d\udc13",rose:"\ud83c\udf39",rosette:"\ud83c\udff5",rotating_light:"\ud83d\udea8",round_pushpin:"\ud83d\udccd",rowing_man:"\ud83d\udea3",rowing_woman:"\ud83d\udea3&zwj;\u2640\ufe0f",rugby_football:"\ud83c\udfc9",running_man:"\ud83c\udfc3",running_shirt_with_sash:"\ud83c\udfbd",running_woman:"\ud83c\udfc3&zwj;\u2640\ufe0f",sa:"\ud83c\ude02\ufe0f",sagittarius:"\u2650\ufe0f",sake:"\ud83c\udf76",sandal:"\ud83d\udc61",santa:"\ud83c\udf85",satellite:"\ud83d\udce1",saxophone:"\ud83c\udfb7",school:"\ud83c\udfeb",school_satchel:"\ud83c\udf92",scissors:"\u2702\ufe0f",scorpion:"\ud83e\udd82",scorpius:"\u264f\ufe0f",scream:"\ud83d\ude31",scream_cat:"\ud83d\ude40",scroll:"\ud83d\udcdc",seat:"\ud83d\udcba",secret:"\u3299\ufe0f",see_no_evil:"\ud83d\ude48",seedling:"\ud83c\udf31",selfie:"\ud83e\udd33",shallow_pan_of_food:"\ud83e\udd58",shamrock:"\u2618\ufe0f",shark:"\ud83e\udd88",shaved_ice:"\ud83c\udf67",sheep:"\ud83d\udc11",shell:"\ud83d\udc1a",shield:"\ud83d\udee1",shinto_shrine:"\u26e9",ship:"\ud83d\udea2",shirt:"\ud83d\udc55",shopping:"\ud83d\udecd",shopping_cart:"\ud83d\uded2",shower:"\ud83d\udebf",shrimp:"\ud83e\udd90",signal_strength:"\ud83d\udcf6",six_pointed_star:"\ud83d\udd2f",ski:"\ud83c\udfbf",skier:"\u26f7",skull:"\ud83d\udc80",skull_and_crossbones:"\u2620\ufe0f",sleeping:"\ud83d\ude34",sleeping_bed:"\ud83d\udecc",sleepy:"\ud83d\ude2a",slightly_frowning_face:"\ud83d\ude41",slightly_smiling_face:"\ud83d\ude42",slot_machine:"\ud83c\udfb0",small_airplane:"\ud83d\udee9",small_blue_diamond:"\ud83d\udd39",small_orange_diamond:"\ud83d\udd38",small_red_triangle:"\ud83d\udd3a",small_red_triangle_down:"\ud83d\udd3b",smile:"\ud83d\ude04",smile_cat:"\ud83d\ude38",smiley:"\ud83d\ude03",smiley_cat:"\ud83d\ude3a",smiling_imp:"\ud83d\ude08",smirk:"\ud83d\ude0f",smirk_cat:"\ud83d\ude3c",smoking:"\ud83d\udeac",snail:"\ud83d\udc0c",snake:"\ud83d\udc0d",sneezing_face:"\ud83e\udd27",snowboarder:"\ud83c\udfc2",snowflake:"\u2744\ufe0f",snowman:"\u26c4\ufe0f",snowman_with_snow:"\u2603\ufe0f",sob:"\ud83d\ude2d",soccer:"\u26bd\ufe0f",soon:"\ud83d\udd1c",sos:"\ud83c\udd98",sound:"\ud83d\udd09",space_invader:"\ud83d\udc7e",spades:"\u2660\ufe0f",spaghetti:"\ud83c\udf5d",sparkle:"\u2747\ufe0f",sparkler:"\ud83c\udf87",sparkles:"\u2728",sparkling_heart:"\ud83d\udc96",speak_no_evil:"\ud83d\ude4a",speaker:"\ud83d\udd08",speaking_head:"\ud83d\udde3",speech_balloon:"\ud83d\udcac",speedboat:"\ud83d\udea4",spider:"\ud83d\udd77",spider_web:"\ud83d\udd78",spiral_calendar:"\ud83d\uddd3",spiral_notepad:"\ud83d\uddd2",spoon:"\ud83e\udd44",squid:"\ud83e\udd91",stadium:"\ud83c\udfdf",star:"\u2b50\ufe0f",star2:"\ud83c\udf1f",star_and_crescent:"\u262a\ufe0f",star_of_david:"\u2721\ufe0f",stars:"\ud83c\udf20",station:"\ud83d\ude89",statue_of_liberty:"\ud83d\uddfd",steam_locomotive:"\ud83d\ude82",stew:"\ud83c\udf72",stop_button:"\u23f9",stop_sign:"\ud83d\uded1",stopwatch:"\u23f1",straight_ruler:"\ud83d\udccf",strawberry:"\ud83c\udf53",stuck_out_tongue:"\ud83d\ude1b",stuck_out_tongue_closed_eyes:"\ud83d\ude1d",stuck_out_tongue_winking_eye:"\ud83d\ude1c",studio_microphone:"\ud83c\udf99",stuffed_flatbread:"\ud83e\udd59",sun_behind_large_cloud:"\ud83c\udf25",sun_behind_rain_cloud:"\ud83c\udf26",sun_behind_small_cloud:"\ud83c\udf24",sun_with_face:"\ud83c\udf1e",sunflower:"\ud83c\udf3b",sunglasses:"\ud83d\ude0e",sunny:"\u2600\ufe0f",sunrise:"\ud83c\udf05",sunrise_over_mountains:"\ud83c\udf04",surfing_man:"\ud83c\udfc4",surfing_woman:"\ud83c\udfc4&zwj;\u2640\ufe0f",sushi:"\ud83c\udf63",suspension_railway:"\ud83d\ude9f",sweat:"\ud83d\ude13",sweat_drops:"\ud83d\udca6",sweat_smile:"\ud83d\ude05",sweet_potato:"\ud83c\udf60",swimming_man:"\ud83c\udfca",swimming_woman:"\ud83c\udfca&zwj;\u2640\ufe0f",symbols:"\ud83d\udd23",synagogue:"\ud83d\udd4d",syringe:"\ud83d\udc89",taco:"\ud83c\udf2e",tada:"\ud83c\udf89",tanabata_tree:"\ud83c\udf8b",taurus:"\u2649\ufe0f",taxi:"\ud83d\ude95",tea:"\ud83c\udf75",telephone_receiver:"\ud83d\udcde",telescope:"\ud83d\udd2d",tennis:"\ud83c\udfbe",tent:"\u26fa\ufe0f",thermometer:"\ud83c\udf21",thinking:"\ud83e\udd14",thought_balloon:"\ud83d\udcad",ticket:"\ud83c\udfab",tickets:"\ud83c\udf9f",tiger:"\ud83d\udc2f",tiger2:"\ud83d\udc05",timer_clock:"\u23f2",tipping_hand_man:"\ud83d\udc81&zwj;\u2642\ufe0f",tired_face:"\ud83d\ude2b",tm:"\u2122\ufe0f",toilet:"\ud83d\udebd",tokyo_tower:"\ud83d\uddfc",tomato:"\ud83c\udf45",tongue:"\ud83d\udc45",top:"\ud83d\udd1d",tophat:"\ud83c\udfa9",tornado:"\ud83c\udf2a",trackball:"\ud83d\uddb2",tractor:"\ud83d\ude9c",traffic_light:"\ud83d\udea5",train:"\ud83d\ude8b",train2:"\ud83d\ude86",tram:"\ud83d\ude8a",triangular_flag_on_post:"\ud83d\udea9",triangular_ruler:"\ud83d\udcd0",trident:"\ud83d\udd31",triumph:"\ud83d\ude24",trolleybus:"\ud83d\ude8e",trophy:"\ud83c\udfc6",tropical_drink:"\ud83c\udf79",tropical_fish:"\ud83d\udc20",truck:"\ud83d\ude9a",trumpet:"\ud83c\udfba",tulip:"\ud83c\udf37",tumbler_glass:"\ud83e\udd43",turkey:"\ud83e\udd83",turtle:"\ud83d\udc22",tv:"\ud83d\udcfa",twisted_rightwards_arrows:"\ud83d\udd00",two_hearts:"\ud83d\udc95",two_men_holding_hands:"\ud83d\udc6c",two_women_holding_hands:"\ud83d\udc6d",u5272:"\ud83c\ude39",u5408:"\ud83c\ude34",u55b6:"\ud83c\ude3a",u6307:"\ud83c\ude2f\ufe0f",u6708:"\ud83c\ude37\ufe0f",u6709:"\ud83c\ude36",u6e80:"\ud83c\ude35",u7121:"\ud83c\ude1a\ufe0f",u7533:"\ud83c\ude38",u7981:"\ud83c\ude32",u7a7a:"\ud83c\ude33",umbrella:"\u2614\ufe0f",unamused:"\ud83d\ude12",underage:"\ud83d\udd1e",unicorn:"\ud83e\udd84",unlock:"\ud83d\udd13",up:"\ud83c\udd99",upside_down_face:"\ud83d\ude43",v:"\u270c\ufe0f",vertical_traffic_light:"\ud83d\udea6",vhs:"\ud83d\udcfc",vibration_mode:"\ud83d\udcf3",video_camera:"\ud83d\udcf9",video_game:"\ud83c\udfae",violin:"\ud83c\udfbb",virgo:"\u264d\ufe0f",volcano:"\ud83c\udf0b",volleyball:"\ud83c\udfd0",vs:"\ud83c\udd9a",vulcan_salute:"\ud83d\udd96",walking_man:"\ud83d\udeb6",walking_woman:"\ud83d\udeb6&zwj;\u2640\ufe0f",waning_crescent_moon:"\ud83c\udf18",waning_gibbous_moon:"\ud83c\udf16",warning:"\u26a0\ufe0f",wastebasket:"\ud83d\uddd1",watch:"\u231a\ufe0f",water_buffalo:"\ud83d\udc03",watermelon:"\ud83c\udf49",wave:"\ud83d\udc4b",wavy_dash:"\u3030\ufe0f",waxing_crescent_moon:"\ud83c\udf12",wc:"\ud83d\udebe",weary:"\ud83d\ude29",wedding:"\ud83d\udc92",weight_lifting_man:"\ud83c\udfcb\ufe0f",weight_lifting_woman:"\ud83c\udfcb\ufe0f&zwj;\u2640\ufe0f",whale:"\ud83d\udc33",whale2:"\ud83d\udc0b",wheel_of_dharma:"\u2638\ufe0f",wheelchair:"\u267f\ufe0f",white_check_mark:"\u2705",white_circle:"\u26aa\ufe0f",white_flag:"\ud83c\udff3\ufe0f",white_flower:"\ud83d\udcae",white_large_square:"\u2b1c\ufe0f",white_medium_small_square:"\u25fd\ufe0f",white_medium_square:"\u25fb\ufe0f",white_small_square:"\u25ab\ufe0f",white_square_button:"\ud83d\udd33",wilted_flower:"\ud83e\udd40",wind_chime:"\ud83c\udf90",wind_face:"\ud83c\udf2c",wine_glass:"\ud83c\udf77",wink:"\ud83d\ude09",wolf:"\ud83d\udc3a",woman:"\ud83d\udc69",woman_artist:"\ud83d\udc69&zwj;\ud83c\udfa8",woman_astronaut:"\ud83d\udc69&zwj;\ud83d\ude80",woman_cartwheeling:"\ud83e\udd38&zwj;\u2640\ufe0f",woman_cook:"\ud83d\udc69&zwj;\ud83c\udf73",woman_facepalming:"\ud83e\udd26&zwj;\u2640\ufe0f",woman_factory_worker:"\ud83d\udc69&zwj;\ud83c\udfed",woman_farmer:"\ud83d\udc69&zwj;\ud83c\udf3e",woman_firefighter:"\ud83d\udc69&zwj;\ud83d\ude92",woman_health_worker:"\ud83d\udc69&zwj;\u2695\ufe0f",woman_judge:"\ud83d\udc69&zwj;\u2696\ufe0f",woman_juggling:"\ud83e\udd39&zwj;\u2640\ufe0f",woman_mechanic:"\ud83d\udc69&zwj;\ud83d\udd27",woman_office_worker:"\ud83d\udc69&zwj;\ud83d\udcbc",woman_pilot:"\ud83d\udc69&zwj;\u2708\ufe0f",woman_playing_handball:"\ud83e\udd3e&zwj;\u2640\ufe0f",woman_playing_water_polo:"\ud83e\udd3d&zwj;\u2640\ufe0f",woman_scientist:"\ud83d\udc69&zwj;\ud83d\udd2c",woman_shrugging:"\ud83e\udd37&zwj;\u2640\ufe0f",woman_singer:"\ud83d\udc69&zwj;\ud83c\udfa4",woman_student:"\ud83d\udc69&zwj;\ud83c\udf93",woman_teacher:"\ud83d\udc69&zwj;\ud83c\udfeb",woman_technologist:"\ud83d\udc69&zwj;\ud83d\udcbb",woman_with_turban:"\ud83d\udc73&zwj;\u2640\ufe0f",womans_clothes:"\ud83d\udc5a",womans_hat:"\ud83d\udc52",women_wrestling:"\ud83e\udd3c&zwj;\u2640\ufe0f",womens:"\ud83d\udeba",world_map:"\ud83d\uddfa",worried:"\ud83d\ude1f",wrench:"\ud83d\udd27",writing_hand:"\u270d\ufe0f",x:"\u274c",yellow_heart:"\ud83d\udc9b",yen:"\ud83d\udcb4",yin_yang:"\u262f\ufe0f",yum:"\ud83d\ude0b",zap:"\u26a1\ufe0f",zipper_mouth_face:"\ud83e\udd10",zzz:"\ud83d\udca4",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="path_to_url">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},L.Converter=function(n){var a={},i=[],s=[],l={},r=A,o={parsed:{},raw:"",format:""};function c(e,t){if(t=t||null,L.helper.isString(e)){if(t=e=L.helper.stdExtName(e),L.extensions[e])return void function o(e,t){"function"==typeof e&&(e=e(new L.Converter));L.helper.isArray(e)||(e=[e]);var n=S(e,t);if(!n.valid)throw Error(n.error);for(var r=0;r<e.length;++r)switch(e[r].type){case"lang":i.push(e[r]);break;case"output":s.push(e[r]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(L.extensions[e],e);if(L.helper.isUndefined(_[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=_[e]}"function"==typeof e&&(e=e()),L.helper.isArray(e)||(e=[e]);var n=S(e,t);if(!n.valid)throw Error(n.error);for(var r=0;r<e.length;++r){switch(e[r].type){case"lang":i.push(e[r]);break;case"output":s.push(e[r])}if(e[r].hasOwnProperty("listeners"))for(var a in e[r].listeners)e[r].listeners.hasOwnProperty(a)&&d(a,e[r].listeners[a])}}function d(e,t){if(!L.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+kt(e)+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+kt(t)+" given");l.hasOwnProperty(e)||(l[e]=[]),l[e].push(t)}!function f(){for(var e in n=n||{},w)w.hasOwnProperty(e)&&(a[e]=w[e]);{if("object"!==kt(n))throw Error("Converter expects the passed parameter to be an object, but "+kt(n)+" was passed instead.");for(var t in n)n.hasOwnProperty(t)&&(a[t]=n[t])}a.extensions&&L.helper.forEach(a.extensions,c)}(),this._dispatch=function(e,t,n,r){if(l.hasOwnProperty(e))for(var a=0;a<l[e].length;++a){var o=l[e][a](e,t,this,n,r);o&&void 0!==o&&(t=o)}return t},this.listen=function(e,t){return d(e,t),this},this.makeHtml=function(t){if(!t)return t;var n={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:i,outputModifiers:s,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return t=(t=(t=(t=(t=t.replace(/\xa8/g,"\xa8T")).replace(/\$/g,"\xa8D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),a.smartIndentationFix&&(t=function r(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(t)),t="\n\n"+t+"\n\n",t=(t=L.subParser("detab")(t,a,n)).replace(/^[ \t]+$/gm,""),L.helper.forEach(i,function(e){t=L.subParser("runExtension")(e,t,a,n)}),t=L.subParser("metadata")(t,a,n),t=L.subParser("hashPreCodeTags")(t,a,n),t=L.subParser("githubCodeBlocks")(t,a,n),t=L.subParser("hashHTMLBlocks")(t,a,n),t=L.subParser("hashCodeTags")(t,a,n),t=L.subParser("stripLinkDefinitions")(t,a,n),t=L.subParser("blockGamut")(t,a,n),t=L.subParser("unhashHTMLSpans")(t,a,n),t=(t=(t=L.subParser("unescapeSpecialChars")(t,a,n)).replace(/\xa8D/g,"$$")).replace(/\xa8T/g,"\xa8"),t=L.subParser("completeHTMLDocument")(t,a,n),L.helper.forEach(s,function(e){t=L.subParser("runExtension")(e,t,a,n)}),o=n.metadata,t},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">\xa8NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function c(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var a=t[r].firstChild.innerHTML.trim(),o=t[r].firstChild.getAttribute("data-language")||"";if(""===o)for(var i=t[r].firstChild.className.split(" "),s=0;s<i.length;++s){var l=i[s].match(/^language-(.+)$/);if(null!==l){o=l[1];break}}a=L.helper.unescapeHTMLEntities(a),n.push(a),t[r].outerHTML='<precode language="'+o+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function s(e){for(var t=0;t<e.childNodes.length;++t){var n=e.childNodes[t];3===n.nodeType?/\S/.test(n.nodeValue)?(n.nodeValue=n.nodeValue.split("\n").join(" "),n.nodeValue=n.nodeValue.replace(/(\s)+/g,"$1")):(e.removeChild(n),--t):1===n.nodeType&&s(n)}}(n);for(var a=n.childNodes,o="",i=0;i<a.length;i++)o+=L.subParser("makeMarkdown.node")(a[i],r);return o},this.setOption=function(e,t){a[e]=t},this.getOption=function(e){return a[e]},this.getOptions=function(){return a},this.addExtension=function(e,t){c(e,t=t||null)},this.useExtension=function(e){c(e)},this.setFlavor=function(e){if(!T.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=T[e];for(var n in r=e,t)t.hasOwnProperty(n)&&(a[n]=t[n])},this.getFlavor=function(){return r},this.removeExtension=function(e){L.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var n=e[t],r=0;r<i.length;++r)i[r]===n&&i[r].splice(r,1);for(;0<s.length;++r)s[0]===n&&s[0].splice(r,1)}},this.getAllExtensions=function(){return{language:i,output:s}},this.getMetadata=function(e){return e?o.raw:o.parsed},this.getMetadataFormat=function(){return o.format},this._setMetadataPair=function(e,t){o.parsed[e]=t},this._setMetadataFormat=function(e){o.format=e},this._setMetadataRaw=function(e){o.raw=e}},L.subParser("anchors",function(e,l,c){var d=function d(e,t,n,r,a,o,i){if(L.helper.isUndefined(i)&&(i=""),n=n.toLowerCase(),-1<e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m))r="";else if(!r){if(n||(n=t.toLowerCase().replace(/ ?\n/g," ")),r="#"+n,L.helper.isUndefined(c.gUrls[n]))return e;r=c.gUrls[n],L.helper.isUndefined(c.gTitles[n])||(i=c.gTitles[n])}var s='<a href="'+(r=r.replace(L.helper.regexes.asteriskDashAndColon,L.helper.escapeCharactersCallback))+'"';return""!==i&&null!==i&&(s+=' title="'+(i=(i=i.replace(/"/g,"&quot;")).replace(L.helper.regexes.asteriskDashAndColon,L.helper.escapeCharactersCallback))+'"'),l.openLinksInNewWindow&&!/^#/.test(r)&&(s+=' rel="noopener noreferrer" target="\xa8E95Eblank"'),s+=">"+t+"</a>"};return e=(e=(e=(e=(e=c.converter._dispatch("anchors.before",e,l,c)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,d)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,d)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,d)).replace(/\[([^\[\]]+)]()()()()()/g,d),l.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,t,n,r,a){if("\\"===n)return t+r;if(!L.helper.isString(l.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var o=l.ghMentionsLink.replace(/\{u}/g,a),i="";return l.openLinksInNewWindow&&(i=' rel="noopener noreferrer" target="\xa8E95Eblank"'),t+'<a href="'+o+'"'+i+">"+r+"</a>"})),e=c.converter._dispatch("anchors.after",e,l,c)});var R=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,M=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,O=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,N=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,I=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,D=function D(p){return function(e,t,n,r,a,o,i){var s=n=n.replace(L.helper.regexes.asteriskDashAndColon,L.helper.escapeCharactersCallback),l="",c="",d=t||"",f=i||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"path_to_url")),p.excludeTrailingPunctuationFromURLs&&o&&(l=o),p.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="\xa8E95Eblank"'),d+'<a href="'+n+'"'+c+">"+s+"</a>"+l+f}},B=function B(a,o){return function(e,t,n){var r="mailto:";return t=t||"",n=L.subParser("unescapeSpecialChars")(n,a,o),a.encodeEmails?(r=L.helper.encodeEmailAddress(r+n),n=L.helper.encodeEmailAddress(n)):r+=n,t+'<a href="'+r+'">'+n+"</a>"}};return L.subParser("autoLinks",function(e,t,n){return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(O,D(t))).replace(I,B(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),L.subParser("simplifiedAutoLinks",function(e,t,n){return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(M,D(t)):e.replace(R,D(t))).replace(N,B(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),L.subParser("blockGamut",function(e,t,n){return e=n.converter._dispatch("blockGamut.before",e,t,n),e=L.subParser("blockQuotes")(e,t,n),e=L.subParser("headers")(e,t,n),e=L.subParser("horizontalRule")(e,t,n),e=L.subParser("lists")(e,t,n),e=L.subParser("codeBlocks")(e,t,n),e=L.subParser("tables")(e,t,n),e=L.subParser("hashHTMLBlocks")(e,t,n),e=L.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),L.subParser("blockQuotes",function(e,t,n){e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/\xa80/g,"")).replace(/^[ \t]+$/gm,""),e=L.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=L.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=(n=n.replace(/^ {2}/gm,"\xa80")).replace(/\xa80/g,"")}),L.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),L.subParser("codeBlocks",function(e,i,s){e=s.converter._dispatch("codeBlocks.before",e,i,s);return e=(e=(e+="\xa80").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=\xa80))/g,function(e,t,n){var r=t,a=n,o="\n";return r=L.subParser("outdent")(r,i,s),r=L.subParser("encodeCode")(r,i,s),r=(r=(r=L.subParser("detab")(r,i,s)).replace(/^\n+/g,"")).replace(/\n+$/g,""),i.omitExtraWLInCodeBlocks&&(o=""),r="<pre><code>"+r+o+"</code></pre>",L.subParser("hashBlock")(r,i,s)+a})).replace(/\xa80/,""),e=s.converter._dispatch("codeBlocks.after",e,i,s)}),L.subParser("codeSpans",function(e,o,i){return void 0===(e=i.converter._dispatch("codeSpans.before",e,o,i))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,t,n,r){var a=r;return a=(a=a.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),a=t+"<code>"+(a=L.subParser("encodeCode")(a,o,i))+"</code>",a=L.subParser("hashHTMLSpans")(a,o,i)}),e=i.converter._dispatch("codeSpans.after",e,o,i)}),L.subParser("completeHTMLDocument",function(e,t,n){if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",a="<!DOCTYPE HTML>\n",o="",i='<meta charset="utf-8">\n',s="",l="";for(var c in"undefined"!=typeof n.metadata.parsed.doctype&&(a="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(i='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case"doctype":break;case"title":o="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":i="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[c]+'"',l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n';break;default:l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n'}return e=a+"<html"+s+">\n<head>\n"+o+i+l+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)}),L.subParser("detab",function(e,t,n){return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"\xa8A\xa8B")).replace(/\xa8B(.+?)\xa8A/g,function(e,t){for(var n=t,r=4-n.length%4,a=0;a<r;a++)n+=" ";return n})).replace(/\xa8A/g," ")).replace(/\xa8B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),L.subParser("ellipsis",function(e,t,n){return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"\u2026"),e=n.converter._dispatch("ellipsis.after",e,t,n)}),L.subParser("emoji",function(e,t,n){if(!t.emoji)return e;return e=(e=n.converter._dispatch("emoji.before",e,t,n)).replace(/:([\S]+?):/g,function(e,t){return L.helper.emojis.hasOwnProperty(t)?L.helper.emojis[t]:e}),e=n.converter._dispatch("emoji.after",e,t,n)}),L.subParser("encodeAmpsAndAngles",function(e,t,n){return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),L.subParser("encodeBackslashEscapes",function(e,t,n){return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,L.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,L.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),L.subParser("encodeCode",function(e,t,n){return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,L.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),L.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,L.helper.escapeCharactersCallback)})).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,L.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),L.subParser("githubCodeBlocks",function(e,o,i){return o.ghCodeBlocks?(e=i.converter._dispatch("githubCodeBlocks.before",e,o,i),e=(e=(e+="\xa80").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,t,n,r){var a=o.omitExtraWLInCodeBlocks?"":"\n";return r=L.subParser("encodeCode")(r,o,i),r="<pre><code"+(n?' class="'+n+" language-"+n+'"':"")+">"+(r=(r=(r=L.subParser("detab")(r,o,i)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+a+"</code></pre>",r=L.subParser("hashBlock")(r,o,i),"\n\n\xa8G"+(i.ghCodeBlocks.push({text:e,codeblock:r})-1)+"G\n\n"})).replace(/\xa80/,""),i.converter._dispatch("githubCodeBlocks.after",e,o,i)):e}),L.subParser("hashBlock",function(e,t,n){return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n\xa8K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),L.subParser("hashCodeTags",function(e,o,i){e=i.converter._dispatch("hashCodeTags.before",e,o,i);var s=function s(e,t,n,r){var a=n+L.subParser("encodeCode")(t,o,i)+r;return"\xa8C"+(i.gHtmlSpans.push(a)-1)+"C"};return e=L.helper.replaceRecursiveRegExp(e,s,"<code\\b[^>]*>","</code>","gim"),e=i.converter._dispatch("hashCodeTags.after",e,o,i)}),L.subParser("hashElement",function(e,t,r){return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n\xa8K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}}),L.subParser("hashHTMLBlocks",function(e,t,o){e=o.converter._dispatch("hashHTMLBlocks.before",e,t,o);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],i=function i(e,t,n,r){var a=e;return-1!==n.search(/\bmarkdown\b/)&&(a=n+o.converter.makeHtml(t)+r),"\n\n\xa8K"+(o.gHtmlBlocks.push(a)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"&lt;"+t+"&gt;"}));for(var r=0;r<n.length;++r)for(var a,s=new RegExp("^ {0,3}(<"+n[r]+"\\b[^>]*>)","im"),l="<"+n[r]+"\\b[^>]*>",c="</"+n[r]+">";-1!==(a=L.helper.regexIndexOf(e,s));){var d=L.helper.splitAtIndex(e,a),f=L.helper.replaceRecursiveRegExp(d[1],i,l,c,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,L.subParser("hashElement")(e,t,o)),e=(e=L.helper.replaceRecursiveRegExp(e,function(e){return"\n\n\xa8K"+(o.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,L.subParser("hashElement")(e,t,o)),e=o.converter._dispatch("hashHTMLBlocks.after",e,t,o)}),L.subParser("hashHTMLSpans",function(e,t,n){function r(e){return"\xa8C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,function(e){return r(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),L.subParser("unhashHTMLSpans",function(e,t,n){e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var a=n.gHtmlSpans[r],o=0;/\xa8C(\d+)C/.test(a);){var i=RegExp.$1;if(a=a.replace("\xa8C"+i+"C",n.gHtmlSpans[i]),10===o)break;++o}e=e.replace("\xa8C"+r+"C",a)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)}),L.subParser("hashPreCodeTags",function(e,o,i){e=i.converter._dispatch("hashPreCodeTags.before",e,o,i);var s=function s(e,t,n,r){var a=n+L.subParser("encodeCode")(t,o,i)+r;return"\n\n\xa8G"+(i.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"};return e=L.helper.replaceRecursiveRegExp(e,s,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=i.converter._dispatch("hashPreCodeTags.after",e,o,i)}),L.subParser("headers",function(e,l,c){e=c.converter._dispatch("headers.before",e,l,c);var d=isNaN(parseInt(l.headerLevelStart))?1:parseInt(l.headerLevelStart),t=l.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,n=l.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(t,function(e,t){var n=L.subParser("spanGamut")(t,l,c),r=l.noHeaderId?"":' id="'+f(t)+'"',a="<h"+d+r+">"+n+"</h"+d+">";return L.subParser("hashBlock")(a,l,c)})).replace(n,function(e,t){var n=L.subParser("spanGamut")(t,l,c),r=l.noHeaderId?"":' id="'+f(t)+'"',a=d+1,o="<h"+a+r+">"+n+"</h"+a+">";return L.subParser("hashBlock")(o,l,c)});var r=l.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function f(e){var t,n;if(l.customizedHeaderId){var r=e.match(/\{([^{]+?)}\s*$/);r&&r[1]&&(e=r[1])}return t=e,n=L.helper.isString(l.prefixHeaderId)?l.prefixHeaderId:!0===l.prefixHeaderId?"section-":"",l.rawPrefixHeaderId||(t=n+t),t=l.ghCompatibleHeaderId?t.replace(/ /g,"-").replace(/&amp;/g,"").replace(/\xa8T/g,"").replace(/\xa8D/g,"").replace(/[&+$,\/:;=?@"#{}|^\xa8~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():l.rawHeaderId?t.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/\xa8T/g,"\xa8").replace(/\xa8D/g,"$").replace(/["']/g,"-").toLowerCase():t.replace(/[^\w]/g,"").toLowerCase(),l.rawPrefixHeaderId&&(t=n+t),c.hashLinkCounts[t]?t=t+"-"+c.hashLinkCounts[t]++:c.hashLinkCounts[t]=1,t}return e=e.replace(r,function(e,t,n){var r=n;l.customizedHeaderId&&(r=n.replace(/\s?\{([^{]+?)}\s*$/,""));var a=L.subParser("spanGamut")(r,l,c),o=l.noHeaderId?"":' id="'+f(n)+'"',i=d-1+t.length,s="<h"+i+o+">"+a+"</h"+i+">";return L.subParser("hashBlock")(s,l,c)}),e=c.converter._dispatch("headers.after",e,l,c)}),L.subParser("horizontalRule",function(e,t,n){e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=L.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),L.subParser("images",function(e,t,p){function l(e,t,n,r,a,o,i,s){var l=p.gUrls,c=p.gTitles,d=p.gDimensions;if(n=n.toLowerCase(),s||(s=""),-1<e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m))r="";else if(""===r||null===r){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),r="#"+n,L.helper.isUndefined(l[n]))return e;r=l[n],L.helper.isUndefined(c[n])||(s=c[n]),L.helper.isUndefined(d[n])||(a=d[n].width,o=d[n].height)}t=t.replace(/"/g,"&quot;").replace(L.helper.regexes.asteriskDashAndColon,L.helper.escapeCharactersCallback);var f='<img src="'+(r=r.replace(L.helper.regexes.asteriskDashAndColon,L.helper.escapeCharactersCallback))+'" alt="'+t+'"';return s&&L.helper.isString(s)&&(f+=' title="'+(s=s.replace(/"/g,"&quot;").replace(L.helper.regexes.asteriskDashAndColon,L.helper.escapeCharactersCallback))+'"'),a&&o&&(f+=' width="'+(a="*"===a?"auto":a)+'"',f+=' height="'+(o="*"===o?"auto":o)+'"'),f+=" />"}return e=(e=(e=(e=(e=(e=p.converter._dispatch("images.before",e,t,p)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,l)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function c(e,t,n,r,a,o,i,s){return l(e,t,n,r=r.replace(/\s/g,""),a,o,0,s)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,l)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,l)).replace(/!\[([^\[\]]+)]()()()()()/g,l),e=p.converter._dispatch("images.after",e,t,p)}),L.subParser("italicsAndBold",function(e,t,n){function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return r(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong>","</strong>")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<em>","</em>")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),L.subParser("lists",function(e,p,d){function u(e,t){d.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var n=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80| {0,3}([*+-]|\d+[.])[ \t]+))/gm,c=/\n[ \t]*\n(?!\xa80)/.test(e+="\xa80");return p.disableForced4SpacesIndentedSublists&&(n=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(n,function(e,t,n,r,a,o,i){i=i&&""!==i.trim();var s=L.subParser("outdent")(a,p,d),l="";return o&&p.tasklists&&(l=' class="task-list-item" style="list-style-type: none;"',s=s.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return i&&(e+=" checked"),e+=">"})),s=s.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"\xa8A"+e}),s="<li"+l+">"+(s=(s=t||-1<s.search(/\n{2,}/)?(s=L.subParser("githubCodeBlocks")(s,p,d),L.subParser("blockGamut")(s,p,d)):(s=(s=L.subParser("lists")(s,p,d)).replace(/\n$/,""),s=(s=L.subParser("hashHTMLBlocks")(s,p,d)).replace(/\n\n+/g,"\n\n"),c?L.subParser("paragraphs")(s,p,d):L.subParser("spanGamut")(s,p,d))).replace("\xa8A",""))+"</li>\n"})).replace(/\xa80/g,""),d.gListLevel--,t&&(e=e.replace(/\s+$/,"")),e}function h(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(r,a,o){var i=p.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=p.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l="ul"===a?i:s,c="",d="ul"===a?" style='list-style: disc !important;padding: 0px 0px 0px 40px !important;'":" style='list-style: decimal !important;padding: 0px 0px 0px 40px !important;'";if(-1!==r.search(l))!function f(e){var t=e.search(l),n=h(r,a);-1!==t?(c+="\n\n<"+a+d+n+">\n"+u(e.slice(0,t),!!o)+"</"+a+">\n",l="ul"===(a="ul"===a?"ol":"ul")?i:s,f(e.slice(t))):c+="\n\n<"+a+d+n+">\n"+u(e,!!o)+"</"+a+">\n"}(r);else{var e=h(r,a);c="\n\n<"+a+d+e+">\n"+u(r,!!o)+"</"+a+">\n"}return c}return e=d.converter._dispatch("lists.before",e,p,d),e+="\xa80",e=(e=d.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return a(t,-1<n.search(/[*+-]/g)?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){return a(n,-1<r.search(/[*+-]/g)?"ul":"ol",!1)})).replace(/\xa80/,""),e=d.converter._dispatch("lists.after",e,p,d)}),L.subParser("metadata",function(e,t,r){if(!t.metadata)return e;function a(e){(e=(e=(r.metadata.raw=e).replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,n){return r.metadata.parsed[t]=n,""})}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*\xab\xab\xab+(\S*?)\n([\s\S]+?)\n\xbb\xbb\xbb+\n/,function(e,t,n){return a(n),"\xa8M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,n){return t&&(r.metadata.format=t),a(n),"\xa8M"})).replace(/\xa8M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)}),L.subParser("outdent",function(e,t,n){return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"\xa80")).replace(/\xa80/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),L.subParser("paragraphs",function(e,t,n){for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],o=r.length,i=0;i<o;i++){var s=r[i];0<=s.search(/\xa8(K|G)(\d+)\1/g)?a.push(s):0<=s.search(/\S/)&&(s=(s=L.subParser("spanGamut")(s,t,n)).replace(/^([ \t]*)/g,"<p>"),s+="</p>",a.push(s))}for(o=a.length,i=0;i<o;i++){for(var l="",c=a[i],d=!1;/\xa8(K|G)(\d+)\1/.test(c);){var f=RegExp.$1,p=RegExp.$2;l=(l="K"===f?n.gHtmlBlocks[p]:d?L.subParser("encodeCode")(n.ghCodeBlocks[p].text,t,n):n.ghCodeBlocks[p].codeblock).replace(/\$/g,"$$$$"),c=c.replace(/(\n\n)?\xa8(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(c)&&(d=!0)}a[i]=c}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),L.subParser("runExtension",function(e,t,n,r){if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t}),L.subParser("spanGamut",function(e,t,n){return e=n.converter._dispatch("spanGamut.before",e,t,n),e=L.subParser("codeSpans")(e,t,n),e=L.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=L.subParser("encodeBackslashEscapes")(e,t,n),e=L.subParser("images")(e,t,n),e=L.subParser("anchors")(e,t,n),e=L.subParser("autoLinks")(e,t,n),e=L.subParser("simplifiedAutoLinks")(e,t,n),e=L.subParser("emoji")(e,t,n),e=L.subParser("underline")(e,t,n),e=L.subParser("italicsAndBold")(e,t,n),e=L.subParser("strikethrough")(e,t,n),e=L.subParser("ellipsis")(e,t,n),e=L.subParser("hashHTMLSpans")(e,t,n),e=L.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n\xa8K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),L.subParser("strikethrough",function(e,r,a){return r.strikethrough&&(e=(e=a.converter._dispatch("strikethrough.before",e,r,a)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return function n(e){return r.simplifiedAutoLink&&(e=L.subParser("simplifiedAutoLinks")(e,r,a)),"<del>"+e+"</del>"}(t)}),e=a.converter._dispatch("strikethrough.after",e,r,a)),e}),L.subParser("stripLinkDefinitions",function(e,s,l){var c=function c(e,t,n,r,a,o,i){return t=t.toLowerCase(),n.match(/^data:.+?\/.+?;base64,/)?l.gUrls[t]=n.replace(/\s/g,""):l.gUrls[t]=L.subParser("encodeAmpsAndAngles")(n,s,l),o?o+i:(i&&(l.gTitles[t]=i.replace(/"|'/g,"&quot;")),s.parseImgDimensions&&r&&a&&(l.gDimensions[t]={width:r,height:a}),"")};return e=(e=(e=(e+="\xa80").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=\xa80)|(?=\n\[))/gm,c)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=\xa80))/gm,c)).replace(/\xa80/,"")}),L.subParser("tables",function(e,v,b){if(!v.tables)return e;function t(e){var t,n=e.split("\n");for(t=0;t<n.length;++t)/^ {0,3}\|/.test(n[t])&&(n[t]=n[t].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(n[t])&&(n[t]=n[t].replace(/\|[ \t]*$/,"")),n[t]=L.subParser("codeSpans")(n[t],v,b);var r,a,o,i,s,l=n[0].split("|").map(function(e){return e.trim()}),c=n[1].split("|").map(function(e){return e.trim()}),d=[],f=[],p=[],u=[];for(n.shift(),n.shift(),t=0;t<n.length;++t)""!==n[t].trim()&&d.push(n[t].split("|").map(function(e){return e.trim()}));if(l.length<c.length)return e;for(t=0;t<c.length;++t)p.push((r=c[t],/^:[ \t]*--*$/.test(r)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(r)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(r)?' style="text-align:center;"':""));for(t=0;t<l.length;++t)L.helper.isUndefined(p[t])&&(p[t]=""),f.push((a=l[t],o=p[t],i=void 0,i="",a=a.trim(),(v.tablesHeaderId||v.tableHeaderId)&&(i=' id="'+a.replace(/ /g,"_").toLowerCase()+'"'),"<th"+i+o+">"+(a=L.subParser("spanGamut")(a,v,b))+"</th>\n"));for(t=0;t<d.length;++t){for(var h=[],g=0;g<f.length;++g)L.helper.isUndefined(d[t][g]),h.push((s=d[t][g],"<td"+p[g]+">"+L.subParser("spanGamut")(s,v,b)+"</td>\n"));u.push(h)}return function m(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,a=0;a<r;++a)n+=e[a];for(n+="</tr>\n</thead>\n<tbody>\n",a=0;a<t.length;++a){n+="<tr>\n";for(var o=0;o<r;++o)n+=t[a][o];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}(f,u)}return e=(e=(e=(e=b.converter._dispatch("tables.before",e,v,b)).replace(/\\(\|)/g,L.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|\xa80)/gm,t)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|\xa80)/gm,t),e=b.converter._dispatch("tables.after",e,v,b)}),L.subParser("underline",function(e,t,n){return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return"<u>"+t+"</u>"})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return"<u>"+t+"</u>"}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/(_)/g,L.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e}),L.subParser("unescapeSpecialChars",function(e,t,n){return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/\xa8E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)}),L.subParser("makeMarkdown.blockquote",function(e,t){var n="";if(e.hasChildNodes())for(var r=e.childNodes,a=r.length,o=0;o<a;++o){var i=L.subParser("makeMarkdown.node")(r[o],t);""!==i&&(n+=i)}return n="> "+(n=n.trim()).split("\n").join("\n> ")}),L.subParser("makeMarkdown.codeBlock",function(e,t){var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"}),L.subParser("makeMarkdown.codeSpan",function(e){return"`"+e.innerHTML+"`"}),L.subParser("makeMarkdown.emphasis",function(e,t){var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,a=r.length,o=0;o<a;++o)n+=L.subParser("makeMarkdown.node")(r[o],t);n+="*"}return n}),L.subParser("makeMarkdown.header",function(e,t,n){var r=new Array(n+1).join("#"),a="";if(e.hasChildNodes()){a=r+" ";for(var o=e.childNodes,i=o.length,s=0;s<i;++s)a+=L.subParser("makeMarkdown.node")(o[s],t)}return a}),L.subParser("makeMarkdown.hr",function(){return"---"}),L.subParser("makeMarkdown.image",function(e){var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),L.subParser("makeMarkdown.links",function(e,t){var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,a=r.length;n="[";for(var o=0;o<a;++o)n+=L.subParser("makeMarkdown.node")(r[o],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n}),L.subParser("makeMarkdown.list",function(e,t,n){var r="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,i=e.getAttribute("start")||1,s=0;s<o;++s)if("undefined"!=typeof a[s].tagName&&"li"===a[s].tagName.toLowerCase()){r+=("ol"===n?i.toString()+". ":"- ")+L.subParser("makeMarkdown.listItem")(a[s],t),++i}return(r+="\n\x3c!-- --\x3e\n").trim()}),L.subParser("makeMarkdown.listItem",function(e,t){for(var n="",r=e.childNodes,a=r.length,o=0;o<a;++o)n+=L.subParser("makeMarkdown.node")(r[o],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n}),L.subParser("makeMarkdown.node",function(e,t,n){n=n||!1;var r="";if(3===e.nodeType)return L.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":n||(r=L.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=L.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=L.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=L.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=L.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=L.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=L.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=L.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=L.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=L.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=L.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=L.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=L.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=L.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=L.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=L.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=L.subParser("makeMarkdown.strong")(e,t);break;case"del":r=L.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=L.subParser("makeMarkdown.links")(e,t);break;case"img":r=L.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r}),L.subParser("makeMarkdown.paragraph",function(e,t){var n="";if(e.hasChildNodes())for(var r=e.childNodes,a=r.length,o=0;o<a;++o)n+=L.subParser("makeMarkdown.node")(r[o],t);return n=n.trim()}),L.subParser("makeMarkdown.pre",function(e,t){var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"}),L.subParser("makeMarkdown.strikethrough",function(e,t){var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,a=r.length,o=0;o<a;++o)n+=L.subParser("makeMarkdown.node")(r[o],t);n+="~~"}return n}),L.subParser("makeMarkdown.strong",function(e,t){var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,a=r.length,o=0;o<a;++o)n+=L.subParser("makeMarkdown.node")(r[o],t);n+="**"}return n}),L.subParser("makeMarkdown.table",function(e,t){var n,r,a="",o=[[],[]],i=e.querySelectorAll("thead>tr>th"),s=e.querySelectorAll("tbody>tr");for(n=0;n<i.length;++n){var l=L.subParser("makeMarkdown.tableCell")(i[n],t),c="---";if(i[n].hasAttribute("style"))switch(i[n].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":c=":---";break;case"text-align:right;":c="---:";break;case"text-align:center;":c=":---:"}o[0][n]=l.trim(),o[1][n]=c}for(n=0;n<s.length;++n){var d=o.push([])-1,f=s[n].getElementsByTagName("td");for(r=0;r<i.length;++r){var p=" ";"undefined"!=typeof f[r]&&(p=L.subParser("makeMarkdown.tableCell")(f[r],t)),o[d].push(p)}}var u=3;for(n=0;n<o.length;++n)for(r=0;r<o[n].length;++r){var h=o[n][r].length;u<h&&(u=h)}for(n=0;n<o.length;++n){for(r=0;r<o[n].length;++r)1===n?":"===o[n][r].slice(-1)?o[n][r]=L.helper.padEnd(o[n][r].slice(-1),u-1,"-")+":":o[n][r]=L.helper.padEnd(o[n][r],u,"-"):o[n][r]=L.helper.padEnd(o[n][r],u);a+="| "+o[n].join(" | ")+" |\n"}return a.trim()}),L.subParser("makeMarkdown.tableCell",function(e,t){var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,a=r.length,o=0;o<a;++o)n+=L.subParser("makeMarkdown.node")(r[o],t,!0);return n.trim()}),L.subParser("makeMarkdown.txt",function(e){var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/\xa8NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=L.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}),xt.PLUGINS.markdown=function(o){var i,l,n,r,s,c=o.$,a=!1,d="",f="";function p(e){e=function u(e){var t=e,n=e.match(/(\[\^(.+?)\])[^:]/g),r=e.match(/(\[\^(.+?)\]:)/g);if(n&&r){n.forEach(function(e,t,n){n[t]=n[t].substring(0,n[t].length-1)}),n=n.filter(function(e,t){return n.indexOf(e)===t}),r=r.filter(function(e,t){return r.indexOf(e)===t});for(var a=1,o=0;o<n.length;o++){var i="";if(1==a&&(i='<hr class="footnote-sep"><ol>'),-1<r.indexOf(n[o]+":")){for(var s=-1<(t=(t=t.split(r[o]).join("{ftnt-plc}")).replace(r[o].substring(0,r[o].length-1),'<sup id="fnref:'.concat(a,'"><a href="#fn:').concat(a,'" class="footnote-a">').concat(a,"</a></sup>"))).indexOf(n[o])?1:0,l=0;s&&(l++,t=t.replace(r[o].substring(0,r[o].length-1),'<sup id="fnref:'.concat(a,":").concat(l,'"><a href="#fn:').concat(a,":").concat(l,'" class="footnote-a">').concat(a,":").concat(l,"</a></sup>")),s=-1<t.indexOf(n[o])?1:0););var c=(t=t.split("{ftnt-plc}").join(r[o])).indexOf(r[o]),d=t,f=d.substring(c,d.length-1);if(f=f.split("\n")[0],t=t.replace(f,""),-1<f.indexOf(": ")){f=f.split(": ")[1],f+='<a href="#fnref:'.concat(a,'" class="footnote-a">\u21a9</a>');for(var p=l;0!=l;)f+='<a href="#fnref:'.concat(a,":").concat(p-l+1,'" class="footnote-a">\u21a9</a>'),l--;f+="</p></li>",t=t+i+'<li id="fn:'.concat(a,'"><p>')+f,a++}}}1!=a&&(t+="</ol>")}return e=t}(e=function s(e){for(var t=/^[A-Za-z0-9]/g,n=/^:[ ]{1}(.+?)+/g,r=e.split("\n"),a=r,o=r.length-1,i=1;i<o;i++)null!==r[i].match(n)&&(null!==r[i-1].match(t)&&i<o-1&&null!==r[i+1].match(n)?(a[i-1]="<dl><dt>"+r[i-1]+"</dt>",a[i]="<dd>"+r[i].substring(2)+"</dd>"):null!==r[i-1].match(t)&&(i<o-1&&null===r[i+1].match(n)||i==o-1)?(a[i-1]="<dl><dt>"+r[i-1]+"</dt>",a[i]="<dd>"+r[i].substring(2)+"</dd></dl>"):i<o-1&&null!==r[i+1].match(n)?a[i]="<dd>"+r[i].substring(2)+"</dd>":a[i]="<dd>"+r[i].substring(2)+"</dd></dl>");return e=a.join("\n")}(e=function t(e){var r=e.indexOf("```"),a=0;-1<r&&(a=-1<(a=e.substring(r+1).indexOf("```"))?a+3:a);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,function(e,t,n){return r<n&&n<a?"---":"<hr />\n"})}(e=function n(e){return-1<(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.split("</p>").join("</p>\n")).split("</div>").join("\n")).replace(/(<([^>]+)>)/gi,"")).replace(/&gt;/gi,">")).replace(/&lt;/gi,"<")).split("&quot;").join('"')).split("&amp;").join("&")).split("&#39;").join("'")).split("&nbsp;").join(" ")).replace(/\|+\n[^\|]/g,function(e){return e.replace("\n","\n\n")})).indexOf("Powered by Froala Editor")&&(e=e.replace("Powered by Froala Editor","")),e}(e)))),e=r.makeHtml(e),o.$wp.find(l)[0].innerHTML=e}return{_init:function t(){if(function e(){o.events.on("contentChanged",function(){a&&p(o.html.get(!1,!1))},!0),o.events.$on(c(o.o_win),"resize",function(){a&&(l[0].style.width=o.$wp[0].clientWidth-o.$el[0].clientWidth+2+"px")})}(),r=new L.Converter({strikethrough:!0,tables:!0,tablesHeaderId:!0,simpleLineBreaks:!0,ghCodeBlocks:!0,tasklists:!0,customizedHeaderId:!0,requireSpaceBeforeHeadingText:!0,underline:!0}),n=o.$tb.find('.fr-command[data-cmd="markdown"]'),!o.$wp)return!1},refresh:function u(e){var t=a;e.toggleClass("fr-active",t).attr("aria-pressed",t)},toggle:function h(){a?function e(){f=o.html.get(!0,!0),o.opts.pastePlain=!1,o.$el.removeClass("fr-markdown-editor"),o.$wp.append(s[0].firstChild),c(s).remove(),o.$wp.find(i).remove(),o.$wp.find(l).remove(),o.$wp[0].lastChild.after(o.$placeholder[0]),o.$el.removeAttr("style"),o.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(n).removeClass("fr-disabled").attr("aria-disabled",!1),o.html.set(d)}():function t(){var a;d=o.html.get(!0,!0),o.html.set(f),o.opts.pastePlain=!0,o.$el.addClass("fr-markdown-editor"),s=c('<div class="fr-wrapper-markdown" />'),o.$wp.append(s),s[0].appendChild(o.$el[0]),i=c('<div class="gutter-horizontal"><div class="e-resize-handler"><i class="fa fa-circle-thin" aria-hidden="true"></i></div></div>'),s[0].append(i[0]),l=c('<div class="fr-element fr-markdown-view"></div>'),s[0].append(l[0]),s[0].after(o.$placeholder[0]),o.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(n).filter(function(){return"fullscreen"!==c(this).data("cmd")&&"moreMisc"!==c(this).data("cmd")}).addClass("fr-disabled").attr("aria-disabled",!0),c(i).on("mousedown touchstart",function(e){a={e:e,offsetLeft:i[0].offsetLeft,offsetTop:i[0].offsetTop,firstWidth:o.$el[0].offsetWidth,secondWidth:l[0].offsetWidth};var n=function n(e){o.selection.clear();var t={x:e.clientX-a.e.clientX,y:e.clientY-a.e.clientY};t.x=Math.min(Math.max(t.x,-a.firstWidth),a.secondWidth),a.firstWidth+t.x<125||a.secondWidth-t.x<125||(i[0].style.left=a.offsetLeft+t.x+"px",o.$el[0].style.width=a.firstWidth+t.x+"px",l[0].style.width=a.secondWidth-t.x+"px")},r=function r(e){o.selection.clear();var t={x:e.changedTouches[0].clientX-a.e.changedTouches[0].clientX,y:e.changedTouches[0].clientY-a.e.changedTouches[0].clientY};t.x=Math.min(Math.max(t.x,-a.firstWidth),a.secondWidth),a.firstWidth+t.x<100||a.secondWidth-t.x<100||(i[0].style.left=a.offsetLeft+t.x+"px",o.$el[0].style.width=a.firstWidth+t.x+"px",l[0].style.width=a.secondWidth-t.x+"px")},t=function t(){document.onmousemove=document.onmouseup=null,document.ontouchmove=document.ontouchend=null};document.onmousemove=n,document.ontouchmove=r,document.onmouseup=t,document.ontouchend=t}),p(f)}(),a=!a},isEnabled:function e(){return a}}},xt.DefineIcon("markdown",{NAME:"markdown",SVG_KEY:"markdown"}),xt.RegisterCommand("markdown",{title:"Markdown",undo:!1,focus:!1,toggle:!0,forcedRefresh:!0,accessibilityFocus:!0,callback:function(){this.markdown.toggle()},refresh:function(e){this.markdown.refresh(e)},plugin:"markdown"}),xt}); ```
```c++ #include <Processors/QueryPlan/ReadFromStreamLikeEngine.h> #include <Core/Settings.h> #include <Interpreters/InterpreterSelectQuery.h> #include <QueryPipeline/QueryPipelineBuilder.h> namespace DB { namespace ErrorCodes { extern const int QUERY_NOT_ALLOWED; } ReadFromStreamLikeEngine::ReadFromStreamLikeEngine( const Names & column_names_, const StorageSnapshotPtr & storage_snapshot_, std::shared_ptr<const StorageLimitsList> storage_limits_, ContextPtr context_) : ISourceStep{DataStream{.header = storage_snapshot_->getSampleBlockForColumns(column_names_)}} , WithContext{context_} , storage_limits{std::move(storage_limits_)} { } void ReadFromStreamLikeEngine::initializePipeline(QueryPipelineBuilder & pipeline, const BuildQueryPipelineSettings &) { if (!getContext()->getSettingsRef().stream_like_engine_allow_direct_select) throw Exception( ErrorCodes::QUERY_NOT_ALLOWED, "Direct select is not allowed. To enable use setting `stream_like_engine_allow_direct_select`"); auto pipe = makePipe(); /// Add storage limits. for (const auto & processor : pipe.getProcessors()) processor->setStorageLimits(storage_limits); /// Add to processors to get processor info through explain pipeline statement. for (const auto & processor : pipe.getProcessors()) processors.emplace_back(processor); pipeline.init(std::move(pipe)); } } ```
The Donjon de Houdan (Houdan Keep) is a medieval fortified tower in the commune of Houdan in the Yvelines département of France. Architecture Constructed around 1120-1137 by Amaury III of Montfort, the keep or donjon is the only vestige of the medieval castle of Houdan. It is a massive tower isolated from the town in the west, once used as a water tower. The tower is cylindrical, 16 metres in diameter and 25 metres in height. It is flanked by four turrets 4.8 metres in diameter each at cardinal points on the central cylinder. The walls of the tower have an average thickness of three metres. The tower consists of three levels: a ground floor, and two higher floors. The interior floors and roof have disappeared. An access door was located 6 metres above the ground level and once gave access to the mezzanine floor. Another entrance was located in one of the turrets. The donjon is thought to have been one of the earliest experiments in improving flanking fire from the battlements (reduction of "dead ground"), and a transitional form between the rectangular keeps of the 11th to 12th centuries, and widespread adoption of cylindrical keeps in the 13th century. Other contemporary examples can be seen at Étampes and Provins. History 1120–1137: construction of the keep 1880: installation of a 200 kilolitre cistern in the keep, transforming it into a water tower () 1889: classified as an official historical building () 1903: acquisition of the keep by the town of Houdan, courtesy of the last private owner, a Dr. Aulet. 1970: replacement water cistern built nearby 2014: 1.3M Euro restoration program 2016: reopened to the public This tower has never been taken during its history. See also List of castles in France References External links Engraving of the original castle Home-page of the association « le Donjon de Houdan » Donjon of Houdan, Pictures and History Buildings and structures completed in 1137 Towers completed in the 12th century Castles in Île-de-France Yvelines Monuments historiques of Île-de-France Water towers in France
```ruby # frozen_string_literal: true require "spec_helper" describe "editing a proposal" do include_context "with a component" let!(:author) { create(:user, :confirmed, organization: component.organization) } let(:manifest_name) { "proposals" } let!(:scope) { create(:scope, organization:) } let(:participatory_process) { create(:participatory_process, :with_steps, organization:) } let(:proposal) { create(:proposal, component:, users: [author]) } let(:component) do create(:proposal_component, :with_creation_enabled, manifest:, organization:, participatory_space: participatory_process, settings: { edit_time:, proposal_edit_time: "limited" }) end before do freeze_time login_as(author, scope: :user) travel_to(proposal.updated_at + check_time) visit_component click_on(translated(proposal.title)) end context "when the edit time is within the limit" do let!(:edit_time) { [10, "minutes"] } let(:check_time) { 6.minutes } it "shows the edit button" do expect(page).to have_link("Edit") end end context "when the edit time has passed" do let(:edit_time) { [11, "minutes"] } let(:check_time) { 12.minutes } it "does not show the edit button" do expect(page).to have_no_link("Edit") end end context "when the edit time is set to hours" do let(:edit_time) { [1, "hours"] } let(:check_time) { 30.minutes } it "shows the edit button" do expect(page).to have_link("Edit") end context "and the time has passed" do let(:check_time) { 2.hours } it "does not show the edit button" do expect(page).to have_no_link("Edit") end end end context "when the edit time is set to days" do let(:edit_time) { [1, "days"] } let(:check_time) { 12.hours } it "shows the edit button" do expect(page).to have_link("Edit") end context "and the time has passed" do let(:check_time) { 2.days } it "does not show the edit button" do expect(page).to have_no_link("Edit") end end end end ```
Petroleuciscus is a genus of four species of ray-finned fish in the family Cyprinidae. It was usually included in Leuciscus until recently. This genus unites the Ponto-Caspian chubs and daces. Recent research has indicated that Petroleuciscus esfahani is probably a synonym of Alburnus doriae. Species Petroleuciscus borysthenicus (Kessler, 1859) (Dnieper chub) Petroleuciscus esfahani Coad & Bogutskaya, 2010 Petroleuciscus kurui (Bogutskaya, 1995) (Tigris chub) Petroleuciscus smyrnaeus (Boulenger, 1896) References Taxa named by Nina Gidalevna Bogutskaya Taxonomy articles created by Polbot
```toml [package] org = "adv_res" name = "package_c" version = "1.0.0" ```
The Roman Catholic Diocese of Nova Friburgo () is a diocese located in the city of Nova Friburgo in the Ecclesiastical province of Niterói in Brazil. History March 26, 1960: Established as Diocese of Nova Friburgo from the Diocese of Barra do Piraí and Diocese of Petrópolis Leadership Bishops of Nova Friburgo (Latin Church) Clemente Isnard (23 Apr 1960 – 17 Jul 1992) Alano Maria Pena (24 Nov 1993 – 24 Sep 2003), appointed Archbishop of Niterói, Rio de Janeiro Rafael Llano Cifuentes (12 May 2004 – 20 Jan 2010) Edney Gouvea Mattoso (20 Jan 2010 – 22 Jan 2020); formerly an Auxiliary Bishop of the Roman Catholic Archdiocese of Sao Sebastiao do Rio de Janeiro, Brazil Luiz Antônio Lopes Ricci (6 May 2020–present); formerly Auxiliary Bishop of the Archdiocese of Niteroi, Brazil. References GCatholic.org Catholic Hierarchy Diocese website (Portuguese) Roman Catholic dioceses in Brazil Christian organizations established in 1960 Nova Friburgo, Roman Catholic Diocese of Roman Catholic dioceses and prelatures established in the 20th century 1960 establishments in Brazil
Yoma sabina, the Australian lurcher, is a butterfly of the family Nymphalidae. It is found in the northern Australasian realm and in Southeast Asia. The wingspan is around 7 cm. The larvae feed on Dipteracanthus bracteatus and Ruellia species (wild petunias). References External links Australian caterpillars Junoniini Taxa named by Pieter Cramer Butterflies described in 1780
Preetinder Singh Bharara (; born October 13, 1968) is an Indian-born American lawyer and former federal prosecutor who served as the United States Attorney for the Southern District of New York from 2009 to 2017. He is currently a partner at the law firm Wilmer Cutler Pickering Hale and Dorr. He served as an Assistant U.S. Attorney for five years prior to leading the Southern District of New York. According to The New York Times, Bharara was one of the "nation's most aggressive and outspoken prosecutors of public corruption and Wall Street crime" during his tenure as a federal prosecutor. Born in Firozpur, India, his family immigrated to New Jersey in 1970. Bharara graduated from Harvard College in 1990 and attended Columbia Law School before joining Gibson, Dunn & Crutcher as a litigation associate in 1993. Three years later he moved to Shereff, Friedman, Hoffman & Goodman, where he did white-collar legal defense work. Bharara first entered the public sector as chief counsel to Senator Chuck Schumer when Schumer was charged with investigating the 2006 presidential dismissal of U.S. attorneys. He transferred to the U.S. Department of Justice in 2004 as an assistant U.S. Attorney, launching his career as a federal prosecutor. His office heavily prosecuted the Italian mafia, convicting four out of the Five Families of drug trafficking, racketeering, and conspiracy to murder. Bharara similarly headed various counter-terrorism probes and cases, particularly against Al-Qaeda. His office used a variety of unconventional tactics to close cases like wiretapping and asset seizure. He prosecuted nearly 100 Wall Street executives for insider trading and securities fraud using these legal methods. Bharara closed multi-million dollar settlements with the four largest banks in the country, and, most notably, shut down multiple high-profile hedge funds. Known for his technocratic approach to prosecution, he routinely convicted both Democratic and Republican politicians on public corruption violations. Bharara occasionally pursued criminals extraterritorially. Following a 2013 Russian money laundering investigation, Russian officials had him permanently banned from entering Russia. The prosecution of Indian diplomat Devyani Khobragade by his office in 2013 led to a strain in India–United States relations. Upon the election of former U.S. President Donald Trump, Bharara was dismissed after refusing to submit his resignation as part of the 2017 dismissal of U.S. attorneys. After leaving government, he went into academia. He joined the New York University School of Law's criminal justice faculty. He authored his first book, Doing Justice: A Prosecutor's Thoughts on Crime, Punishment, and the Rule of Law, in 2019. He also launched a series of podcasts including Stay Tuned with Preet and Doing Justice. Early life and career Bharara was born in 1968 in Firozpur, Punjab, India, to a Sikh father and Hindu mother. His parents immigrated to the United States in 1970. Bharara became a U.S. citizen at age 12. He grew up in Eatontown in suburban Monmouth County, New Jersey and attended Ranney School in Tinton Falls, New Jersey, where he graduated as valedictorian in 1986. He received a Bachelor of Arts degree magna cum laude from Harvard College in 1990. He then received a Juris Doctor degree from Columbia Law School in 1993, where he was a member of the Columbia Law Review. In 1993, Bharara joined the law firm of Gibson, Dunn & Crutcher as a litigation associate. In 1996, Bharara joined the firm of Shereff, Friedman, Hoffman & Goodman, where he did white-collar defense work. He was an assistant United States Attorney in Manhattan for five years, from 2000 to 2005, bringing criminal cases against the bosses of the Gambino crime family, Colombo crime family and Asian gangs in New York City. Bharara served as the chief counsel to Senator Chuck Schumer and played a leading role in the United States Senate Committee on the Judiciary investigation into the firings of United States attorneys. U.S. Attorney for the Southern District of New York Bharara was nominated to become U.S. Attorney for the Southern District of New York by President Barack Obama on May 15, 2009, and unanimously confirmed by the U.S. Senate. He was sworn into the position on August 13, 2009. In September 2014, when Attorney General Eric Holder announced his intention to step down, Bharara was speculated as being a potential candidate as the next United States Attorney General, although Holder's ultimate named successor was Loretta Lynch. International investigations Bharara's office sent out agents to more than 25 countries to investigate suspects of arms and narcotics trafficking and terrorists, and bring them to Manhattan to face charges. One case involved Viktor Bout. Bout was an arms trafficker, who lived in Moscow and had a deal involving selling arms to Colombian terrorists. Bharara argued that this aggressive approach is necessary in post 9/11 era. Defense lawyers criticized the stings, calling Bharara's office "the Southern District of the World." They also argued that American citizens would not appreciate other countries' treating them in such ways. Countries have not always rushed to cooperate. This is according to a review of secret State Department cables released by WikiLeaks. On April 13, 2013, Bharara was on a list released by the Russian Federation of Americans banned from entering the country over their alleged human rights violations. The list was a direct response to the so-called Magnitsky list revealed by the United States the day before. Actions against financial crime Insider trading In 2012, Bharara was featured on a cover of Time magazine entitled "This Man is Busting Wall Street" for his office's prosecutions of insider trading and other financial fraud on Wall Street. From 2009 to 2012 (and ongoing), Bharara's office oversaw the Galleon Group insider trading investigation against Raj Rajaratnam, Rajat Gupta, Anil Kumar and more than 60 others. Rajaratnam was convicted at trial on 14 counts related to insider trading. Bharara is said to have "reaffirmed his office’s leading role in pursuing corporate crime with this landmark insider trading case, which relied on aggressive prosecutorial methods and unprecedented tactics." In 2011 when hedge fund portfolio manager Chip Skowron pleaded guilty to insider trading, Bharara said: "Chip Skowron is the latest example of a portfolio manager willing to pay for proprietary, non-public information that gave him an illegal trading edge over the average investor. The integrity of our market is damaged by people who engage in insider trading...." Skowron was sent to prison for five years. Bharara has often spoken publicly about his work and written an op-ed about the culture surrounding corporate crime and its effect on market confidence and business risk. After 85 straight convictions for insider-trading cases, he finally lost one on July 17, 2014. This was when a jury acquitted Rajaratnam's younger brother, Rengan, of such charges. On October 22, 2015, Bharara dropped seven insider-trading cases two weeks after the U.S. Supreme Court refused to a review a lower court decision that would make it harder to pursue wrongful-trading cases. The conviction of Michael S. Steinberg was dropped; Steinberg was the highest-ranking officer of SAC Capital Advisors who had previously been convicted of insider trading. In 2013, Bharara announced criminal and civil charges against one of the largest and most successful hedge-fund firms in the United States, SAC Capital Advisors LP, and its founder Steven A. Cohen. At USD$1.8 billion, it was the largest settlement ever for insider trading, and the firm also agreed to close down. Citibank Citibank was charged numerous times by Bharara's office and other federal prosecutors. In 2012, the bank reached a settlement with Bharara's office to pay $158 million for misleading the government into insuring risky loans. Bharara also made a criminal inquiry into Citibank's Mexican banking unit In 2014, Citi settled with federal prosecutors for $7 billion for ignoring warnings on risky loans. JPMorgan Chase Almost as soon as he took office, Bharara began investigating the role of Bernie Madoff's primary banker, JPMorgan Chase. This investigation was in the fraud. Eventually Bharara and JPMorgan reached a deferred prosecution agreement that called for JPMorgan to forfeit $1.7 billion, the largest forfeiture ever demanded from a bank in American history—to settle charges that it and its predecessors violated the Bank Secrecy Act by failing to alert state and federal authorities about Madoff's actions. His office also handled the criminal prosecutions of several employees at Madoff’s firm and their associates. They were convicted by a jury on March 24, 2014. Bank of America In 2012, federal prosecutors under Bharara sued Bank of America for $1 billion, accusing the bank of carrying out a mortgage scheme that defrauded the government during the depths of the financial crisis in 2008. In 2013, the jury found Bank of America liable for selling Fannie Mae and Freddie Mac thousands of defective loans in the first mortgage-fraud case brought by the U.S. government to go to trial. The civil verdict also found the bank’s Countrywide Financial unit and former Countrywide executive Rebecca Mairone liable. However, in 2016 the U.S. Court of Appeals for the Second Circuit ruled that the finding of fact by the jury that low-quality mortgages were supplied by Countrywide to Fannie Mae and Freddie Mac supported only "intentional breach of contract," not fraud. The action, for civil fraud, relied on provisions of the Financial Institutions Reform, Recovery and Enforcement Act. This decision turned on lack of intent to defraud at the time the contract to supply mortgages was made. Russian money laundering fraud In 2013, Bharara began investigating a money laundering fraud scheme in New York City operated by a Russian criminal organization. The alleged fraud links a $230 million Russian tax refund fraud scheme from 2008 to eleven U.S. real estate corporations. The underlying tax refund fraud was first discovered by whistleblower and Russian lawyer. His name was Sergei Magnitsky, who was arrested under tax evasion charges, and within a year he was found dead in his prison cell—a suspicious circumstance. Bharara and his office stated that some of the illicit proceeds were laundered in the U.S. by purchasing luxury Manhattan and Brooklyn real estate, including a 35-story block that has a pool, roof terrace, Turkish bath and indoor golf course. One of the companies named in the complaint, Prevezon, at the time had assets that included four condo units in the Financial District, each valued close to or in excess of $1 million, a $4.4-million condo at 250 East 49th Street in Turtle Bay, and an unknown amount of funds on deposit in eight separate Bank of America accounts in the name of different limited-liability companies registered in New York. In April 2013, Bharara gave the authorization to the FBI for the raid on the businessman, Alimzhan Tokhtakhunov's apartment in Trump Tower. In April 2013, the case was personal for Bharara after Russia included him on the list 18 U.S. individuals banned from entering Russia in retaliation to the Magnitsky act. On September 10, 2013, with help from the Immigration and Customs Enforcement’s Homeland Security Investigations and Cyrus Vance Jr., the District Attorney for New York County, Bharara's office announced that they had filed a civil forfeiture complaint, freezing $24 million in assets. If the court upholds the complaint, the government will seize the assets. Holocaust survivor fund fraud During his first year in office, Bharara charged 17 managers and employees of the Conference on Jewish Material Claims for defrauding Germany $42.5 million by creating thousands of false benefit applications for people who did not suffer in the Holocaust. This fraud had been going on for 16 years, was related to the $400 million that Germany pays out each year to Holocaust survivors. Art fraud During his time in office, Bharara oversaw multiple notable art-fraud cases including the $80-million Knoedler Gallery case, which was the largest art-fraud scheme in American history involving forged masterworks. of artists Mark Rothko, Robert Motherwell and others. Bharara brought charges in the $2.5-million case of John Re, a man from East Hampton, New York, who sold forged artwork by Jackson Pollock and others and was sentenced to five years in federal prison. Also Bharara charged Eric Spoutz, an American art dealer. Spoutz was charged with selling hundreds of fake paintings falsely attributed to American masters. Spoutz was sentenced to 41 months in federal prison and ordered to forfeit the $1.45 million he made from the scheme and to pay $154,100 in restitution. Toyota deferred prosecution In March 2014, the U.S. Attorney's Office charged Toyota by information with one count of wire fraud for lying to consumers about two safety-related issues in the company’s cars, each of which caused unintended acceleration. Under the terms of a deferred prosecution agreement (DPA) that Toyota entered into the same day the information was filed, Toyota agreed to pay a $1.2-billion financial penalty, the largest criminal penalty ever imposed on an auto manufacturer. The company also admitted the truth of a detailed statement of facts accompanying the DPA, and agreed to submit to a three-year monitorship. Public corruption Bharara has said that "there is no prosecutor’s office in the state that takes more seriously the responsibility to root out public corruption in Albany and anywhere else that we might find it, and I think our record speaks for itself." During his tenure, Bharara has charged several current and former officials in public corruption cases, including Senator Vincent Leibell, Senator Hiram Monserrate, NYC Councilman Larry Seabrook, and Yonkers City Councilwoman Sandy Annabi. Bharara’s office uncovered an alleged corruption ring involving New York State Senator Carl Kruger. In April 2012, Kruger was sentenced to seven years in federal prison. In February 2011, Bharara announced the indictment of five consultants working on New York City’s electronic payroll and timekeeping project, CityTime, for misappropriating more than $80 million from the project. The investigation has expanded with five additional defendants being charged, including a consultant who allegedly received more than $5 million in illegal kickbacks on the projects. In early 2013, Bharara oversaw the conviction of New York City Police Department officer Gilberto Valle, who was part of an alleged plot to rape and then cook and eat (cannibalize) women. Bharara and his team argued that Valle had done more than hypothesize, think, or speculate (in online networks where such fantasies are discussed), but had moved on from being a possible danger to others to the criminal planning phase and had even visited the street where one of the women lived, at the behest of another defendant. However, the defense and others who objected to the verdict argued that all he had done was fantasize, not plan, and that such thoughts or online posts, however twisted, were still protected. The defense team (Robert Baum and Julia L. Gatto) may ask the judge to set aside the verdict, or may appeal. If he does keep the felony conviction and is sentenced, Valle would automatically no longer serve in law enforcement. On April 2, 2013, Bharara unsealed federal corruption charges against New York State Senator Malcolm A. Smith, New York City Councilman Dan Halloran, and several other Republican party officials. The federal complaint alleged that Smith attempted to secure a spot on the Republican ballot in the 2013 New York City mayoral election through bribery and fraud. New York Moreland Commission In 2014, Bharara's office began an inquiry into Gov. Andrew Cuomo's decision to end the work of the Moreland Commission, an anticorruption panel. After a New York Times report documenting Cuomo's staff's involvement with the commission and subsequent statements by commissioners defending the Governor, Bharara warned of obstruction of justice and witness tampering. Assembly Speaker Sheldon Silver Bharara made national headlines after investigating 11-term Speaker of the New York State Assembly Sheldon Silver for taking millions of dollars in payoffs, leading to Silver's arrest in January 2015. Silver was subsequently convicted on all counts, triggering his automatic expulsion from the Assembly. Silver was replaced by the first African-American speaker Carl Heastie. During the Silver prosecution, Judge Valerie Caproni criticized Bharara's public statements, writing that "while castigating politicians in Albany for playing fast and loose with the ethical rules that govern their conduct, Bharara strayed so close to the edge of the rules governing his own conduct." Gang crimes and organized crime From 2009 to 2014, the U.S. Attorney's Office for the Southern District of New York has convicted more than 1,000 of approximately 1,300 people charged in 52 large-scale takedowns of street drug and drug trafficking organizations. On lowering violent crime rates, Bharara has said, "You can measure the number of people arrested and the number of shootings, but success is when you lift the sense of intimidation and fear." Bharara also oversaw the largest criminal sweep of gangs in Newburgh, New York, working with the FBI, the Department of Homeland Security's Immigration and Customs Enforcement and local law enforcement agencies to bring charges against members of the Newburgh Bloods and Newburgh Latin Kings gangs, among others. In 2010, Bharara oversaw the prosecution of eight longshoremen on charges of participation in a multimillion-dollar cocaine trafficking enterprise along the Waterfront, operated by a Panamanian drug organization. In January 2011, Bharara's office participated in a multi-state organized crime takedown, charging 26 members of the Gambino crime family with racketeering and murder, as well as narcotics and firearms charges. This action was part of a coordinated effort that also involved arrests in Brooklyn; Newark, New Jersey, and Providence, Rhode Island; according to the FBI, this was the largest single-day operation against the Mafia in U.S. history. In August 2016, Bharara's office charged 46 leaders, members, and associates of La Cosa Nostra—including four out of the Five Families (Gambino, Genovese, Lucchese, and Bonanno)—in an extensive racketeering conspiracy. At a news conference on September 7, 2016 following the arrests of Shimen Liebowitz and Aharon Goldberg, which were two rabbis implicated in the Kiryas Joel murder conspiracy, Bharara called it a "chilling plot," wherein the plotters "met repeatedly to plan the kidnapping and to pay more than $55,000 to an individual they believed would carry it out." The rabbis were convicted and sentenced to prison in 2017.<ref>Eberhart, Christopher J. (December 1, 2017). "Rockland Man Among Three Sentenced for Kidnap and Murder Plot", lohud"</ref> Terrorism prosecutions Under Bharara, the U.S. Attorney's Office for the Southern District of New York "won a string of major terrorism trials." Bharara was an advocate of trying terrorists in civilian federal courts rather than in the military commissions at the Guantanamo Bay detention camp. He contrasted his office's record of successfully convicting terrorists with the lengthy, secretive, and inefficient Guantanamo practice. In a 2014 interview, Bharara said the historical record would show that "greater transparency and openness and legitimacy" leads to "more serious and appropriate punishment." Citing his success in terrorism trials, Bharara stated: "These trials have been difficult, but they have been fair and open and prompt...in an American civilian courtroom, the American people and all the victims of terrorism can be vindicated without sacrificing our principles." Some of the high-profile terrorist figures convicted and sentenced to life imprisonment during Bharara's term include Sulaiman Abu Ghaith, Osama bin Laden's son-in-law.; They also included Khalid al-Fawwaz and Ahmed Khalfan Ghailani, Osama bin Laden aides who plotted the 1998 United States embassy bombings that killed 224 people;Joseph Ax, Saudi man gets life in U.S. prison for ties to Africa embassy bombings, Reuters (May 15, 2015). Mostafa Kamel Mostafa, a cleric who masterminded the 1998 kidnappings of 16 American, British and Australian tourists in Yemen; and Faisal Shahzad, the attempted Times Square bomber. Bharara also won a massive conviction and 25-year sentence for international arms smuggler Viktor Bout. Cybercrime In June 2012, The New York Times published an op-ed written by Bharara about the threat posed to private industry by cybercrime and encouraged corporate leaders to take preventive measures and create contingency plans. Bharara's tenure saw a number of notable prosecutions for computer hacking: Bharara's office worked with Hector Xavier Monsegur ("Sabu"), a computer hacker who later became a federal informant. Because Monsegur's cooperation "helped the authorities infiltrate the shadowy world of computer hacking and disrupt at least 300 cyberattacks on targets that included the United States military," Bharara's office recommended a greatly reduced sentence to the judge, and in 2014 Monsegur was freed with only some of the time served. In May 2014, Bharara's office was part of an international crackdown, led by the FBI and authorities in 19 countries, on the "Blackshades" creepware hacking, in which hackers illicitly access users' systems remotely to steal information. In November 2015, Bharara's office charged three Israeli men in a 23-count indictment that alleged that they ran an extensive computer hacking and fraud scheme that targeted JPMorgan Chase, The Wall Street Journal, and ten other companies. According to prosecutors, the operation generated "hundreds of millions of dollars of illegal profit" and exposed the personal information of more than 100 million people. In May 2016, Bharara's office secured a guilty plea from Alonzo Knowles, a Bahamian man who had hacked into the email accounts of celebrities and athletes in order to steal unreleased movie and television scripts, unreleased music, "nude and intimate images and videos," financial documents, and other personal and sensitive information. Knowles was sentenced to five years in prison. In November 2016, Bharara's office filed charges against a Phoenix, Arizona man, Jonathan Powell, for hacking into thousands of email accounts at Pace University and another university and mining those accounts for users' confidential information. In December 2016, Bharara's office charged three Chinese citizens with hacking into the system of New York law firms advising on mergers and acquisitions, and making more than $4 million by trading on information they gained. Also in December 2016, Bharara's office charged an executive of the Pakistani-based company Axact with conspiracy to commit wire fraud and aggravated identity theft in connection. Prosecutors say that the company carried out a $140 million diploma mill that defrauded thousands of consumers across the world. Bharara moved to shut down several of the world's largest Internet poker companies. He prosecuted several payment processors for Internet poker companies. He effectively secured guilty pleas for money laundering.Payment Processor for Online Poker Companies Pleads Guilty to Laundering Internet Poker Funds (press release), U.S. Attorney's Office for the Southern District of New York (January 12, 2012) In April 2011, Bharara charged 11 founding members of internet gambling companies and their associates involved with pay processing with bank fraud, money laundering and illegal gambling under the Unlawful Internet Gambling Enforcement Act of 2006 (UIGEA). The case is United States v. Scheinberg. Devyani Khobragade incident Bharara and his office came to the limelight again in December 2013 with the arrest of Devyani Khobragade, the Deputy Consul General of India in New York, who was accused by prosecutors of submitting false work visa documents for her housekeeper and paying the housekeeper "far less than the minimum legal wage." The ensuing incident caused protests from the Indian government and a rift in India–United States relations; Indians expressed outrage that Khobragade was strip-searched (a routine practice for all U.S. Marshals Service arrestees) and held in the general inmate population. The Indian government retaliated for what it viewed as the mistreatment of its consular official by revoking the ID cards and other privileges of U.S. consular personnel and their families in India and removing security barriers in front of the U.S. Embassy in New Delhi. Khobragade was subject to prosecution at the time of her arrest because she had only consular immunity (this which gives one immunity from prosecution only for acts committed in connection with official duties) and not the more extensive diplomatic immunity.Tara McKelvey, Who, What, Why: Does Devyani Khobragade have diplomatic immunity?, BBC News (December 19, 2013). After her arrest, the Indian government moved Khobragade to the Indian's mission to the U.N., upgrading her status and conferring diplomatic immunity on her; as a result, the federal indictment against Khobragade was dismissed in March 2014, although the door was left open to refiling of charges. A new indictment was filed against Khobragade, but by that point she had left the country. Speaking at Harvard Law School during its 2014 Class Day ceremony, Bharara said that it was the U.S. Department of State, rather than his office that initiated and investigated proceedings against Khobragade and who asked his office to prosecute. Reason magazine subpoena During Bharara's term, the U.S. Attorney's Office investigated six Internet comments made on the website of Reason magazine in which anonymous readers made comments about U.S. District Judge Katherine B. Forrest of the Southern District of New York like "Its [sic] judges like these that should be taken out back and shot" and "Why waste ammunition? Wood chippers get the message across clearly." (The comments were made under an article in the magazine of Forrest's sentencing of Silk Road owner Ross William Ulbricht to life in prison without parole.) In June 2015, a federal grand jury issued a subpoena to the libertarian magazine, demanding that it provide identifying information for the commenters. Following the issuance of the subpoena, federal prosecutors applied for an order from a U.S. magistrate judge forbidding the magazine from disclosing the existence of the subpoena to the commenters. The subpoena became public after being obtained by Popehat's Ken White. The nondisclosure order caused controversy, with critics saying that it infringed the constitutional right to free speech and questioning whether the comments were actually serious threats or merely hyperbolic "trolling." Federal prosecutors dropped the matter as moot. Reason magazine editors Matt Welch and Nick Gillespie characterized the subpoena and nondisclosure order as "suppressing the speech of journalistic outlets known to be critical of government overreach." Dismissal Following the 2016 election, Bharara met with then-president-elect Donald Trump at Trump Tower in November 2016. Bharara said that Trump asked him to remain as U.S. Attorney, and he agreed to stay on.Matthew Nussbaum, Trump opts to keep Preet Bharara as U.S. attorney for Manhattan, Politico (November 30, 2016). On March 10, 2017, U.S. Attorney General Jeff Sessions ordered all 46 remaining United States Attorneys who were holdovers from the Obama administration, including Bharara, to submit letters of resignation. Bharara declined to resign and was fired the next day from Trump's administration. In a statement, Bharara said that serving as U.S. Attorney was "the greatest honor of my professional life" and that "one hallmark of justice is absolute independence and that was my touchstone every day that I served." He was succeeded by his deputy attorney, Joon Kim, as acting U.S. Attorney for the Southern District of New York. There were expressions of dismay over the firing from Howard Dean, U.S. Senators Chuck Schumer and Elizabeth Warren, and New York State Republican Assemblymen Steve McLaughlin and Brian Kolb, the Assembly Minority Leader. It has been reported that in spring 2017, Trump's personal attorney Marc Kasowitz told associates that he had been personally responsible for getting Bharara fired. It is alleged that Kasowitz had warned Trump, "This guy is going to get you." Bharara said a series of conversational phone calls from Trump made him increasingly uncomfortable about the appearance of potential improper contact between his office and Trump's. He claims he finally refused to take a phone call from Trump, and was dismissed 22 hours later. Later career On April 1, 2017, Bharara joined New York University School of Law as a distinguished scholar in residence. In September 2017 he started a weekly podcast called "Stay Tuned with Preet", which features long-form interviews with prominent guests. In 2018, Bharara started a second podcast with former New Jersey Attorney General and fellow law professor Anne Milgram, "Cafe Insider", which also provides legal commentary on the latest news. After Milgram was nominated by President Joe Biden to serve as Administrator of the Drug Enforcement Administration, she was replaced as co-host with former U.S. Attorney for the Northern District of Alabama Joyce Vance. Portrayal in fiction The Showtime television series Billions gives a fictional portrayal of the U.S. Attorney's Office of the Southern District of New York's prosecution of financial crimes. The series is loosely based on the investigation of hedge fund manager Steven A. Cohen of S.A.C. Capital Advisors by Bharara's office.Joi-Marie McKenzie, 'Billions' creators react to the firing of U.S. Attorney Preet Bharara, ABC News (March 12, 2017). The show's fictional SDNY U.S. Attorney Charles "Chuck" Rhoades Jr., played by Paul Giamatti, was partly inspired by Bharara.Cynthia Littleton, Trump's Firing of New York U.S. Attorney Preet Bharara Evokes 'Billions', Variety (March 11, 2017). Personal life Bharara is married to Dalya Bharara, a non-practicing lawyer. They live in Scarsdale, New York, with their three children. In interviews, Bharara "has reflected on his family's diverse religious heritage: Sikh (his father), Hindu (his mother), Muslim (his wife's father) and Jewish (his wife's grandmother)." Bharara became a naturalized United States citizen in 1980. Bharara is a registered Democrat but "not considered a strong partisan." His nomination to the U.S. Attorney's post in 2009 was welcomed across the political spectrum as Bharara was regarded as an "apolitical and fair-minded" figure. Bharara's younger brother Vinit "Vinnie" Bharara, also a graduate of Columbia Law School, is an entrepreneur. Vinnie Bharara and Marc Lore co-founded Quidsi, the parent company of Diapers.com and Soap.com, which they sold in 2010 to Amazon.com for $540 million.Peter Lattiman, The Fabulous Bharara Boys, New York Times (June 9, 2011). Bharara traces his desire to become a lawyer back to the seventh grade, which was when he read the play Inherit the Wind. In 2012, Bharara was named by Time magazine as one of "The 100 Most Influential People in the World," and by India Abroad as its 2011 Person of the Year. Bharara is a lifelong Bruce Springsteen fan. Springsteen shouted, "This is for Preet Bharara!" before launching into his song "Death to My Hometown" at an October 2012 concert in Hartford, Connecticut. In 2013, Bharara delivered the commencement address at Fordham Law School in New York and received an honorary Doctor of Laws. Later that week, Bharara delivered the commencement address at his alma mater, Columbia Law School, during his 20th reunion year. In 2014, Bharara delivered the commencement address at Benjamin N. Cardozo School of Law also in New York and spoke at Harvard Law School's Class Day Ceremony. In 2016, Bharara delivered the commencement address at Seton Hall University School of Law in Newark, New Jersey. In 2018, Bharara delivered the commencement address at St. John's University School of Law in New York. In 2022, Bharara delivered the commencement address at his alma mater, Columbia Law School. Bharara was included in Bloomberg Markets Magazines 2012 "50 Most Influential" list as well as Vanity Fair''s 2012 and 2013 annual "New Establishment" lists. Works See also Indians in the New York City metropolitan region Legal affairs of Donald Trump References External links U.S. Attorney for the Southern District of New York Official Website NY Attorney Data DealBook Stay Tuned with Preet from WNYC 1968 births Living people 20th-century American lawyers 21st-century American lawyers American people of Punjabi descent American podcasters American Sikhs Columbia Law School alumni Harvard College alumni Indian emigrants to the United States Insider trading New York (state) Democrats People associated with Gibson Dunn People from Eatontown, New Jersey People from Firozpur Lawyers from Scarsdale, New York Writers from Scarsdale, New York Ranney School alumni United States Attorneys for the Southern District of New York
```smalltalk using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTrademark("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("e9557798-3499-4726-bcb7-5eb7cb4b33e7")] ```
The Men's CIMB Kuala Lumpur Open Squash Championships 2013 is the men's edition of the 2013 Kuala Lumpur Open Squash Championships, which is a tournament of the PSA World Tour event International (Prize money : 50 000 $). The event took place in Kuala Lumpur in Malaysia from 28 March to 31 March. Karim Darwish won his second CIMB Kuala Lumpur Open trophy, beating Mohamed El Shorbagy in the final. Prize money and ranking points For 2013, the prize purse was $50,000. The prize money and points breakdown is as follows: Seeds Draw and results See also Women's Kuala Lumpur Open Squash Championships 2013 PSA World Tour 2013 Kuala Lumpur Open Squash Championships References External links PSA CIMB Kuala Lumpur Open 2013 website Kuala Lumpur Open 2013 official website CIMB Kuala Lumpur Open 2013 Squashsite website Squash tournaments in Malaysia Kuala Lumpur Open Squash Championships 2013 in Malaysian sport
```javascript /* your_sha256_hash-------------- * * # Detailed task view * * Specific JS code additions for task_manager_detailed.html page * * Version: 1.0 * Latest update: Aug 1, 2015 * * your_sha256_hash------------ */ $(function() { // Datepicker $(".datepicker").datepicker({ showOtherMonths: true, dateFormat: "d MM, y" }); // Inline datepicker $(".datepicker-inline").datepicker({ showOtherMonths: true, defaultDate: '07/26/2015' }); // Switchery toggle var elems = Array.prototype.slice.call(document.querySelectorAll('.switchery')); elems.forEach(function(html) { var switchery = new Switchery(html); }); // CKEditor CKEDITOR.replace( 'add-comment', { height: '200px', removeButtons: 'Subscript,Superscript', toolbarGroups: [ { name: 'styles' }, { name: 'editing', groups: [ 'find', 'selection' ] }, { name: 'forms' }, { name: 'basicstyles', groups: [ 'basicstyles' ] }, { name: 'paragraph', groups: [ 'list', 'blocks', 'align' ] }, { name: 'links' }, { name: 'insert' }, { name: 'colors' }, { name: 'tools' }, { name: 'others' }, { name: 'document', groups: [ 'mode', 'document', 'doctools' ] } ] }); }); ```
```c++ /*! @file Defines `boost::hana::suffix`. @copyright Louis Dionne 2013-2017 (See accompanying file LICENSE.md or copy at path_to_url */ #ifndef BOOST_HANA_SUFFIX_HPP #define BOOST_HANA_SUFFIX_HPP #include <boost/hana/fwd/suffix.hpp> #include <boost/hana/chain.hpp> #include <boost/hana/concept/monad_plus.hpp> #include <boost/hana/config.hpp> #include <boost/hana/core/dispatch.hpp> #include <boost/hana/functional/partial.hpp> #include <boost/hana/lift.hpp> #include <boost/hana/prepend.hpp> BOOST_HANA_NAMESPACE_BEGIN //! @cond template <typename Xs, typename Sfx> constexpr auto suffix_t::operator()(Xs&& xs, Sfx&& sfx) const { using M = typename hana::tag_of<Xs>::type; using Suffix = BOOST_HANA_DISPATCH_IF(suffix_impl<M>, hana::MonadPlus<M>::value ); #ifndef BOOST_HANA_CONFIG_DISABLE_CONCEPT_CHECKS static_assert(hana::MonadPlus<M>::value, "hana::suffix(xs, sfx) requires 'xs' to be a MonadPlus"); #endif return Suffix::apply(static_cast<Xs&&>(xs), static_cast<Sfx&&>(sfx)); } //! @endcond template <typename M, bool condition> struct suffix_impl<M, when<condition>> : default_ { template <typename Xs, typename Z> static constexpr auto apply(Xs&& xs, Z&& z) { return hana::chain(static_cast<Xs&&>(xs), hana::partial(hana::prepend, hana::lift<M>(static_cast<Z&&>(z)))); } }; BOOST_HANA_NAMESPACE_END #endif // !BOOST_HANA_SUFFIX_HPP ```
```c /** * @file * \brief Find approximate solution for \f$f(x) = 0\f$ using * Newton-Raphson interpolation algorithm. * * \author [Krishna Vedala](path_to_url */ #include <complex.h> /* requires minimum of C99 */ #include <limits.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #define ACCURACY 1e-10 /**< solution accuracy */ /** * Return value of the function to find the root for. * \f$f(x)\f$ */ double complex func(double complex x) { return x * x - 3.; /* x^2 = 3 - solution is sqrt(3) */ // return x * x - 2.; /* x^2 = 2 - solution is sqrt(2) */ } /** * Return first order derivative of the function. * \f$f'(x)\f$ */ double complex d_func(double complex x) { return 2. * x; } /** * main function */ int main(int argc, char **argv) { double delta = 1; double complex cdelta = 1; /* initialize random seed: */ srand(time(NULL)); /* random initial approximation */ double complex root = (rand() % 100 - 50) + (rand() % 100 - 50) * I; unsigned long counter = 0; /* iterate till a convergence is reached */ while (delta > ACCURACY && counter < ULONG_MAX) { cdelta = func(root) / d_func(root); root += -cdelta; counter++; delta = fabs(cabs(cdelta)); #if defined(DEBUG) || !defined(NDEBUG) if (counter % 50 == 0) { double r = creal(root); double c = cimag(root); printf("Iter %5lu: Root: %4.4g%c%4.4gi\t\tdelta: %.4g\n", counter, r, c >= 0 ? '+' : '-', c >= 0 ? c : -c, delta); } #endif } double r = creal(root); double c = fabs(cimag(root)) < ACCURACY ? 0 : cimag(root); printf("Iter %5lu: Root: %4.4g%c%4.4gi\t\tdelta: %.4g\n", counter, r, c >= 0 ? '+' : '-', c >= 0 ? c : -c, delta); return 0; } ```
```javascript var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // <stdin> var stdin_exports = {}; __export(stdin_exports, { camelCase: () => camelCase_default, defaultsDeep: () => defaultsDeep_default, kebabCase: () => kebabCase_default, lowerFirst: () => lowerFirst_default, snakeCase: () => snakeCase_default, upperFirst: () => upperFirst_default }); module.exports = __toCommonJS(stdin_exports); // node_modules/lodash-es/_freeGlobal.js var freeGlobal = typeof global == "object" && global && global.Object === Object && global; var freeGlobal_default = freeGlobal; // node_modules/lodash-es/_root.js var freeSelf = typeof self == "object" && self && self.Object === Object && self; var root = freeGlobal_default || freeSelf || Function("return this")(); var root_default = root; // node_modules/lodash-es/_Symbol.js var Symbol2 = root_default.Symbol; var Symbol_default = Symbol2; // node_modules/lodash-es/_getRawTag.js var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; var nativeObjectToString = objectProto.toString; var symToStringTag = Symbol_default ? Symbol_default.toStringTag : void 0; function getRawTag(value) { var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag]; try { value[symToStringTag] = void 0; var unmasked = true; } catch (e) { } var result = nativeObjectToString.call(value); if (unmasked) { if (isOwn) { value[symToStringTag] = tag; } else { delete value[symToStringTag]; } } return result; } var getRawTag_default = getRawTag; // node_modules/lodash-es/_objectToString.js var objectProto2 = Object.prototype; var nativeObjectToString2 = objectProto2.toString; function objectToString(value) { return nativeObjectToString2.call(value); } var objectToString_default = objectToString; // node_modules/lodash-es/_baseGetTag.js var nullTag = "[object Null]"; var undefinedTag = "[object Undefined]"; var symToStringTag2 = Symbol_default ? Symbol_default.toStringTag : void 0; function baseGetTag(value) { if (value == null) { return value === void 0 ? undefinedTag : nullTag; } return symToStringTag2 && symToStringTag2 in Object(value) ? getRawTag_default(value) : objectToString_default(value); } var baseGetTag_default = baseGetTag; // node_modules/lodash-es/isObjectLike.js function isObjectLike(value) { return value != null && typeof value == "object"; } var isObjectLike_default = isObjectLike; // node_modules/lodash-es/isSymbol.js var symbolTag = "[object Symbol]"; function isSymbol(value) { return typeof value == "symbol" || isObjectLike_default(value) && baseGetTag_default(value) == symbolTag; } var isSymbol_default = isSymbol; // node_modules/lodash-es/_arrayMap.js function arrayMap(array, iteratee) { var index = -1, length = array == null ? 0 : array.length, result = Array(length); while (++index < length) { result[index] = iteratee(array[index], index, array); } return result; } var arrayMap_default = arrayMap; // node_modules/lodash-es/isArray.js var isArray = Array.isArray; var isArray_default = isArray; // node_modules/lodash-es/_baseToString.js var INFINITY = 1 / 0; var symbolProto = Symbol_default ? Symbol_default.prototype : void 0; var symbolToString = symbolProto ? symbolProto.toString : void 0; function baseToString(value) { if (typeof value == "string") { return value; } if (isArray_default(value)) { return arrayMap_default(value, baseToString) + ""; } if (isSymbol_default(value)) { return symbolToString ? symbolToString.call(value) : ""; } var result = value + ""; return result == "0" && 1 / value == -INFINITY ? "-0" : result; } var baseToString_default = baseToString; // node_modules/lodash-es/isObject.js function isObject(value) { var type = typeof value; return value != null && (type == "object" || type == "function"); } var isObject_default = isObject; // node_modules/lodash-es/identity.js function identity(value) { return value; } var identity_default = identity; // node_modules/lodash-es/isFunction.js var asyncTag = "[object AsyncFunction]"; var funcTag = "[object Function]"; var genTag = "[object GeneratorFunction]"; var proxyTag = "[object Proxy]"; function isFunction(value) { if (!isObject_default(value)) { return false; } var tag = baseGetTag_default(value); return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; } var isFunction_default = isFunction; // node_modules/lodash-es/_coreJsData.js var coreJsData = root_default["__core-js_shared__"]; var coreJsData_default = coreJsData; // node_modules/lodash-es/_isMasked.js var maskSrcKey = function() { var uid = /[^.]+$/.exec(coreJsData_default && coreJsData_default.keys && coreJsData_default.keys.IE_PROTO || ""); return uid ? "Symbol(src)_1." + uid : ""; }(); function isMasked(func) { return !!maskSrcKey && maskSrcKey in func; } var isMasked_default = isMasked; // node_modules/lodash-es/_toSource.js var funcProto = Function.prototype; var funcToString = funcProto.toString; function toSource(func) { if (func != null) { try { return funcToString.call(func); } catch (e) { } try { return func + ""; } catch (e) { } } return ""; } var toSource_default = toSource; // node_modules/lodash-es/_baseIsNative.js var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; var reIsHostCtor = /^\[object .+?Constructor\]$/; var funcProto2 = Function.prototype; var objectProto3 = Object.prototype; var funcToString2 = funcProto2.toString; var hasOwnProperty2 = objectProto3.hasOwnProperty; var reIsNative = RegExp( "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); function baseIsNative(value) { if (!isObject_default(value) || isMasked_default(value)) { return false; } var pattern = isFunction_default(value) ? reIsNative : reIsHostCtor; return pattern.test(toSource_default(value)); } var baseIsNative_default = baseIsNative; // node_modules/lodash-es/_getValue.js function getValue(object, key) { return object == null ? void 0 : object[key]; } var getValue_default = getValue; // node_modules/lodash-es/_getNative.js function getNative(object, key) { var value = getValue_default(object, key); return baseIsNative_default(value) ? value : void 0; } var getNative_default = getNative; // node_modules/lodash-es/_baseCreate.js var objectCreate = Object.create; var baseCreate = function() { function object() { } return function(proto) { if (!isObject_default(proto)) { return {}; } if (objectCreate) { return objectCreate(proto); } object.prototype = proto; var result = new object(); object.prototype = void 0; return result; }; }(); var baseCreate_default = baseCreate; // node_modules/lodash-es/_apply.js function apply(func, thisArg, args) { switch (args.length) { case 0: return func.call(thisArg); case 1: return func.call(thisArg, args[0]); case 2: return func.call(thisArg, args[0], args[1]); case 3: return func.call(thisArg, args[0], args[1], args[2]); } return func.apply(thisArg, args); } var apply_default = apply; // node_modules/lodash-es/_copyArray.js function copyArray(source, array) { var index = -1, length = source.length; array || (array = Array(length)); while (++index < length) { array[index] = source[index]; } return array; } var copyArray_default = copyArray; // node_modules/lodash-es/_shortOut.js var HOT_COUNT = 800; var HOT_SPAN = 16; var nativeNow = Date.now; function shortOut(func) { var count = 0, lastCalled = 0; return function() { var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled); lastCalled = stamp; if (remaining > 0) { if (++count >= HOT_COUNT) { return arguments[0]; } } else { count = 0; } return func.apply(void 0, arguments); }; } var shortOut_default = shortOut; // node_modules/lodash-es/constant.js function constant(value) { return function() { return value; }; } var constant_default = constant; // node_modules/lodash-es/_defineProperty.js var defineProperty = function() { try { var func = getNative_default(Object, "defineProperty"); func({}, "", {}); return func; } catch (e) { } }(); var defineProperty_default = defineProperty; // node_modules/lodash-es/_baseSetToString.js var baseSetToString = !defineProperty_default ? identity_default : function(func, string) { return defineProperty_default(func, "toString", { "configurable": true, "enumerable": false, "value": constant_default(string), "writable": true }); }; var baseSetToString_default = baseSetToString; // node_modules/lodash-es/_setToString.js var setToString = shortOut_default(baseSetToString_default); var setToString_default = setToString; // node_modules/lodash-es/_isIndex.js var MAX_SAFE_INTEGER = 9007199254740991; var reIsUint = /^(?:0|[1-9]\d*)$/; function isIndex(value, length) { var type = typeof value; length = length == null ? MAX_SAFE_INTEGER : length; return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length); } var isIndex_default = isIndex; // node_modules/lodash-es/_baseAssignValue.js function baseAssignValue(object, key, value) { if (key == "__proto__" && defineProperty_default) { defineProperty_default(object, key, { "configurable": true, "enumerable": true, "value": value, "writable": true }); } else { object[key] = value; } } var baseAssignValue_default = baseAssignValue; // node_modules/lodash-es/eq.js function eq(value, other) { return value === other || value !== value && other !== other; } var eq_default = eq; // node_modules/lodash-es/_assignValue.js var objectProto4 = Object.prototype; var hasOwnProperty3 = objectProto4.hasOwnProperty; function assignValue(object, key, value) { var objValue = object[key]; if (!(hasOwnProperty3.call(object, key) && eq_default(objValue, value)) || value === void 0 && !(key in object)) { baseAssignValue_default(object, key, value); } } var assignValue_default = assignValue; // node_modules/lodash-es/_copyObject.js function copyObject(source, props, object, customizer) { var isNew = !object; object || (object = {}); var index = -1, length = props.length; while (++index < length) { var key = props[index]; var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0; if (newValue === void 0) { newValue = source[key]; } if (isNew) { baseAssignValue_default(object, key, newValue); } else { assignValue_default(object, key, newValue); } } return object; } var copyObject_default = copyObject; // node_modules/lodash-es/_overRest.js var nativeMax = Math.max; function overRest(func, start, transform) { start = nativeMax(start === void 0 ? func.length - 1 : start, 0); return function() { var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length); while (++index < length) { array[index] = args[start + index]; } index = -1; var otherArgs = Array(start + 1); while (++index < start) { otherArgs[index] = args[index]; } otherArgs[start] = transform(array); return apply_default(func, this, otherArgs); }; } var overRest_default = overRest; // node_modules/lodash-es/_baseRest.js function baseRest(func, start) { return setToString_default(overRest_default(func, start, identity_default), func + ""); } var baseRest_default = baseRest; // node_modules/lodash-es/isLength.js var MAX_SAFE_INTEGER2 = 9007199254740991; function isLength(value) { return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER2; } var isLength_default = isLength; // node_modules/lodash-es/isArrayLike.js function isArrayLike(value) { return value != null && isLength_default(value.length) && !isFunction_default(value); } var isArrayLike_default = isArrayLike; // node_modules/lodash-es/_isIterateeCall.js function isIterateeCall(value, index, object) { if (!isObject_default(object)) { return false; } var type = typeof index; if (type == "number" ? isArrayLike_default(object) && isIndex_default(index, object.length) : type == "string" && index in object) { return eq_default(object[index], value); } return false; } var isIterateeCall_default = isIterateeCall; // node_modules/lodash-es/_createAssigner.js function createAssigner(assigner) { return baseRest_default(function(object, sources) { var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0; customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0; if (guard && isIterateeCall_default(sources[0], sources[1], guard)) { customizer = length < 3 ? void 0 : customizer; length = 1; } object = Object(object); while (++index < length) { var source = sources[index]; if (source) { assigner(object, source, index, customizer); } } return object; }); } var createAssigner_default = createAssigner; // node_modules/lodash-es/_isPrototype.js var objectProto5 = Object.prototype; function isPrototype(value) { var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto5; return value === proto; } var isPrototype_default = isPrototype; // node_modules/lodash-es/_baseTimes.js function baseTimes(n, iteratee) { var index = -1, result = Array(n); while (++index < n) { result[index] = iteratee(index); } return result; } var baseTimes_default = baseTimes; // node_modules/lodash-es/_baseIsArguments.js var argsTag = "[object Arguments]"; function baseIsArguments(value) { return isObjectLike_default(value) && baseGetTag_default(value) == argsTag; } var baseIsArguments_default = baseIsArguments; // node_modules/lodash-es/isArguments.js var objectProto6 = Object.prototype; var hasOwnProperty4 = objectProto6.hasOwnProperty; var propertyIsEnumerable = objectProto6.propertyIsEnumerable; var isArguments = baseIsArguments_default(function() { return arguments; }()) ? baseIsArguments_default : function(value) { return isObjectLike_default(value) && hasOwnProperty4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee"); }; var isArguments_default = isArguments; // node_modules/lodash-es/stubFalse.js function stubFalse() { return false; } var stubFalse_default = stubFalse; // node_modules/lodash-es/isBuffer.js var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports; var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module; var moduleExports = freeModule && freeModule.exports === freeExports; var Buffer2 = moduleExports ? root_default.Buffer : void 0; var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0; var isBuffer = nativeIsBuffer || stubFalse_default; var isBuffer_default = isBuffer; // node_modules/lodash-es/_baseIsTypedArray.js var argsTag2 = "[object Arguments]"; var arrayTag = "[object Array]"; var boolTag = "[object Boolean]"; var dateTag = "[object Date]"; var errorTag = "[object Error]"; var funcTag2 = "[object Function]"; var mapTag = "[object Map]"; var numberTag = "[object Number]"; var objectTag = "[object Object]"; var regexpTag = "[object RegExp]"; var setTag = "[object Set]"; var stringTag = "[object String]"; var weakMapTag = "[object WeakMap]"; var arrayBufferTag = "[object ArrayBuffer]"; var dataViewTag = "[object DataView]"; var float32Tag = "[object Float32Array]"; var float64Tag = "[object Float64Array]"; var int8Tag = "[object Int8Array]"; var int16Tag = "[object Int16Array]"; var int32Tag = "[object Int32Array]"; var uint8Tag = "[object Uint8Array]"; var uint8ClampedTag = "[object Uint8ClampedArray]"; var uint16Tag = "[object Uint16Array]"; var uint32Tag = "[object Uint32Array]"; var typedArrayTags = {}; typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true; typedArrayTags[argsTag2] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag2] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false; function baseIsTypedArray(value) { return isObjectLike_default(value) && isLength_default(value.length) && !!typedArrayTags[baseGetTag_default(value)]; } var baseIsTypedArray_default = baseIsTypedArray; // node_modules/lodash-es/_baseUnary.js function baseUnary(func) { return function(value) { return func(value); }; } var baseUnary_default = baseUnary; // node_modules/lodash-es/_nodeUtil.js var freeExports2 = typeof exports == "object" && exports && !exports.nodeType && exports; var freeModule2 = freeExports2 && typeof module == "object" && module && !module.nodeType && module; var moduleExports2 = freeModule2 && freeModule2.exports === freeExports2; var freeProcess = moduleExports2 && freeGlobal_default.process; var nodeUtil = function() { try { var types = freeModule2 && freeModule2.require && freeModule2.require("util").types; if (types) { return types; } return freeProcess && freeProcess.binding && freeProcess.binding("util"); } catch (e) { } }(); var nodeUtil_default = nodeUtil; // node_modules/lodash-es/isTypedArray.js var nodeIsTypedArray = nodeUtil_default && nodeUtil_default.isTypedArray; var isTypedArray = nodeIsTypedArray ? baseUnary_default(nodeIsTypedArray) : baseIsTypedArray_default; var isTypedArray_default = isTypedArray; // node_modules/lodash-es/_arrayLikeKeys.js var objectProto7 = Object.prototype; var hasOwnProperty5 = objectProto7.hasOwnProperty; function arrayLikeKeys(value, inherited) { var isArr = isArray_default(value), isArg = !isArr && isArguments_default(value), isBuff = !isArr && !isArg && isBuffer_default(value), isType = !isArr && !isArg && !isBuff && isTypedArray_default(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes_default(value.length, String) : [], length = result.length; for (var key in value) { if ((inherited || hasOwnProperty5.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode. (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers. isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays. isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties. isIndex_default(key, length)))) { result.push(key); } } return result; } var arrayLikeKeys_default = arrayLikeKeys; // node_modules/lodash-es/_overArg.js function overArg(func, transform) { return function(arg) { return func(transform(arg)); }; } var overArg_default = overArg; // node_modules/lodash-es/_nativeKeysIn.js function nativeKeysIn(object) { var result = []; if (object != null) { for (var key in Object(object)) { result.push(key); } } return result; } var nativeKeysIn_default = nativeKeysIn; // node_modules/lodash-es/_baseKeysIn.js var objectProto8 = Object.prototype; var hasOwnProperty6 = objectProto8.hasOwnProperty; function baseKeysIn(object) { if (!isObject_default(object)) { return nativeKeysIn_default(object); } var isProto = isPrototype_default(object), result = []; for (var key in object) { if (!(key == "constructor" && (isProto || !hasOwnProperty6.call(object, key)))) { result.push(key); } } return result; } var baseKeysIn_default = baseKeysIn; // node_modules/lodash-es/keysIn.js function keysIn(object) { return isArrayLike_default(object) ? arrayLikeKeys_default(object, true) : baseKeysIn_default(object); } var keysIn_default = keysIn; // node_modules/lodash-es/_nativeCreate.js var nativeCreate = getNative_default(Object, "create"); var nativeCreate_default = nativeCreate; // node_modules/lodash-es/_hashClear.js function hashClear() { this.__data__ = nativeCreate_default ? nativeCreate_default(null) : {}; this.size = 0; } var hashClear_default = hashClear; // node_modules/lodash-es/_hashDelete.js function hashDelete(key) { var result = this.has(key) && delete this.__data__[key]; this.size -= result ? 1 : 0; return result; } var hashDelete_default = hashDelete; // node_modules/lodash-es/_hashGet.js var HASH_UNDEFINED = "__lodash_hash_undefined__"; var objectProto9 = Object.prototype; var hasOwnProperty7 = objectProto9.hasOwnProperty; function hashGet(key) { var data = this.__data__; if (nativeCreate_default) { var result = data[key]; return result === HASH_UNDEFINED ? void 0 : result; } return hasOwnProperty7.call(data, key) ? data[key] : void 0; } var hashGet_default = hashGet; // node_modules/lodash-es/_hashHas.js var objectProto10 = Object.prototype; var hasOwnProperty8 = objectProto10.hasOwnProperty; function hashHas(key) { var data = this.__data__; return nativeCreate_default ? data[key] !== void 0 : hasOwnProperty8.call(data, key); } var hashHas_default = hashHas; // node_modules/lodash-es/_hashSet.js var HASH_UNDEFINED2 = "__lodash_hash_undefined__"; function hashSet(key, value) { var data = this.__data__; this.size += this.has(key) ? 0 : 1; data[key] = nativeCreate_default && value === void 0 ? HASH_UNDEFINED2 : value; return this; } var hashSet_default = hashSet; // node_modules/lodash-es/_Hash.js function Hash(entries) { var index = -1, length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; this.set(entry[0], entry[1]); } } Hash.prototype.clear = hashClear_default; Hash.prototype["delete"] = hashDelete_default; Hash.prototype.get = hashGet_default; Hash.prototype.has = hashHas_default; Hash.prototype.set = hashSet_default; var Hash_default = Hash; // node_modules/lodash-es/_listCacheClear.js function listCacheClear() { this.__data__ = []; this.size = 0; } var listCacheClear_default = listCacheClear; // node_modules/lodash-es/_assocIndexOf.js function assocIndexOf(array, key) { var length = array.length; while (length--) { if (eq_default(array[length][0], key)) { return length; } } return -1; } var assocIndexOf_default = assocIndexOf; // node_modules/lodash-es/_listCacheDelete.js var arrayProto = Array.prototype; var splice = arrayProto.splice; function listCacheDelete(key) { var data = this.__data__, index = assocIndexOf_default(data, key); if (index < 0) { return false; } var lastIndex = data.length - 1; if (index == lastIndex) { data.pop(); } else { splice.call(data, index, 1); } --this.size; return true; } var listCacheDelete_default = listCacheDelete; // node_modules/lodash-es/_listCacheGet.js function listCacheGet(key) { var data = this.__data__, index = assocIndexOf_default(data, key); return index < 0 ? void 0 : data[index][1]; } var listCacheGet_default = listCacheGet; // node_modules/lodash-es/_listCacheHas.js function listCacheHas(key) { return assocIndexOf_default(this.__data__, key) > -1; } var listCacheHas_default = listCacheHas; // node_modules/lodash-es/_listCacheSet.js function listCacheSet(key, value) { var data = this.__data__, index = assocIndexOf_default(data, key); if (index < 0) { ++this.size; data.push([key, value]); } else { data[index][1] = value; } return this; } var listCacheSet_default = listCacheSet; // node_modules/lodash-es/_ListCache.js function ListCache(entries) { var index = -1, length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; this.set(entry[0], entry[1]); } } ListCache.prototype.clear = listCacheClear_default; ListCache.prototype["delete"] = listCacheDelete_default; ListCache.prototype.get = listCacheGet_default; ListCache.prototype.has = listCacheHas_default; ListCache.prototype.set = listCacheSet_default; var ListCache_default = ListCache; // node_modules/lodash-es/_Map.js var Map = getNative_default(root_default, "Map"); var Map_default = Map; // node_modules/lodash-es/_mapCacheClear.js function mapCacheClear() { this.size = 0; this.__data__ = { "hash": new Hash_default(), "map": new (Map_default || ListCache_default)(), "string": new Hash_default() }; } var mapCacheClear_default = mapCacheClear; // node_modules/lodash-es/_isKeyable.js function isKeyable(value) { var type = typeof value; return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null; } var isKeyable_default = isKeyable; // node_modules/lodash-es/_getMapData.js function getMapData(map, key) { var data = map.__data__; return isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map; } var getMapData_default = getMapData; // node_modules/lodash-es/_mapCacheDelete.js function mapCacheDelete(key) { var result = getMapData_default(this, key)["delete"](key); this.size -= result ? 1 : 0; return result; } var mapCacheDelete_default = mapCacheDelete; // node_modules/lodash-es/_mapCacheGet.js function mapCacheGet(key) { return getMapData_default(this, key).get(key); } var mapCacheGet_default = mapCacheGet; // node_modules/lodash-es/_mapCacheHas.js function mapCacheHas(key) { return getMapData_default(this, key).has(key); } var mapCacheHas_default = mapCacheHas; // node_modules/lodash-es/_mapCacheSet.js function mapCacheSet(key, value) { var data = getMapData_default(this, key), size = data.size; data.set(key, value); this.size += data.size == size ? 0 : 1; return this; } var mapCacheSet_default = mapCacheSet; // node_modules/lodash-es/_MapCache.js function MapCache(entries) { var index = -1, length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; this.set(entry[0], entry[1]); } } MapCache.prototype.clear = mapCacheClear_default; MapCache.prototype["delete"] = mapCacheDelete_default; MapCache.prototype.get = mapCacheGet_default; MapCache.prototype.has = mapCacheHas_default; MapCache.prototype.set = mapCacheSet_default; var MapCache_default = MapCache; // node_modules/lodash-es/toString.js function toString(value) { return value == null ? "" : baseToString_default(value); } var toString_default = toString; // node_modules/lodash-es/_getPrototype.js var getPrototype = overArg_default(Object.getPrototypeOf, Object); var getPrototype_default = getPrototype; // node_modules/lodash-es/isPlainObject.js var objectTag2 = "[object Object]"; var funcProto3 = Function.prototype; var objectProto11 = Object.prototype; var funcToString3 = funcProto3.toString; var hasOwnProperty9 = objectProto11.hasOwnProperty; var objectCtorString = funcToString3.call(Object); function isPlainObject(value) { if (!isObjectLike_default(value) || baseGetTag_default(value) != objectTag2) { return false; } var proto = getPrototype_default(value); if (proto === null) { return true; } var Ctor = hasOwnProperty9.call(proto, "constructor") && proto.constructor; return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString3.call(Ctor) == objectCtorString; } var isPlainObject_default = isPlainObject; // node_modules/lodash-es/_baseSlice.js function baseSlice(array, start, end) { var index = -1, length = array.length; if (start < 0) { start = -start > length ? 0 : length + start; } end = end > length ? length : end; if (end < 0) { end += length; } length = start > end ? 0 : end - start >>> 0; start >>>= 0; var result = Array(length); while (++index < length) { result[index] = array[index + start]; } return result; } var baseSlice_default = baseSlice; // node_modules/lodash-es/_castSlice.js function castSlice(array, start, end) { var length = array.length; end = end === void 0 ? length : end; return !start && end >= length ? array : baseSlice_default(array, start, end); } var castSlice_default = castSlice; // node_modules/lodash-es/_hasUnicode.js var rsAstralRange = "\\ud800-\\udfff"; var rsComboMarksRange = "\\u0300-\\u036f"; var reComboHalfMarksRange = "\\ufe20-\\ufe2f"; var rsComboSymbolsRange = "\\u20d0-\\u20ff"; var rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange; var rsVarRange = "\\ufe0e\\ufe0f"; var rsZWJ = "\\u200d"; var reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]"); function hasUnicode(string) { return reHasUnicode.test(string); } var hasUnicode_default = hasUnicode; // node_modules/lodash-es/_asciiToArray.js function asciiToArray(string) { return string.split(""); } var asciiToArray_default = asciiToArray; // node_modules/lodash-es/_unicodeToArray.js var rsAstralRange2 = "\\ud800-\\udfff"; var rsComboMarksRange2 = "\\u0300-\\u036f"; var reComboHalfMarksRange2 = "\\ufe20-\\ufe2f"; var rsComboSymbolsRange2 = "\\u20d0-\\u20ff"; var rsComboRange2 = rsComboMarksRange2 + reComboHalfMarksRange2 + rsComboSymbolsRange2; var rsVarRange2 = "\\ufe0e\\ufe0f"; var rsAstral = "[" + rsAstralRange2 + "]"; var rsCombo = "[" + rsComboRange2 + "]"; var rsFitz = "\\ud83c[\\udffb-\\udfff]"; var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")"; var rsNonAstral = "[^" + rsAstralRange2 + "]"; var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}"; var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]"; var rsZWJ2 = "\\u200d"; var reOptMod = rsModifier + "?"; var rsOptVar = "[" + rsVarRange2 + "]?"; var rsOptJoin = "(?:" + rsZWJ2 + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*"; var rsSeq = rsOptVar + reOptMod + rsOptJoin; var rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")"; var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g"); function unicodeToArray(string) { return string.match(reUnicode) || []; } var unicodeToArray_default = unicodeToArray; // node_modules/lodash-es/_stringToArray.js function stringToArray(string) { return hasUnicode_default(string) ? unicodeToArray_default(string) : asciiToArray_default(string); } var stringToArray_default = stringToArray; // node_modules/lodash-es/_createCaseFirst.js function createCaseFirst(methodName) { return function(string) { string = toString_default(string); var strSymbols = hasUnicode_default(string) ? stringToArray_default(string) : void 0; var chr = strSymbols ? strSymbols[0] : string.charAt(0); var trailing = strSymbols ? castSlice_default(strSymbols, 1).join("") : string.slice(1); return chr[methodName]() + trailing; }; } var createCaseFirst_default = createCaseFirst; // node_modules/lodash-es/upperFirst.js var upperFirst = createCaseFirst_default("toUpperCase"); var upperFirst_default = upperFirst; // node_modules/lodash-es/capitalize.js function capitalize(string) { return upperFirst_default(toString_default(string).toLowerCase()); } var capitalize_default = capitalize; // node_modules/lodash-es/_arrayReduce.js function arrayReduce(array, iteratee, accumulator, initAccum) { var index = -1, length = array == null ? 0 : array.length; if (initAccum && length) { accumulator = array[++index]; } while (++index < length) { accumulator = iteratee(accumulator, array[index], index, array); } return accumulator; } var arrayReduce_default = arrayReduce; // node_modules/lodash-es/_basePropertyOf.js function basePropertyOf(object) { return function(key) { return object == null ? void 0 : object[key]; }; } var basePropertyOf_default = basePropertyOf; // node_modules/lodash-es/_deburrLetter.js var deburredLetters = { // Latin-1 Supplement block. "\xC0": "A", "\xC1": "A", "\xC2": "A", "\xC3": "A", "\xC4": "A", "\xC5": "A", "\xE0": "a", "\xE1": "a", "\xE2": "a", "\xE3": "a", "\xE4": "a", "\xE5": "a", "\xC7": "C", "\xE7": "c", "\xD0": "D", "\xF0": "d", "\xC8": "E", "\xC9": "E", "\xCA": "E", "\xCB": "E", "\xE8": "e", "\xE9": "e", "\xEA": "e", "\xEB": "e", "\xCC": "I", "\xCD": "I", "\xCE": "I", "\xCF": "I", "\xEC": "i", "\xED": "i", "\xEE": "i", "\xEF": "i", "\xD1": "N", "\xF1": "n", "\xD2": "O", "\xD3": "O", "\xD4": "O", "\xD5": "O", "\xD6": "O", "\xD8": "O", "\xF2": "o", "\xF3": "o", "\xF4": "o", "\xF5": "o", "\xF6": "o", "\xF8": "o", "\xD9": "U", "\xDA": "U", "\xDB": "U", "\xDC": "U", "\xF9": "u", "\xFA": "u", "\xFB": "u", "\xFC": "u", "\xDD": "Y", "\xFD": "y", "\xFF": "y", "\xC6": "Ae", "\xE6": "ae", "\xDE": "Th", "\xFE": "th", "\xDF": "ss", // Latin Extended-A block. "\u0100": "A", "\u0102": "A", "\u0104": "A", "\u0101": "a", "\u0103": "a", "\u0105": "a", "\u0106": "C", "\u0108": "C", "\u010A": "C", "\u010C": "C", "\u0107": "c", "\u0109": "c", "\u010B": "c", "\u010D": "c", "\u010E": "D", "\u0110": "D", "\u010F": "d", "\u0111": "d", "\u0112": "E", "\u0114": "E", "\u0116": "E", "\u0118": "E", "\u011A": "E", "\u0113": "e", "\u0115": "e", "\u0117": "e", "\u0119": "e", "\u011B": "e", "\u011C": "G", "\u011E": "G", "\u0120": "G", "\u0122": "G", "\u011D": "g", "\u011F": "g", "\u0121": "g", "\u0123": "g", "\u0124": "H", "\u0126": "H", "\u0125": "h", "\u0127": "h", "\u0128": "I", "\u012A": "I", "\u012C": "I", "\u012E": "I", "\u0130": "I", "\u0129": "i", "\u012B": "i", "\u012D": "i", "\u012F": "i", "\u0131": "i", "\u0134": "J", "\u0135": "j", "\u0136": "K", "\u0137": "k", "\u0138": "k", "\u0139": "L", "\u013B": "L", "\u013D": "L", "\u013F": "L", "\u0141": "L", "\u013A": "l", "\u013C": "l", "\u013E": "l", "\u0140": "l", "\u0142": "l", "\u0143": "N", "\u0145": "N", "\u0147": "N", "\u014A": "N", "\u0144": "n", "\u0146": "n", "\u0148": "n", "\u014B": "n", "\u014C": "O", "\u014E": "O", "\u0150": "O", "\u014D": "o", "\u014F": "o", "\u0151": "o", "\u0154": "R", "\u0156": "R", "\u0158": "R", "\u0155": "r", "\u0157": "r", "\u0159": "r", "\u015A": "S", "\u015C": "S", "\u015E": "S", "\u0160": "S", "\u015B": "s", "\u015D": "s", "\u015F": "s", "\u0161": "s", "\u0162": "T", "\u0164": "T", "\u0166": "T", "\u0163": "t", "\u0165": "t", "\u0167": "t", "\u0168": "U", "\u016A": "U", "\u016C": "U", "\u016E": "U", "\u0170": "U", "\u0172": "U", "\u0169": "u", "\u016B": "u", "\u016D": "u", "\u016F": "u", "\u0171": "u", "\u0173": "u", "\u0174": "W", "\u0175": "w", "\u0176": "Y", "\u0177": "y", "\u0178": "Y", "\u0179": "Z", "\u017B": "Z", "\u017D": "Z", "\u017A": "z", "\u017C": "z", "\u017E": "z", "\u0132": "IJ", "\u0133": "ij", "\u0152": "Oe", "\u0153": "oe", "\u0149": "'n", "\u017F": "s" }; var deburrLetter = basePropertyOf_default(deburredLetters); var deburrLetter_default = deburrLetter; // node_modules/lodash-es/deburr.js var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; var rsComboMarksRange3 = "\\u0300-\\u036f"; var reComboHalfMarksRange3 = "\\ufe20-\\ufe2f"; var rsComboSymbolsRange3 = "\\u20d0-\\u20ff"; var rsComboRange3 = rsComboMarksRange3 + reComboHalfMarksRange3 + rsComboSymbolsRange3; var rsCombo2 = "[" + rsComboRange3 + "]"; var reComboMark = RegExp(rsCombo2, "g"); function deburr(string) { string = toString_default(string); return string && string.replace(reLatin, deburrLetter_default).replace(reComboMark, ""); } var deburr_default = deburr; // node_modules/lodash-es/_asciiWords.js var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; function asciiWords(string) { return string.match(reAsciiWord) || []; } var asciiWords_default = asciiWords; // node_modules/lodash-es/_hasUnicodeWord.js var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; function hasUnicodeWord(string) { return reHasUnicodeWord.test(string); } var hasUnicodeWord_default = hasUnicodeWord; // node_modules/lodash-es/_unicodeWords.js var rsAstralRange3 = "\\ud800-\\udfff"; var rsComboMarksRange4 = "\\u0300-\\u036f"; var reComboHalfMarksRange4 = "\\ufe20-\\ufe2f"; var rsComboSymbolsRange4 = "\\u20d0-\\u20ff"; var rsComboRange4 = rsComboMarksRange4 + reComboHalfMarksRange4 + rsComboSymbolsRange4; var rsDingbatRange = "\\u2700-\\u27bf"; var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff"; var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7"; var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf"; var rsPunctuationRange = "\\u2000-\\u206f"; var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000"; var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde"; var rsVarRange3 = "\\ufe0e\\ufe0f"; var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; var rsApos = "['\u2019]"; var rsBreak = "[" + rsBreakRange + "]"; var rsCombo3 = "[" + rsComboRange4 + "]"; var rsDigits = "\\d+"; var rsDingbat = "[" + rsDingbatRange + "]"; var rsLower = "[" + rsLowerRange + "]"; var rsMisc = "[^" + rsAstralRange3 + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]"; var rsFitz2 = "\\ud83c[\\udffb-\\udfff]"; var rsModifier2 = "(?:" + rsCombo3 + "|" + rsFitz2 + ")"; var rsNonAstral2 = "[^" + rsAstralRange3 + "]"; var rsRegional2 = "(?:\\ud83c[\\udde6-\\uddff]){2}"; var rsSurrPair2 = "[\\ud800-\\udbff][\\udc00-\\udfff]"; var rsUpper = "[" + rsUpperRange + "]"; var rsZWJ3 = "\\u200d"; var rsMiscLower = "(?:" + rsLower + "|" + rsMisc + ")"; var rsMiscUpper = "(?:" + rsUpper + "|" + rsMisc + ")"; var rsOptContrLower = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?"; var rsOptContrUpper = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?"; var reOptMod2 = rsModifier2 + "?"; var rsOptVar2 = "[" + rsVarRange3 + "]?"; var rsOptJoin2 = "(?:" + rsZWJ3 + "(?:" + [rsNonAstral2, rsRegional2, rsSurrPair2].join("|") + ")" + rsOptVar2 + reOptMod2 + ")*"; var rsOrdLower = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])"; var rsOrdUpper = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])"; var rsSeq2 = rsOptVar2 + reOptMod2 + rsOptJoin2; var rsEmoji = "(?:" + [rsDingbat, rsRegional2, rsSurrPair2].join("|") + ")" + rsSeq2; var reUnicodeWord = RegExp([ rsUpper + "?" + rsLower + "+" + rsOptContrLower + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")", rsMiscUpper + "+" + rsOptContrUpper + "(?=" + [rsBreak, rsUpper + rsMiscLower, "$"].join("|") + ")", rsUpper + "?" + rsMiscLower + "+" + rsOptContrLower, rsUpper + "+" + rsOptContrUpper, rsOrdUpper, rsOrdLower, rsDigits, rsEmoji ].join("|"), "g"); function unicodeWords(string) { return string.match(reUnicodeWord) || []; } var unicodeWords_default = unicodeWords; // node_modules/lodash-es/words.js function words(string, pattern, guard) { string = toString_default(string); pattern = guard ? void 0 : pattern; if (pattern === void 0) { return hasUnicodeWord_default(string) ? unicodeWords_default(string) : asciiWords_default(string); } return string.match(pattern) || []; } var words_default = words; // node_modules/lodash-es/_createCompounder.js var rsApos2 = "['\u2019]"; var reApos = RegExp(rsApos2, "g"); function createCompounder(callback) { return function(string) { return arrayReduce_default(words_default(deburr_default(string).replace(reApos, "")), callback, ""); }; } var createCompounder_default = createCompounder; // node_modules/lodash-es/camelCase.js var camelCase = createCompounder_default(function(result, word, index) { word = word.toLowerCase(); return result + (index ? capitalize_default(word) : word); }); var camelCase_default = camelCase; // node_modules/lodash-es/_stackClear.js function stackClear() { this.__data__ = new ListCache_default(); this.size = 0; } var stackClear_default = stackClear; // node_modules/lodash-es/_stackDelete.js function stackDelete(key) { var data = this.__data__, result = data["delete"](key); this.size = data.size; return result; } var stackDelete_default = stackDelete; // node_modules/lodash-es/_stackGet.js function stackGet(key) { return this.__data__.get(key); } var stackGet_default = stackGet; // node_modules/lodash-es/_stackHas.js function stackHas(key) { return this.__data__.has(key); } var stackHas_default = stackHas; // node_modules/lodash-es/_stackSet.js var LARGE_ARRAY_SIZE = 200; function stackSet(key, value) { var data = this.__data__; if (data instanceof ListCache_default) { var pairs = data.__data__; if (!Map_default || pairs.length < LARGE_ARRAY_SIZE - 1) { pairs.push([key, value]); this.size = ++data.size; return this; } data = this.__data__ = new MapCache_default(pairs); } data.set(key, value); this.size = data.size; return this; } var stackSet_default = stackSet; // node_modules/lodash-es/_Stack.js function Stack(entries) { var data = this.__data__ = new ListCache_default(entries); this.size = data.size; } Stack.prototype.clear = stackClear_default; Stack.prototype["delete"] = stackDelete_default; Stack.prototype.get = stackGet_default; Stack.prototype.has = stackHas_default; Stack.prototype.set = stackSet_default; var Stack_default = Stack; // node_modules/lodash-es/_cloneBuffer.js var freeExports3 = typeof exports == "object" && exports && !exports.nodeType && exports; var freeModule3 = freeExports3 && typeof module == "object" && module && !module.nodeType && module; var moduleExports3 = freeModule3 && freeModule3.exports === freeExports3; var Buffer3 = moduleExports3 ? root_default.Buffer : void 0; var allocUnsafe = Buffer3 ? Buffer3.allocUnsafe : void 0; function cloneBuffer(buffer, isDeep) { if (isDeep) { return buffer.slice(); } var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); buffer.copy(result); return result; } var cloneBuffer_default = cloneBuffer; // node_modules/lodash-es/_Uint8Array.js var Uint8Array2 = root_default.Uint8Array; var Uint8Array_default = Uint8Array2; // node_modules/lodash-es/_cloneArrayBuffer.js function cloneArrayBuffer(arrayBuffer) { var result = new arrayBuffer.constructor(arrayBuffer.byteLength); new Uint8Array_default(result).set(new Uint8Array_default(arrayBuffer)); return result; } var cloneArrayBuffer_default = cloneArrayBuffer; // node_modules/lodash-es/_cloneTypedArray.js function cloneTypedArray(typedArray, isDeep) { var buffer = isDeep ? cloneArrayBuffer_default(typedArray.buffer) : typedArray.buffer; return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); } var cloneTypedArray_default = cloneTypedArray; // node_modules/lodash-es/_initCloneObject.js function initCloneObject(object) { return typeof object.constructor == "function" && !isPrototype_default(object) ? baseCreate_default(getPrototype_default(object)) : {}; } var initCloneObject_default = initCloneObject; // node_modules/lodash-es/_createBaseFor.js function createBaseFor(fromRight) { return function(object, iteratee, keysFunc) { var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length; while (length--) { var key = props[fromRight ? length : ++index]; if (iteratee(iterable[key], key, iterable) === false) { break; } } return object; }; } var createBaseFor_default = createBaseFor; // node_modules/lodash-es/_baseFor.js var baseFor = createBaseFor_default(); var baseFor_default = baseFor; // node_modules/lodash-es/_assignMergeValue.js function assignMergeValue(object, key, value) { if (value !== void 0 && !eq_default(object[key], value) || value === void 0 && !(key in object)) { baseAssignValue_default(object, key, value); } } var assignMergeValue_default = assignMergeValue; // node_modules/lodash-es/isArrayLikeObject.js function isArrayLikeObject(value) { return isObjectLike_default(value) && isArrayLike_default(value); } var isArrayLikeObject_default = isArrayLikeObject; // node_modules/lodash-es/_safeGet.js function safeGet(object, key) { if (key === "constructor" && typeof object[key] === "function") { return; } if (key == "__proto__") { return; } return object[key]; } var safeGet_default = safeGet; // node_modules/lodash-es/toPlainObject.js function toPlainObject(value) { return copyObject_default(value, keysIn_default(value)); } var toPlainObject_default = toPlainObject; // node_modules/lodash-es/_baseMergeDeep.js function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { var objValue = safeGet_default(object, key), srcValue = safeGet_default(source, key), stacked = stack.get(srcValue); if (stacked) { assignMergeValue_default(object, key, stacked); return; } var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0; var isCommon = newValue === void 0; if (isCommon) { var isArr = isArray_default(srcValue), isBuff = !isArr && isBuffer_default(srcValue), isTyped = !isArr && !isBuff && isTypedArray_default(srcValue); newValue = srcValue; if (isArr || isBuff || isTyped) { if (isArray_default(objValue)) { newValue = objValue; } else if (isArrayLikeObject_default(objValue)) { newValue = copyArray_default(objValue); } else if (isBuff) { isCommon = false; newValue = cloneBuffer_default(srcValue, true); } else if (isTyped) { isCommon = false; newValue = cloneTypedArray_default(srcValue, true); } else { newValue = []; } } else if (isPlainObject_default(srcValue) || isArguments_default(srcValue)) { newValue = objValue; if (isArguments_default(objValue)) { newValue = toPlainObject_default(objValue); } else if (!isObject_default(objValue) || isFunction_default(objValue)) { newValue = initCloneObject_default(srcValue); } } else { isCommon = false; } } if (isCommon) { stack.set(srcValue, newValue); mergeFunc(newValue, srcValue, srcIndex, customizer, stack); stack["delete"](srcValue); } assignMergeValue_default(object, key, newValue); } var baseMergeDeep_default = baseMergeDeep; // node_modules/lodash-es/_baseMerge.js function baseMerge(object, source, srcIndex, customizer, stack) { if (object === source) { return; } baseFor_default(source, function(srcValue, key) { stack || (stack = new Stack_default()); if (isObject_default(srcValue)) { baseMergeDeep_default(object, source, key, srcIndex, baseMerge, customizer, stack); } else { var newValue = customizer ? customizer(safeGet_default(object, key), srcValue, key + "", object, source, stack) : void 0; if (newValue === void 0) { newValue = srcValue; } assignMergeValue_default(object, key, newValue); } }, keysIn_default); } var baseMerge_default = baseMerge; // node_modules/lodash-es/_customDefaultsMerge.js function customDefaultsMerge(objValue, srcValue, key, object, source, stack) { if (isObject_default(objValue) && isObject_default(srcValue)) { stack.set(srcValue, objValue); baseMerge_default(objValue, srcValue, void 0, customDefaultsMerge, stack); stack["delete"](srcValue); } return objValue; } var customDefaultsMerge_default = customDefaultsMerge; // node_modules/lodash-es/mergeWith.js var mergeWith = createAssigner_default(function(object, source, srcIndex, customizer) { baseMerge_default(object, source, srcIndex, customizer); }); var mergeWith_default = mergeWith; // node_modules/lodash-es/defaultsDeep.js var defaultsDeep = baseRest_default(function(args) { args.push(void 0, customDefaultsMerge_default); return apply_default(mergeWith_default, void 0, args); }); var defaultsDeep_default = defaultsDeep; // node_modules/lodash-es/kebabCase.js var kebabCase = createCompounder_default(function(result, word, index) { return result + (index ? "-" : "") + word.toLowerCase(); }); var kebabCase_default = kebabCase; // node_modules/lodash-es/lowerFirst.js var lowerFirst = createCaseFirst_default("toLowerCase"); var lowerFirst_default = lowerFirst; // node_modules/lodash-es/snakeCase.js var snakeCase = createCompounder_default(function(result, word, index) { return result + (index ? "_" : "") + word.toLowerCase(); }); var snakeCase_default = snakeCase; /*! Bundled license information: lodash-es/lodash.js: (** * @license * Lodash (Custom Build) <path_to_url * Build: `lodash modularize exports="es" -o ./` * Released under MIT license <path_to_url * Based on Underscore.js 1.8.3 <path_to_url *) */ ```
Libertas was a pan-European political party founded by Declan Ganley that took part in the 2009 European Parliament election in several member states of the European Union. It won one seat in France. History Creation In 2008, the Libertas Institute Limited, a lobby group founded by Declan Ganley and others, advocated a "no" vote in Lisbon I, the 2008 referendum in Ireland on the Treaty of Lisbon. Lisbon I failed. The referendum was held on 12 June 2008 and defeated by 53.4% to 46.6%, with a turnout of 53.1%. Libertas held a post-referendum celebration in the Burlington Hotel in Dublin on the night of Friday, 13 June 2008. Attending that celebration was Danish Eurosceptic and former President of the EUDemocrats and recently retired MEP Jens-Peter Bonde, who had been a "no" campaigner during the referendum. Bonde was later cited as one of the main architects of the upgrading of Libertas to a political party at European level. On 15 July 2008, RTÉ News on Two covered Ganley's comments at The Heritage Foundation in Washington, D.C., where he stated that Libertas intended running as a political party at European level. The next day Ganley confirmed that Libertas was fundraising in order to run candidates throughout Europe in the 2009 European Parliament elections. On 20 September 2008, The Irish Times reported that Bonde and Czech president Václav Klaus pledged to help Ganley to launch Libertas. The two were later amongst the guests at a dinner hosted by Ganley at the Shelbourne Hotel in Dublin on 11 November 2008. On 30 October 2008, Ganley registered a company based in Moyne Park, Tuam, County Galway called the Libertas Party Limited. The Irish Times reported that the new party was intended to "carry on the business of a European political party". The party was publicly announced in December 2008 with ambitions to field up to 400 candidates and win seats in all 27 EU member states. In early 2009 Libertas applied to be recognised by the European Parliament as a political party at European level. The application was briefly successful but then suspended indefinitely amidst controversy. Pan-European expansion Ganley then travelled around Europe to set up Libertas lists and parties for the 2009 European Parliament election. In November 2008 Libertas opened its Brussels office. Libertas launched in France on 12 February 2009, the Netherlands on 15 April, followed by several other European Union member states. On 1 May 2009, Libertas held its first pan-European party convention in Rome in time for the European Parliament elections in June, when it fielded hundreds of candidates for election. Austria In Austria, Libertas was rejected by both Freedom Party of Austria (FPÖ) and Alliance for the Future of Austria (BZÖ) as well as by the independent Hans-Peter Martin. Martin announced after talks and serious considerations, that he would rather remain independent, which he successfully did. FPÖ harshly rebuffed Ganley's advances associating his activism with an alleged American conspiracy. The initially noncommital BZÖ later also declined, preferring a loose cooperation in the European Parliament. Bulgaria An electoral list called "Libertas: Free Citizens" () was formed by some 30 national and local Non-governmental organizations. Pavel Chernev's Freedom Party that had announced to join the list was repudiated by Libertas. However, the submitted list was later rejected by the Bulgarian electoral commission. An appeal filed by Nikolay Bliznakov was turned down by Bulgaria's Supreme Administrative Court on the grounds that the list had not proven the required deposit had not given the names of its constituent parties. In the meantime, Bulgarian businessman Hristo Atanassov founded a party under the name Libertas Bulgaria which has no connection to the pan-European Libertas network. Czech Republic Right after the preliminary rejection of the Lisbon Treaty in Ireland, Declan Ganley, founder of the European Libertas.eu, was guest of Czech President Václav Klaus The Czech eStat.cz civic group had ambitions to replicate Libertas's success and awarded the Irish electorate the Michal Tošovský Prize, picked up by Ganley in Prague on 5 November 2008. During his stay in Ireland after a state visit, Klaus visited Ganley in a private capacity and later attended the Shelbourne Hotel dinner given by Ganley for leading Eurosceptics. However, Ganley's Libertas was later rejected by the new Czech Eurosceptic party, Petr Mach's Party of Free Citizens, which was endorsed by Klaus. Additionally, the Ganley-disavowed new Czech Eurosceptic party by Vladimír Železný usurped the Libertas brand by registering itself as Libertas.cz. Ganley's Libertas later claimed Železný's Libertas as an affiliate. Greece After Manolis Kalligiannis (), President of the Greek Liberal Party had attended Libertas.eu's Rome convention on 1 May 2009. Manolis Kalligiannis (Μανώλης Καλλιγιάννης, sometimes rendered in English as Emmanuel Kalligiannis), Liberal Party run for the 2009 European parliament election under a Libertas-affiliated list with the name "Κόμμα Φιλελευθέρων – Libertas.eu". Hungary In Hungary, Libertas.eu searched for candidates in an Internet ad and Károly Lóránt was appointed the Hungarian representative. However, as Hungarian concerns that a disorganized EU would only serve Russian strategic interests could not be dissipated, no list was fielded on behalf of Libertas. Italy Libertas.eu announced talks with the Pole of Autonomy coalition on 30 April 2009, the day before its Rome convention, which were confirmed the next day by Teodoro Buontempo, the president of The Right. However, in the final candidate lists submitted in May, no candidates were fielded by Libertas.eu, neither did the Pole of Autonomy list refer to Libertas. Lithuania Ganley arrived in Vilnius on Tuesday 3 March 2009 to discuss terms with prospective candidates, and explore whether to establish a new Libertas party in Lithuania or change the name of an existing Lithuanian party. He did so again on Monday 24 March 2009 at a lecture at Vilnius University's Institute of International Relations and Political Science (IIRPS, or VU Tarptautinių Santykių ir Politikos Mokslų Institutas, VU TSPMI). On 31 March 2008, Libertas Lithuania gave a press conference. Attendees at the press conference were Ganley, lawyer , political analyst and Lithuanian presidential advisor Lauras Bielinis, and Tautos Prisikėlimo Partija representative . In that press conference it was announced that the Libertas Lithuanian list would be headed by Sutkiene and would include Bielinis, and that candidates from the Tautos Prisikėlimo Partija would stand with them under a common list, although Ganley and Stoma disagreed whether other parties would join them under that list. When asked if he had read the Lisbon Treaty, Bielinis demurred. When asked about Libertas Lithuania's funding, Ganley demurred. Bielinis planned to remain in his presidential advisory post until 7 May 2009 and take unpaid leave thereafter. Lithuanian President Valdas Adamkus disagreed and announced Bielinis' resignation the next day, 1 April 2009. When the lists were published, neither Bielinis nor Sutkiene were on Tautos Prisikėlimo Partija's list. When Libertas named their finalised candidates in May 2009, they did not include any candidates in Lithuania, and the Tautos Prisikėlimo Partija website contained no pledge of allegiance to Libertas. Portugal In April 2009, the Portuguese ecologist Earth Party (MPT) announced in a joint press conference with Ganley that it would run for the 2009 European Parliament election with an open electoral list under the banner of Libertas.eu. Slovakia While the vice-president of the EUDemocrats, Peter Kopecký had already announced the foundation of a Libertas Slovensko branch, he changed his mind in late February and decided to head the list of the small, but already established Agrarian and Countryside Party. Ganley had to look out to other options and met in Bratislava with leaders of the conservative parties KDS and OKS, and with Richard Sulík, the founder of the new (Sloboda a Solidarita). While Sulík, whom Ganley had already contacted before, still didn't show much interest, Vladimír Palko (KDS) agreed to bring in their joint list with OKS into the European network. However, as the two partys didn't want to give up their distinct identities, they used Libertas only as supplementary brand. Endgame Libertas fielded over 600 candidates (including substitutes), but only one was elected: Phillippe de Villiers. Although Ganley himself polled a respectable number of votes, it was not enough for him to take a seat in his constituency. Ganley requested a recount of his personal vote but still lost. Having made the promise to do so before the election, Ganley retired from politics following his defeat on 8 June 2009: the fate of the party he founded, chaired, owned and governed was left to others. However, the affiliated Libertas Institute did emerge again in the Republic of Ireland when the Irish government launched its re-run of the Lisbon Treaty, despite its defeat the previous year. The Libertas party, along with the other minority political groupings, such as the Socialist Party and Sinn Féin, which opposed the European Constitutional Amending Bill, were outspent and outperformed by the political proponents of the bill who won by a substantial majority. Declan Ganley went on to praise the Irish Prime Minister, or Taoiseach, on 'what was, politically, a masterful campaign...from a masterful politician who has made glove puppets out of the opposition' although Ganley also cited recent economic turmoil in the country as a major deciding factor in the vote. Staff Structure Libertas's intended structure evolved with time. It was originally intended to be an alliance of national parties, but it was later envisaged as a single pan-European party with candidates running as individual members of Libertas. By the end of April 2009, Libertas's structure had settled into a loose association of national member parties (either new or pre-existing), with each member party adhering to a set of core principles (see below) but retaining its independence and adding on additional policies as it felt appropriate. For the purposes of contending the 2009 European Parliament elections, Libertas candidates ran under lists (the lists of candidates presented to voters in a European election) branded with the Libertas identity, as exemplified by the French approach. Each list was made up of some combination of the following: members of member parties members of affiliate parties (parties that were not members of Libertas.eu but cooperated with it electorally) individual members (people who chose to join Libertas.eu as individuals). New national member parties established by Libertas had names in the "Libertas X" format, e.g. "Libertas Sweden" (except in the UK). Pre-existing national member parties were asked to change their names to include the word "Libertas" in the title. Members of member parties were members of Libertas automatically unless they chose otherwise. Affiliate parties retained their original names. Members of affiliate parties were not members of Libertas unless they chose to join as individuals. Position Ganley stated that following a group conference in Rome in March 2009, (later postponed to 1 May 2009) Libertas would publish a policy document or party manifesto. covering areas such as democracy, the economy, small businesses, the recession, and EU institution accountability. No formal manifesto was published at the convention. Instead, Libertas's core principles were displayed on its website and reiterated at its convention, namely accountability, transparency, democracy and rejection of the Lisbon Treaty. Each member party and individual member was obliged to adhere to these core principles, although they could add additional policies as they felt appropriate. Affiliate parties were not obliged to so adhere. The core principles were given concrete form when Libertas published the following policies on its website: The powers of legislative initiative, inspection and decision should be reserved to elected officials. Expenses of the European Parliament and European Commission to be published. European Commission to identify €10 billion in savings for financial year 2010/11. Any given Constitution Treaty to be ratified by referendums in each member state. Meetings in Brussels to be reduced by 50%. Membership Member parties Member parties were members of Libertas.eu. Members of member parties were automatically members of Libertas.eu unless they chose otherwise. Libertas Estonia Libertas Germany Libertas Ireland Libertas Malta Libertas Netherlands Libertas Poland Libertas Sweden Libertas United Kingdom Libertas Latvia Affiliate parties Affiliate parties were not members of Libertas.eu but cooperated with it electorally under Libertas lists. Members of affiliate parties were not members of Libertas.eu unless they chose to join as individuals. Svoboda (Свобода, SVOBODA) Libertas.cz Independent Democrats (Nezávislí demokraté, NEZDEM) Movement for France (Mouvement pour la France, MPF) Hunting, Fishing, Nature, Tradition (Chasse, Pêche, Nature, Traditions, CPNT) Party of Work, Nature and Family - Christians for Germany (Partei für Arbeit, Umwelt und Familie – Christen für Deutschland, AUF) Liberal Party (Komma Fileleftheron, KF) Forward Poland (Naprzód Polsko, NP) Polish People's Party "Piast" (Polskie Stronnictwo Ludowe "Piast", PSL Piast) Party of Regions (Partia Regionów, PR) League of Polish Families (Liga Polskich Rodzin, LPR) Organization of the Polish Nation - League of Poland (Organizacja Narodu Polskiego - Liga Polska, ONP-LP) Christian-National Union (Zjednoczenie Chrześcijańsko-Narodowe, ZChN) Earth Party (Partido da Terra, PT), formerly the Movement the Earth Party (Movimento Partido da Terra, MPT) KDS-OKS coalition Civic Conservative Party (Občianska Konzervatívna Strana, OKS) Conservative Democrats of Slovakia (Konzervatívni Demokrati Slovenska, KDS) Agrarian and Countryside Party Citizens – Party of the Citizenry (Ciudadanos-Partido de la Ciudadanía, C) Social Democratic Party (Partido Social Demócrata, PSD) People's Union of Salamanca (Unión del Pueblo Salmantino, UPSa) Individual members Individual members were people who chose to join Libertas.eu as individuals. People with no national party membership who were running under a Libertas list were automatically individual members. 2009 European Parliament elections Libertas didn't manage to present electoral lists in Austria, Belgium, Bulgaria, Cyprus, Denmark, Finland, Hungary, Italy, Luxembourg, Lithuania, Romania and Sweden. In the other European countries, the candidates on Libertas.eu's lists were either members of member parties, members of affiliate parties, or individual members. Commonality with other organizations Libertas was registered at Moyne Park, Tuam, County Galway along with other organisations associated with Libertas and/or Declan Ganley. A list of organizations associated with Libertas.eu and/or Declan Ganley is given here. See also Jens-Peter Bonde Declan Ganley 2009 European Parliament election Treaty of Lisbon Notes References External links Libertas.eu (official website) Libertas.eu (official YouTube channel) Libertas.eu (Facebook) Libertas Bulgaria (official website) Political parties established in 2008 Eurosceptic parties Political parties disestablished in 2010 Defunct political parties in Europe 2008 establishments in the European Union 2010 disestablishments in the European Union
Literomancy, from the Latin litero-, 'letter' + -mancy, 'divination', is a form of fortune-telling based on written words, or, in the case of Chinese, characters. A fortune-teller of this type is known as a literomancer. ) When practicing literomancy, the client puts up a subject, be it a single character or a name. The literomancer then analyzes the subject, the client's choice of subject or other information related to the subject, along with other information he sees in the client or that the client supplies to arrive at a divination. Some literomancers can read the curves and lines of a signature as signed by an individual, just as a professional handwriting analyst might, but uses instinct and divination techniques rather than applied analysis skills. As a superstition, literomancy is practised in Chinese-speaking communities and known as . The subjects of a literomancy are traditionally single characters, plus the requesting person's name—it is often believed that the glyphs in Chinese names bear particular portents. In modern times, elements such as foreign words or even more recently, e-mail addresses and instant message handles have come into use as a subject. See also Graphology External links An example of fortune-telling with a Chinese name Superstitions Divination Chinese characters Chinese culture
Vladimir Malik (Russian name: Владимир Малик; born 31 March 1938) is a Soviet rower. He competed at the 1960 Summer Olympics in Rome with the men's eight where they were eliminated in the heats. References 1938 births Living people Soviet male rowers Olympic rowers for the Soviet Union Rowers at the 1960 Summer Olympics Rowers from Saint Petersburg
```c /* * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright notice, this list of * conditions and the following disclaimer in the documentation and/or other materials provided * with the distribution. * * 3. Neither the name of the copyright holder nor the names of its contributors may be used to * endorse or promote products derived from this software without specific prior written * permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <stdlib.h> int main() { volatile float *arr = malloc(10 * sizeof(float)); arr[5] = 1.3; arr[4] = 4.8; return arr[5] + arr[4]; } ```
The velvet-fronted nuthatch (Sitta frontalis) is a small passerine bird in the nuthatch family Sittidae found in southern Asia from Nepal, India, Sri Lanka ‍and Bangladesh east to south China and Indonesia. Like other nuthatches, it feeds on insects in the bark of trees, foraging on the trunks and branches and their strongly clawed toes allow them to climb down tree trunks or move on the undersides of horizontal branches. They are found in forests with good tree cover and are often found along with other species in mixed-species foraging flocks. Adult males can be told apart by the black stripe that runs behind and above the eyes. They have a rapid chipping call note. They breed in tree cavities and holes, often created by woodpeckers or barbets. Description The velvet-fronted nuthatch has the typical nuthatch shape, short tail and powerful bill and feet. It is 12.5 cm long. It is violet-blue above, with lavender cheeks, beige underparts, yellow eyes, and a whitish throat. The iris is distinctly pale and yellow. The bill is red, and there is a black patch on the forehead and lores which is well developed in adults and less so in younger birds. Young birds have a dark beak and dark tips to the undertail coverts. Adult males can be told apart by the black superciliary stripe that runs above the eye and over the head, towards the nape. Females lack the supercilium and have a warmer underpart colour. Juveniles are duller versions of the adult lacking the black frontal band. There populations differ in shade and size and the distribution of white on the throat. Taxonomy and systematics Velvet-fronted nuthatches are closely related to Sitta solangiae, Sitta azurea and Sitta oenochlamys and some authors have placed them in a separate genus Oenositta (proposed by H.E. Wolters in 1979) which would be inappropriate as the clade, although distinct in morphology, is nested within other Sitta species. The complex includes numerous forms which have had a confusing history, for instance oenochlamys has been treated as a subspecies of frontalis in the past. The species was first described validly by Swainson who also created the genus Dendrophila in which he initially placed the species. Hodgson had however used the name Dendrophila for a species of partridge. Swainson used the species name given by Horsfield who had named the bird as Orthorynchus frontalis but Horsfield published only in 1821 giving priority to Swainson as the author. About five populations are widely recognized as subspecies but some may be treated as phylogenetic species: S. f. frontalis - the nominate form is from the hill forests of southern India, they occur in the Western Ghats, the Eastern Ghats, the central Indian forests and in Sri Lanka. The population along the Himalayas is also included in this although the name corallina might be more appropriate for this population with individuals being slightly smaller (contrary to Bergmann's rule). The name simplex proposed by Koelz in 1939 for birds from the south of Bombay is considered as a synonym. The Himalayan population extends from Uttarakhand east to Bangladesh and into Thailand, Myanmar, the Isthmus of Kra and possibly into Hong Kong where it may be an introduced species. The name chienfengensis was proposed by Tso-Hsin Cheng, 1964 for the birds of Hainan, China. S. f. saturatior – this is distributed in the Malay Peninsula south of the Isthmus of Kra which includes Penang, Singapore, the, Lingga Archipelago and Sumatra. S. f. corallipes – is found in Borneo extending into the Maratua Island S. f. palawana – Palawan and Balabac in the western Philippines. S. f. velata – Java. The use of ectoparasites such as Brueelia as a proxy to unravel the phylogeny of the species is unreliable as the nuthatch shares the same Brueelia species with flycatchers (Rhipidura and Ficedula), possibly because these parasites are phoretic, travelling across hosts via blowflies. Habitat and ecology The velvet-fronted nuthatch is a resident breeder of all types of forests from deciduous to evergreen forest. In the Sunderbans, they are found in Sonneratia mangrove forests. They also live within secondary forest and make use of the shade trees in south Indian coffee plantations. Like other nuthatches they have strongly curved claws that allow them to climb down vertical tree trunks, unlike species such as woodpeckers that only work their way upwards. It moves jerkily up and down or around tree branches and trunks. It is an active feeder on insects and spiders, gleaned on the bark of the trunk and branches, and may be found in mixed feeding flocks with other passerines. The insects they disturb are sometimes taken by the racket-tailed drongo in Sri Lanka. This is a noisy bird, often located by its repeated “sit-sit-sit” call. Adults go through a complete postnuptial moult that begins at the end of June in northern India. Plasmodium parasites including Haemoproteus have been detected in their blood. Feather mites of the genus Neodectes are found on the species. Breeding Nests are in tree holes or crevices, lined with moss, fur and feathers, or grass. The breeding season on northern India is in summer, April to June and January to May in southern India and Sri Lanka. Unlike other nuthatches, it is said not to employ mud to narrow the entrance of the hole. Three to six eggs are laid, white speckled with red. The female spends more time incubating but both take turns in feeding the young. In culture Being a small forest bird, only a few forest-dwelling tribes are aware of the species. The Lotha Naga people will hunt many birds for food but the velvet-fronted nuthatch is generally proscribed due to the belief that killing them would bring misfortune to the hunter. The birds forage in flocks and members are believed to stay on nearby if one is killed, and according to the Lothas, they will wait to be killed and the hunter would soon see people around him die in quick succession one after another. The Soliga people call it the maratotta or "tree hopper". References External links Skull images velvet-fronted nuthatch Birds of South China Birds of South Asia Birds of Southeast Asia velvet-fronted nuthatch
```smalltalk #if UNITY_EDITOR || RUNTIME_CSG using System; namespace Sabresaurus.SabreCSG.Importers.ValveMapFormat2006 { /// <summary> /// Represents a Hammer Plane. /// </summary> public class VmfPlane { /// <summary> /// The first point of the plane definition. /// </summary> public VmfVector3 P1; /// <summary> /// The second point of the plane definition. /// </summary> public VmfVector3 P2; /// <summary> /// The third point of the plane definition. /// </summary> public VmfVector3 P3; /// <summary> /// Initializes a new instance of the <see cref="VmfPlane"/> class. /// </summary> /// <param name="p1">The first point of the plane definition.</param> /// <param name="p2">The second point of the plane definition.</param> /// <param name="p3">The third point of the plane definition.</param> public VmfPlane(VmfVector3 p1, VmfVector3 p2, VmfVector3 p3) { P1 = p1; P2 = p2; P3 = p3; } /// <summary> /// Returns a <see cref="System.String"/> that represents this instance. /// </summary> /// <returns>A <see cref="System.String"/> that represents this instance.</returns> public override string ToString() { return "VmfPlane (P1=" + P1 + ", P2=" + P2 + ", P3=" + P3 + ")"; } } } #endif ```
```xml // luma.gl import type {Device} from '../device'; import {Resource, ResourceProps} from './resource'; /** * Properties for creating a QuerySet * - 'timestamp' - query the GPU timestamp counter at the start and end of render passes * timestamp queries are available if the 'timestamp-query' feature is present. * - 'occlusion' - query the number of fragment samples that pass all per-fragment tests for a set of drawing commands * including scissor, sample mask, alpha to coverage, stencil, and depth tests */ export type QuerySetProps = ResourceProps & { /** * The type of query set * occlusion - query the number of fragment samples that pass all the per-fragment tests for a set of drawing commands, including scissor, sample mask, alpha to coverage, stencil, and depth tests * timestamp - query the GPU timestamp counter at the start and end of render passes */ type: 'occlusion' | 'timestamp'; /** The number of queries managed by the query set */ count: number; }; /** Immutable QuerySet object */ export abstract class QuerySet extends Resource<QuerySetProps> { static override defaultProps: Required<QuerySetProps> = { ...Resource.defaultProps, type: undefined!, count: undefined! }; get [Symbol.toStringTag](): string { return 'QuerySet'; } constructor(device: Device, props: QuerySetProps) { super(device, props, QuerySet.defaultProps); } } ```
C. S. Giscombe (born 1950 Dayton, Ohio) is an African-American poet, essayist, and professor of English at University of California, Berkeley. Life A graduate of SUNY at Albany and Cornell University where he earned degrees, he was editor of Epoch magazine in the 1970s and 1980s. He has taught at Cornell University, Syracuse University, Illinois State University, and Pennsylvania State University. As of 2015, he teaches at University of California, Berkeley. His work has appeared in Callaloo, Chicago Review, Hambone, Iowa Review, Boundary 2, etc.. Giscombe’s honors and awards include the Stephen Henderson Award in Poetry, the American Book Award, and the Carl Sandburg Prize. As well as fellowships from the National Endowment for the Arts, the Fund for Poetry, the Council for the International Exchange of Scholars, and the Canadian Embassy. There have been a plethora of acknowledgments throughout Giscombe's career. Giscombe has also worked as a taxi driver, a hospital orderly, and a railroad brakeman. He acknowledges his childhood fascination with trains as having an influence in his writing, noting that the railroad is "not sentimental...continuous...intimately connected to features of land and water." Awards 1998 Carl Sandburg Award for Giscome Road. 2008 American Book Award for Prairie Style 2010 Stephen Henderson Award. Fellowships and grants from the Canadian Embassy to the United States, the Fund for Poetry, the Illinois Arts Council, the National Endowment for the Arts, the New York Foundation for the Arts, etc. Works Similarly. Dalkey Archive Press. 2021. . Train Music. (with Judith Margolis). Omnidawn Press. 2021. . Border Towns. Dalkey Archive Press. 2016. . Ohio Railroads. Omnidawn Press. 2014. . Prairie Style. Dalkey Archive Press. 2008. . Inland. Leroy Chapbooks. 2001. Two Sections from "Practical Geography." Diæresis Press. 1999. At Large. St. Lazaire Press. 1989. Postcards. Ithaca House. 1977. . References External links "Prairie Style: An interview with C.S. Giscombe", Poetry Foundation "C.S. Giscombe", Electronic Poetry Center "C.S. Giscombe", PennSound "Review of Giscome Road'" in Samizdat''' Living people American male poets University at Albany, SUNY alumni Cornell University alumni Cornell University faculty Syracuse University faculty Illinois State University faculty Pennsylvania State University faculty University of California, Berkeley College of Letters and Science faculty 1950 births African-American poets Writers from Dayton, Ohio American Book Award winners American taxi drivers 21st-century African-American people 20th-century African-American people African-American male writers
The Huckleberry Hound Show is an American animated television series produced by Hanna-Barbera Productions, and the second series produced by the studio following The Ruff and Reddy Show. The show first aired in syndication on September 29, 1958, and was sponsored by Kellogg's. Three segments were included in the program: one featuring Huckleberry Hound, another starring Yogi Bear and his friend Boo Boo, and a third with Pixie and Dixie and Mr. Jinks, which starred two mice who in each short found a new way to outwit the cat Mr. Jinks. The series last aired on December 1, 1961. The Yogi Bear segment of the show became extremely popular, and as a result, it spawned its own series in 1961. A segment featuring Hokey Wolf and Ding-A-Ling was added, replacing Yogi during the 1961–62 season. The show contributed to making Hanna-Barbera a household name, and is often credited with legitimizing the concept of animation produced specifically for television. In 1960, it became the first animated program to be honored with an Emmy Award. Background/production Conception and development Joseph Barbera went to Chicago to pitch the program to Kellogg's executives through their ad agency, Leo Burnett. "I had never sold a show before because I didn't have to. If we got an idea, we just made it, for over twenty years. All of a sudden, I'm a salesman, and I'm in a room with forty-five people staring at me, and I'm pushing Huckleberry Hound and Yogi Bear and 'the Meeces', and they bought it." Barbera once recalled about Daws Butler's voice acting versatility: Format The series featured three seven-minute cartoons, animated specifically for television. The first always starred Huckleberry, the next two featured other characters. Each of three cartoons were in between the wraparound segments, which originally set in the circus tent where Huck acts like a showman in the late 1950s. Distribution The show was originally intended to be part of a line-up of kid programmes sponsored by Kellogg and broadcast on ABC-TV, joining Woody Woodpecker, Superman and Wild Bill Hickok in an early evening, weekday line-up. However, Kellogg's agency, Leo Burnett, decided instead to syndicate the show and buy air time on individual stations. The show was originally distributed by Screen Gems, which held a part-ownership of Hanna-Barbera at the time, over 150 stations. In April 1967, Screen Gems announced the show had been released from advertiser control, and would be made available to stations on a syndicated basis with available bridges to create 92 half-hour shows. The distribution was later passed to Worldvision Enterprises, after it became a sister company to Hanna-Barbera. It was later distributed by Turner Program Services, after Turner's purchase of Hanna-Barbera; current distributor Warner Bros. Television picked up ownership of the show following the 1996 acquisition of Turner by parent company, Time Warner. Original Syndication The show was not broadcast on the same day of the week, or the same time, in every city; airing depended on the deal for time that the Leo Burnett Agency brokered with individual stations. However, the first time the Huck series appeared on television was on Monday, September 29, 1958; it was first seen at 6 p.m. on WOOD-TV in Grand Rapids, Michigan, which also served Battle Creek, home of Kellogg cereals. A few other stations airing it that day were WLWI in Indianapolis (at 6:30 p.m.) and WTAE in Pittsburgh (at 7:30 p.m.). The show debuted on other days that same week in other cities; Huck originally aired in Los Angeles on Tuesdays on KNXT, Chicago on Wednesdays on WGN-TV, and New York City on Thursdays on WPIX. The show first aired in Canada on Thursday, October 2, 1958, at 7 p.m. on CKLW-TV in Windsor, Ontario. The show first aired in Australia on Monday, February 16, 1959, on the National Television Network (now the Nine Network), and the show first aired in the United Kingdom on Friday, July 3, 1959, on ITV. Plot and characters Each of the three segments featured one or two main characters acting as a duo, and numerous one-off or supporting characters. Huckleberry Hound Huck's voice was one that Butler had already developed and used in earlier work, such as Ruff in The Ruff and Reddy Show, Smedley the Dog in the Chilly Willy cartoons, and earlier characters in the MGM cartoon library. It was said to be based on the neighbor of his wife, Myrtis; Butler would speak with said neighbor when visiting North Carolina. Yogi Bear Yogi Bear (voiced by Daws Butler impersonating Ed Norton from The Honeymooners) and his friend Boo Boo Bear (voiced by Don Messick) live in Jellystone Park and occasionally try to steal picnic baskets while evading Ranger Smith (also voiced by Don Messick). Yogi also has a relationship with his girlfriend Cindy Bear (voiced by Julie Bennett). Pixie & Dixie and Mr. Jinks Pixie (voiced by Don Messick) and Dixie (voiced by Daws Butler) are two mice who every day end up being chased by a cat named Mr. Jinks (voiced by Daws Butler impersonating Marlon Brando). Hokey Wolf Hokey Wolf (voiced by Daws Butler impersonating Phil Silvers) is a con-artist wolf who is always trying to cheat his way to the simple life (much like other Hanna-Barbera characters, Top Cat and Yogi Bear). He is accompanied in this by his diminutive, bowler hat-wearing sidekick Ding-A-Ling Wolf (voiced by Doug Young impersonating Buddy Hackett). Voice cast Daws Butler - Yogi Bear, Huckleberry Hound, Mr. Jinks, Dixie, Hokey Wolf, Narrator, Various Don Messick - Narrator, Boo Boo Bear, Pixie, Ranger Smith, Various Julie Bennett - Cindy Bear, Various Doug Young - Ding-A-Ling Wolf, Various Additional Voices Bea Benaderet - Narrator, Various Mel Blanc - Various Lucille Bliss - Various Red Coffey - Various June Foray - Various Peter Leeds - Narrator, Various GeGe Pearson - Various Jean Vander Pyl - Various Hal Smith - Various Ginny Tyler - Various Credits Producers and Directors: Joseph Barbera and William Hanna Voices: Daws Butler, Don Messick Story Directors: Alex Lovy, Paul Sommer, Arthur Davis, John Freeman, Lew Marshall Story: Warren Foster Story Sketch: Dan Gordon, Charles Shows Titles: Lawrence Goble Musical Director/Composer: Theme Music: Hoyt Curtin Designer: Frank Tipper Production Supervisor: Howard Hanson Animators: Kenneth Muse, Lewis Marshall, Carlo Vinci, Dick Lundy, George Nicholas, Don Patterson, Allen Wilzbach, Ed DeMattia, Manny Perez, Brad Case, Arthur Davis, Ken Southworth, Ken O'Brien, Emil Carle, George Goepper, Don Towsley, Ralph Somerville, C.L. Hartman, John Boersema, Bob Carr, Hicks Lokey, Don Williams, Gerard Baldwin, Ed Parks, Dick Bickenbach, Ed Love, Michael Lah Layout: Dick Bickenbach, Walter Clinton, Tony Rivera, Ed Benedict, Michael Lah, Paul Sommer, Dan Noonan, Lance Nolley, Jim Carmichael, Jerry Eisenberg, Jack Huber, Sam Weiss Background: Montealegre, Robert Gentle, Art Lozzi, Richard H. Thomas, Joseph Montell, Vera Hanson, Sam Clayberger, Neenah Maxwell, Frank Tipper Episodes Reception In the film Breakfast at Tiffany's (1961), Holly Golightly (Audrey Hepburn) briefly dons a mask of Huckleberry. The name for Rock et Belles Oreilles, a Québécois comedy group popular during the 1980s, was a pun on the name of Huckleberry Hound ("Roquet Belles Oreilles" in French). Australian prison slang vernacular includes "huckleberry hound", a term originated in the 1960s, meaning "a punishment cell, solitary confinement." In January 2009, IGN named The Huckleberry Hound Show as the 63rd best in its "Top 100 Animated TV Shows". In 1960s Hungary, the series - there called Foxi Maxi - gained an instant following, also among adults. The reason for this was the fact that legendary scriptwriter József Romhányi had penned dialog with his trademark puns and humor, and some of the most popular actors of the day had supplied the voices. Romhányi and some of the same actors later worked on the Hungarian version of The Flintstones. Media information Home media On , Warner Home Video (via Hanna-Barbera Cartoons and Warner Bros. Family Entertainment) released The Huckleberry Hound Show – Volume 1 for the Hanna-Barbera Classics Collection, featuring the complete first season of 26 episodes (66 segments) from the series on DVD, all presented remastered and restored. However, the episodes in the Volume 1 DVD set were the edited versions, instead of the uncut and unedited, original network broadcast versions due to expensive licensing issues. Licensing The characters from The Huckleberry Hound Show spawned various product, publishing, and other licensing deals. Columbia Pictures/Screen Gems' record arm, Colpix, released the first Huckleberry Hound album in October 1958, with stuffed animals and games also hawked in record stores. No later than 1961, the characters began appearing "in person" at events across America. Hanna Barbera commissioned costumed characters of Huckleberry Hound, Yogi Bear, and Quick Draw McGraw, which appeared at events like the Florida State Fair. Hanna-Barbera owner Taft Broadcasting started opening theme parks in 1972, beginning with Kings Island. These parks included areas themed to the company's cartoons, and included walk-around characters of Huckleberry Hound, Yogi Bear, and others. The characters were also featured on rides, including carousels. Licensed Huckleberry products included an Aladdin-brand Thermos. Books based on the show include: Huckleberry Hound Christmas, P. Scherr, Golden Press, 25 cents. Huckleberry Hound: The Case of the Friendly Monster, Ottenheimer Publishers, 1978, 96 pages. See also List of works produced by Hanna-Barbera Productions List of Hanna-Barbera characters The Yogi Bear Show Pixie and Dixie and Mr. Jinks Hokey Wolf References External links Huckleberry Hound's Toonopedia entry The Huckleberry Hound Show at Toon Tracker The Big Cartoon Database – Informational site and episode guides on The Huckleberry Hound Show. The Cartoon Scrapbook – Information and details on Huckleberry Hound. Huckleberry Hound television series Yogi Bear television series 1950s American animated television series 1960s American animated television series 1950s American anthology television series 1960s American anthology television series 1950s American comedy television series 1960s American comedy television series 1958 American television series debuts 1961 American television series endings American children's animated anthology television series American children's animated comedy television series Television series by Hanna-Barbera Television shows adapted into comics First-run syndicated television programs in the United States Animated television series about dogs Television series by Screen Gems Television series by Sony Pictures Television Television series by Warner Bros. Television Studios Television shows set in circuses Emmy Award-winning programs English-language television shows
```c // THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS. // WARNING: This file has automatically been generated on Tue, 05 Sep 2017 19:50:44 MSK. // By path_to_url DO NOT EDIT. #include "_cgo_export.h" #include "cgo_helpers.h" int ALooper_callbackFunc_7e6b484c(int fd, int events, void* data) { return looperCallbackFunc7E6B484C(fd, events, data); } void ANativeActivity_createFunc_76dce4(ANativeActivity* activity, void* savedState, unsigned int savedStateSize) { nativeActivityCreateFunc76DCE4(activity, savedState, savedStateSize); } void AStorageManager_obbCallbackFunc_e8b15c3e(char* filename, int state, void* data) { storageManagerObbCallbackFuncE8B15C3E(filename, state, data); } ```
```makefile ################################################################################ # Automatically-generated file. Do not edit! ################################################################################ USER_OBJS := LIBS := ```
```go package storage_test import ( "bufio" "bytes" "context" "crypto/md5" "crypto/sha512" "encoding/hex" "io" "os" "testing" "time" "github.com/ovh/symmecrypt/ciphers/aesgcm" "github.com/ovh/symmecrypt/convergent" "github.com/stretchr/testify/require" "github.com/ovh/cds/engine/cdn/item" "github.com/ovh/cds/engine/cdn/storage" _ "github.com/ovh/cds/engine/cdn/storage/local" _ "github.com/ovh/cds/engine/cdn/storage/redis" _ "github.com/ovh/cds/engine/cdn/storage/swift" cdntest "github.com/ovh/cds/engine/cdn/test" "github.com/ovh/cds/engine/gorpmapper" commontest "github.com/ovh/cds/engine/test" "github.com/ovh/cds/sdk" ) func TestDeduplicationCrossType(t *testing.T) { m := gorpmapper.New() item.InitDBMapping(m) storage.InitDBMapping(m) db, cache := commontest.SetupPGWithMapper(t, m, sdk.TypeCDN) cfg := commontest.LoadTestingConf(t, sdk.TypeCDN) cdntest.ClearItem(t, context.TODO(), m, db) cdntest.ClearSyncRedisSet(t, cache, "local_storage") ctx, cancel := context.WithTimeout(context.TODO(), 3*time.Second) t.Cleanup(cancel) bufferDir, err := os.MkdirTemp("", t.Name()+"-cdnbuffer-1-*") require.NoError(t, err) tmpDir, err := os.MkdirTemp("", t.Name()+"-cdn-1-*") require.NoError(t, err) cdnUnits, err := storage.Init(ctx, m, cache, db.DbMap, sdk.NewGoRoutines(ctx), storage.Configuration{ SyncSeconds: 10, SyncNbElements: 100, HashLocatorSalt: "thisismysalt", Buffers: map[string]storage.BufferConfiguration{ "redis_buffer": { Redis: &sdk.RedisConf{ Host: cfg["redisHost"], Password: cfg["redisPassword"], DbIndex: 0, }, BufferType: storage.CDNBufferTypeLog, }, "fs_buffer": { Local: &storage.LocalBufferConfiguration{ Path: bufferDir, }, BufferType: storage.CDNBufferTypeFile, }, }, Storages: map[string]storage.StorageConfiguration{ "local_storage": { Local: &storage.LocalStorageConfiguration{ Path: tmpDir, Encryption: []convergent.ConvergentEncryptionConfig{ { Cipher: aesgcm.CipherName, LocatorSalt: "secret_locator_salt", SecretValue: "secret_value", }, }, }, }, }, }) require.NoError(t, err) require.NotNil(t, cdnUnits) cdnUnits.Start(ctx, sdk.NewGoRoutines(ctx)) units, err := storage.LoadAllUnits(ctx, m, db.DbMap) require.NoError(t, err) require.NotNil(t, units) require.NotEmpty(t, units) // Create Item Empty Log apiRef := &sdk.CDNLogAPIRef{ ProjectKey: sdk.RandomString(5), } apiRefHash, err := apiRef.ToHash() require.NoError(t, err) i := &sdk.CDNItem{ APIRef: apiRef, APIRefHash: apiRefHash, Created: time.Now(), Type: sdk.CDNTypeItemStepLog, Status: sdk.CDNStatusItemIncoming, } require.NoError(t, item.Insert(ctx, m, db, i)) defer func() { _ = item.DeleteByID(db, i.ID) }() itemUnit, err := cdnUnits.NewItemUnit(ctx, cdnUnits.LogsBuffer(), i) require.NoError(t, err) require.NoError(t, storage.InsertItemUnit(ctx, m, db, itemUnit)) itemUnit, err = storage.LoadItemUnitByID(ctx, m, db, itemUnit.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) reader, err := cdnUnits.LogsBuffer().NewReader(context.TODO(), *itemUnit) require.NoError(t, err) h, err := convergent.NewHash(reader) require.NoError(t, err) i.Hash = h i.Status = sdk.CDNStatusItemCompleted require.NoError(t, item.Update(ctx, m, db, i)) require.NoError(t, err) i, err = item.LoadByID(ctx, m, db, i.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) localUnit, err := storage.LoadUnitByName(ctx, m, db, "local_storage") require.NoError(t, err) localUnitDriver := cdnUnits.Storage(localUnit.Name) require.NotNil(t, localUnitDriver) // Sync item in backend require.NoError(t, cdnUnits.FillWithUnknownItems(ctx, cdnUnits.Storages[0], 100)) require.NoError(t, cdnUnits.FillSyncItemChannel(ctx, cdnUnits.Storages[0], 100)) time.Sleep(1 * time.Second) <-ctx.Done() // Check that the first unit has been resync exists, err := localUnitDriver.ItemExists(context.TODO(), m, db, *i) require.NoError(t, err) require.True(t, exists) logItemUnit, err := storage.LoadItemUnitByUnit(ctx, m, db, localUnitDriver.ID(), i.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) // Add empty artifact // Create Item Empty Log apiRefArtifact := &sdk.CDNRunResultAPIRef{ ProjectKey: sdk.RandomString(5), ArtifactName: "myfile.txt", Perm: 0777, } apiRefHashArtifact, err := apiRefArtifact.ToHash() require.NoError(t, err) itemArtifact := &sdk.CDNItem{ APIRef: apiRefArtifact, APIRefHash: apiRefHashArtifact, Created: time.Now(), Type: sdk.CDNTypeItemRunResult, Status: sdk.CDNStatusItemCompleted, } iuArtifact, err := cdnUnits.NewItemUnit(ctx, cdnUnits.FileBuffer(), itemArtifact) require.NoError(t, err) // Create Destination Writer writer, err := cdnUnits.FileBuffer().NewWriter(ctx, *iuArtifact) require.NoError(t, err) // Compute md5 and sha512 artifactContent := make([]byte, 0) artifactReader := bytes.NewReader(artifactContent) md5Hash := md5.New() sha512Hash := sha512.New() pagesize := os.Getpagesize() mreader := bufio.NewReaderSize(artifactReader, pagesize) multiWriter := io.MultiWriter(md5Hash, sha512Hash) teeReader := io.TeeReader(mreader, multiWriter) require.NoError(t, cdnUnits.FileBuffer().Write(*iuArtifact, teeReader, writer)) sha512S := hex.EncodeToString(sha512Hash.Sum(nil)) md5S := hex.EncodeToString(md5Hash.Sum(nil)) itemArtifact.Hash = sha512S itemArtifact.MD5 = md5S itemArtifact.Size = 0 itemArtifact.Status = sdk.CDNStatusItemCompleted iuArtifact, err = cdnUnits.NewItemUnit(ctx, cdnUnits.FileBuffer(), itemArtifact) require.NoError(t, err) require.NoError(t, item.Insert(ctx, m, db, itemArtifact)) defer func() { _ = item.DeleteByID(db, itemArtifact.ID) }() // Insert Item Unit iuArtifact.ItemID = iuArtifact.Item.ID require.NoError(t, storage.InsertItemUnit(ctx, m, db, iuArtifact)) // Check if the content (based on the locator) is already known from the destination unit has, err := cdnUnits.GetItemUnitByLocatorByUnit(logItemUnit.Locator, cdnUnits.Storages[0].ID(), iuArtifact.Type) require.NoError(t, err) require.False(t, has) require.NoError(t, cdnUnits.FillWithUnknownItems(ctx, cdnUnits.Storages[0], 100)) require.NoError(t, cdnUnits.FillSyncItemChannel(ctx, cdnUnits.Storages[0], 100)) time.Sleep(2 * time.Second) <-ctx.Done() // Check that the first unit has been resync exists, err = localUnitDriver.ItemExists(context.TODO(), m, db, *itemArtifact) require.NoError(t, err) require.True(t, exists) artItemUnit, err := storage.LoadItemUnitByUnit(ctx, m, db, localUnitDriver.ID(), itemArtifact.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) require.Equal(t, logItemUnit.HashLocator, artItemUnit.HashLocator) require.NotEqual(t, logItemUnit.Type, artItemUnit.Type) } func TestRun(t *testing.T) { m := gorpmapper.New() item.InitDBMapping(m) storage.InitDBMapping(m) db, cache := commontest.SetupPGWithMapper(t, m, sdk.TypeCDN) cfg := commontest.LoadTestingConf(t, sdk.TypeCDN) cdntest.ClearItem(t, context.TODO(), m, db) cdntest.ClearSyncRedisSet(t, cache, "local_storage") cdntest.ClearSyncRedisSet(t, cache, "local_storage_2") ctx, cancel := context.WithTimeout(context.TODO(), 3*time.Second) t.Cleanup(cancel) tmpDir, err := os.MkdirTemp("", t.Name()+"-cdn-1-*") require.NoError(t, err) tmpDir2, err := os.MkdirTemp("", t.Name()+"-cdn-2-*") require.NoError(t, err) cdnUnits, err := storage.Init(ctx, m, cache, db.DbMap, sdk.NewGoRoutines(ctx), storage.Configuration{ SyncSeconds: 10, SyncNbElements: 100, HashLocatorSalt: "thisismysalt", Buffers: map[string]storage.BufferConfiguration{ "redis_buffer": { Redis: &sdk.RedisConf{ Host: cfg["redisHost"], Password: cfg["redisPassword"], DbIndex: 0, }, BufferType: storage.CDNBufferTypeLog, }, }, Storages: map[string]storage.StorageConfiguration{ "local_storage": { Local: &storage.LocalStorageConfiguration{ Path: tmpDir, Encryption: []convergent.ConvergentEncryptionConfig{ { Cipher: aesgcm.CipherName, LocatorSalt: "secret_locator_salt", SecretValue: "secret_value", }, }, }, }, "local_storage_2": { Local: &storage.LocalStorageConfiguration{ Path: tmpDir2, Encryption: []convergent.ConvergentEncryptionConfig{ { Cipher: aesgcm.CipherName, LocatorSalt: "secret_locator_salt_2", SecretValue: "secret_value_2", }, }, }, }, }, }) require.NoError(t, err) require.NotNil(t, cdnUnits) cdnUnits.Start(ctx, sdk.NewGoRoutines(ctx)) units, err := storage.LoadAllUnits(ctx, m, db.DbMap) require.NoError(t, err) require.NotNil(t, units) require.NotEmpty(t, units) apiRef := &sdk.CDNLogAPIRef{ ProjectKey: sdk.RandomString(5), } apiRefHash, err := apiRef.ToHash() require.NoError(t, err) i := &sdk.CDNItem{ APIRef: apiRef, APIRefHash: apiRefHash, Created: time.Now(), Type: sdk.CDNTypeItemStepLog, Status: sdk.CDNStatusItemIncoming, } require.NoError(t, item.Insert(ctx, m, db, i)) defer func() { _ = item.DeleteByID(db, i.ID) }() itemUnit, err := cdnUnits.NewItemUnit(ctx, cdnUnits.LogsBuffer(), i) require.NoError(t, err) err = storage.InsertItemUnit(ctx, m, db, itemUnit) require.NoError(t, err) itemUnit, err = storage.LoadItemUnitByID(ctx, m, db, itemUnit.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) require.NoError(t, cdnUnits.LogsBuffer().Add(*itemUnit, 1, 0, "this is the first log\n")) require.NoError(t, cdnUnits.LogsBuffer().Add(*itemUnit, 2, 0, "this is the second log\n")) reader, err := cdnUnits.LogsBuffer().NewReader(context.TODO(), *itemUnit) require.NoError(t, err) h, err := convergent.NewHash(reader) require.NoError(t, err) i.Hash = h i.Status = sdk.CDNStatusItemCompleted err = item.Update(ctx, m, db, i) require.NoError(t, err) i, err = item.LoadByID(ctx, m, db, i.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) localUnit, err := storage.LoadUnitByName(ctx, m, db, "local_storage") require.NoError(t, err) localUnit2, err := storage.LoadUnitByName(ctx, m, db, "local_storage_2") require.NoError(t, err) localUnitDriver := cdnUnits.Storage(localUnit.Name) require.NotNil(t, localUnitDriver) localUnitDriver2 := cdnUnits.Storage(localUnit2.Name) require.NotNil(t, localUnitDriver) exists, err := localUnitDriver.ItemExists(context.TODO(), m, db, *i) require.NoError(t, err) require.False(t, exists) require.NoError(t, cdnUnits.FillWithUnknownItems(ctx, cdnUnits.Storages[0], 100)) require.NoError(t, cdnUnits.FillSyncItemChannel(ctx, cdnUnits.Storages[0], 100)) time.Sleep(1 * time.Second) require.NoError(t, cdnUnits.FillWithUnknownItems(ctx, cdnUnits.Storages[1], 100)) require.NoError(t, cdnUnits.FillSyncItemChannel(ctx, cdnUnits.Storages[1], 100)) time.Sleep(1 * time.Second) <-ctx.Done() // Check that the first unit has been resync exists, err = localUnitDriver.ItemExists(context.TODO(), m, db, *i) require.NoError(t, err) require.True(t, exists) exists, err = localUnitDriver2.ItemExists(context.TODO(), m, db, *i) require.NoError(t, err) require.True(t, exists) itemUnit, err = storage.LoadItemUnitByUnit(ctx, m, db, localUnitDriver.ID(), i.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) reader, err = localUnitDriver.NewReader(context.TODO(), *itemUnit) btes := new(bytes.Buffer) err = localUnitDriver.Read(*itemUnit, reader, btes) require.NoError(t, err) require.NoError(t, reader.Close()) actual := btes.String() require.Equal(t, "this is the first log\nthis is the second log\n", actual, "item %s content should match", i.ID) itemIDs, err := storage.LoadAllItemIDUnknownByUnit(db, localUnitDriver.ID(), 0, 100) require.NoError(t, err) require.Len(t, itemIDs, 0) // Check that the second unit has been resync itemUnit, err = storage.LoadItemUnitByUnit(ctx, m, db, localUnitDriver2.ID(), i.ID, gorpmapper.GetOptions.WithDecryption) require.NoError(t, err) reader, err = localUnitDriver2.NewReader(context.TODO(), *itemUnit) btes = new(bytes.Buffer) err = localUnitDriver2.Read(*itemUnit, reader, btes) require.NoError(t, err) require.NoError(t, reader.Close()) actual = btes.String() require.Equal(t, "this is the first log\nthis is the second log\n", actual, "item %s content should match", i.ID) itemIDs, err = storage.LoadAllItemIDUnknownByUnit(db, localUnitDriver2.ID(), 0, 100) require.NoError(t, err) require.Len(t, itemIDs, 0) } ```
Cormoran ( or ) is a giant associated with St. Michael's Mount in the folklore of Cornwall. Local tradition credits him with creating the island, in some versions with the aid of his wife Cormelian, and using it as a base to raid cattle from the mainland communities. Cormoran appears in the English fairy tale "Jack the Giant Killer" as the first giant slain by the hero, Jack, and in tales of "Tom the Tinkeard" as a giant too old to present a serious threat. Origin One of many giants featured in Cornish folklore, the character derives from local traditions about St. Michael's Mount. The name "Cormoran" is not found in the early traditions; it first appears in the chapbook versions of the "Jack the Giant Killer" story printed in Newcastle-upon-Tyne and Nottingham, and is not of Cornish origin. The name may be related to Corineus, the legendary namesake of Cornwall. Corineus is associated with St. Michael's Mount, and is credited with defeating a giant named Gogmagog in Geoffrey of Monmouth's influential pseudohistory Historia Regum Britanniae, which may be a prototype of the Cormoran tradition. Appearances Local traditions The giant eventually known as Cormoran is attributed with constructing St. Michael's Mount, a tidal island off Cornwall's southern coast. According to the folklore, he carried white granite from the mainland at low tide to build the island. In some versions, the giant's wife, Cormelian, assisted by carrying stones in her apron. According to one version, when Cormoran fell asleep from exhaustion, his more industrious wife fetched greenstone from a nearer source, eschewing the less accessible granite. When she was halfway back, Cormoran awoke to discover Cormelian bringing different stones than he wanted, and kicked her. The stones fell from her apron and formed Chapel Rock. From his post at St. Michael's Mount, Cormoran raided the countryside for cattle. He was distinguished by having six digits on each hand and foot. Folklorist Mary Williams reported being told that the skeleton of a man over seven feet tall had been found during an excavation at the Mount. Cormoran is often associated with the giant of Trencrom in local folklore. The two are said to have thrown boulders back and forth as recreation; this is given as the explanation for the many loose boulders found throughout the area. In one version, the Trencrom giant threw an enormous hammer over for Cormoran, but accidentally hit and killed Cormelian; they buried her at Chapel Rock. Jack the Giant Killer The giant of St. Michael's Mount also appears in the English fairy tale "Jack the Giant Killer", early chapbook versions of which are the first to name him Cormoran. According to Joseph Jacobs' account, Cormoran is 5.5 m (18 ft) tall and measures about 2.75 m (9 ft) around the waist. He lives in a cave on St Michael's Mount, using the times of ebb tide to walk to the mainland. He regularly raids the countryside, "feast[ing] on poor souls…gentleman, lady, or child, or what on his hand he could lay," and "making nothing of carrying half-a-dozen oxen on his back at a time; and as for…sheep and hogs, he would tie them around his waist like a bunch of tallow-dips." In Jacobs's version, the councillors of Penzance convene during the winter to solve the issue of Cormoran's raids on the mainland. After offering the giant's treasure as reward for his disposal, a villein farmer's boy named Jack takes it upon himself to kill Cormoran. Older chapbooks make no reference to the council, and attribute Jack's actions to a love for fantasy, chivalry, and adventure. In both versions, in the late evening Jack swims to the island and digs a 6.75 m (22 ft) trapping pit, although some local legends place the pit to the north in Morvah. After completing the pit the following morning, Jack blows a horn to awaken the giant. Cormoran storms out, threatening to broil Jack whole, but falls into the hidden pit. After being taunted for some time, Cormoran is killed by a blow from a pickaxe or mattock. After filling in the hole, Jack retrieves the giant's treasure. According to the Morvah tradition, a rock is placed over the grave. Today this rock is called Giant's Grave. Local lore holds that the giant's ghost can sometimes be heard beneath it. For his service to Penwith, Jack is officially titled "Jack the Giant-Killer" and awarded a belt on which was written: Here's the right valiant Cornishman, Who slew the giant Cormoran. Tom the Tinkeard The giant of St. Michael's Mount also appears in the drolls about Tom the Tinkeard, a local Cornish variant of "Tom Hickathrift". William Bottrell recorded a tale of the giant's last raid: here, the giant is not killed, but lives to grow old and frail. Becoming hungry, he makes one last incursion to steal a bullock from an enchanter on the mainland. However, the enchanter strikes him immobile as the sea rises around him. He must spend the evening in the cold sea with the bull hanging from around his neck; he subsequently retreats to the Mount hungry and defeated. Later, Tom visits the giant and takes pity on him, and arranges for his aunt Nancy of Gulval to sell him her store of eggs and butter. This both feeds the giant and makes Nancy's family rich. References Arthurian characters British folklore Cornish folklore English folklore English giants Jack the Giant Killer
```go // // Last.Backend LLC CONFIDENTIAL // __________________ // // [2014] - [2019] Last.Backend LLC // All Rights Reserved. // // NOTICE: All information contained herein is, and remains // the property of Last.Backend LLC and its suppliers, // if any. The intellectual and technical concepts contained // herein are proprietary to Last.Backend LLC // and its suppliers and may be covered by Russian Federation and Foreign Patents, // patents in process, and are protected by trade secret or copyright law. // Dissemination of this information or reproduction of this material // is strictly forbidden unless prior written permission is obtained // from Last.Backend LLC. // package job import ( "context" "time" "github.com/lastbackend/lastbackend/pkg/controller/envs" "github.com/lastbackend/lastbackend/pkg/distribution" "github.com/lastbackend/lastbackend/pkg/distribution/types" "github.com/lastbackend/lastbackend/pkg/log" ) const ( logJobPrefix = "state:observer:job" defaultConcurrentTaskLimit = 1 ) // jobObserve manage handlers based on job state func jobObserve(js *JobState, job *types.Job) (err error) { log.V(logLevel).Debugf("%s:> observe start: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) switch job.Status.State { // Check job created state triggers case types.StateCreated: err = handleJobStateCreated(js, job) // Check job provision state triggers case types.StateRunning: err = handleJobStateRunning(js, job) // Check job ready state triggers case types.StatePaused: err = handleJobStatePaused(js, job) // Check job error state triggers case types.StateError: err = handleJobStateError(js, job) // Run job destroy process case types.StateDestroy: err = handleJobStateDestroy(js, job) // Remove job from storage if it is already destroyed case types.StateDestroyed: err = handleJobStateDestroyed(js, job) } if err != nil { log.V(logLevel).Debugf("%s:observe:jobStateCreated:> handle job with state %s err:> %s", logPrefix, job.Status.State, err.Error()) return err } if js.job == nil { return nil } log.V(logLevel).Debugf("%s:> observe finish: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) return nil } // handleJobStateCreated handles job created state func handleJobStateCreated(js *JobState, job *types.Job) error { log.V(logLevel).Debugf("%s:> handleJobStateCreated: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) if js.provider != nil { go js.Provider() } if err := jobTaskProvision(js); err != nil { log.Errorf("%s:> job task provision err: %s", logPrefix, err.Error()) return err } return nil } // handleJobStateRunning handles job provision state func handleJobStateRunning(js *JobState, job *types.Job) error { log.V(logLevel).Debugf("%s:> handleJobStateRunning: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) return nil } // handleJobStatePaused handles job ready state func handleJobStatePaused(js *JobState, job *types.Job) error { log.V(logLevel).Debugf("%s:> handleJobStatePaused: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) return nil } // handleJobStateError handles job error state func handleJobStateError(js *JobState, job *types.Job) error { log.V(logLevel).Debugf("%s:> handleJobStateError: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) return nil } // handleJobStateDestroy handles job destroy state func handleJobStateDestroy(js *JobState, job *types.Job) (err error) { log.V(logLevel).Debugf("%s:> handleJobStateDestroy: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) tm := distribution.NewTaskModel(context.Background(), envs.Get().GetStorage()) if len(js.task.list) == 0 { jm := distribution.NewJobModel(context.Background(), envs.Get().GetStorage()) job.Status.State = types.StateDestroyed job.Meta.Updated = time.Now() if err := jm.Set(job); err != nil { return err } return nil } for _, task := range js.task.list { if task.Status.State == types.StateDestroyed || task.Status.State == types.StateDestroy { continue } if err := tm.Destroy(task); err != nil { return err } } return nil } // handleJobStateDestroyed handles job destroyed state func handleJobStateDestroyed(js *JobState, job *types.Job) (err error) { log.V(logLevel).Debugf("%s:> handleJobStateDestroyed: %s > %s", logJobPrefix, job.SelfLink(), job.Status.State) if len(js.task.list) > 0 { tm := distribution.NewTaskModel(context.Background(), envs.Get().GetStorage()) for _, task := range js.task.list { if task.Status.State != types.StateDestroy { if err = tm.Destroy(task); err != nil { return err } } if task.Status.State == types.StateDestroyed { if err = tm.Remove(task); err != nil { return err } } } job.Status.State = types.StateDestroy job.Meta.Updated = time.Now() return nil } job.Status.State = types.StateDestroyed job.Meta.Updated = time.Now() jm := distribution.NewJobModel(context.Background(), envs.Get().GetStorage()) nm := distribution.NewNamespaceModel(context.Background(), envs.Get().GetStorage()) ns, err := nm.Get(job.Meta.Namespace) if err != nil { log.Errorf("%s:> namespace fetch err: %s", logJobPrefix, err.Error()) } if ns != nil { ns.ReleaseResources(job.Spec.GetResourceRequest()) if err := nm.Update(ns); err != nil { log.Errorf("%s:> namespace update err: %s", logJobPrefix, err.Error()) } } if err = jm.Remove(job); err != nil { log.Errorf("%s:> job remove err: %s", logJobPrefix, err.Error()) return err } js.job = nil return nil } // jobTaskProvision function handles all cases when task needs to be created or updated func jobTaskProvision(js *JobState) error { // run task if no one task are currently running and there is at least one in queue var ( limit = defaultConcurrentTaskLimit jm = distribution.NewJobModel(context.Background(), envs.Get().GetStorage()) ) if len(js.task.queue) == 0 { log.Debugf("%s:jobTaskProvision:> there are no jobs in queue: %d", logJobPrefix, len(js.task.queue)) if js.job.Status.State != types.StateWaiting { js.job.Status.State = types.StateWaiting if err := jm.Set(js.job); err != nil { log.Errorf("%s:jobTaskProvision:> set job to waiting state err: %s", logJobPrefix, err.Error()) return err } } return nil } if js.job.Spec.Concurrency.Limit > 0 { limit = js.job.Spec.Concurrency.Limit } if len(js.task.active) >= limit { log.Debugf("%s:jobTaskProvision:> limit exceeded: %d >= %d", logJobPrefix, len(js.task.active), limit) return nil } // choose the older task task var t *types.Task for _, task := range js.task.queue { if t == nil { t = task continue } if task.Meta.Created.Before(t.Meta.Created) { t = task } } t.Status.State = types.StateProvision tm := distribution.NewTaskModel(context.Background(), envs.Get().GetStorage()) if err := tm.Set(t); err != nil { log.Errorf("%s:jobTaskProvision:> set task to provision state err: %s", logJobPrefix, err.Error()) return err } if js.job.Status.State != types.StateRunning { js.job.Status.State = types.StateRunning if err := jm.Set(js.job); err != nil { log.Errorf("%s:jobTaskProvision:> set job to running state err: %s", logJobPrefix, err.Error()) } } return nil } ```
```forth SUBROUTINE CTRSVF ( UPLO, TRANS, DIAG, N, A, LDA, X, INCX ) * .. Scalar Arguments .. INTEGER INCX, LDA, N CHARACTER*1 DIAG, TRANS, UPLO * .. Array Arguments .. COMPLEX A( LDA, * ), X( * ) * .. * * Purpose * ======= * * CTRSV solves one of the systems of equations * * A*x = b, or A'*x = b, or conjg( A' )*x = b, * * where b and x are n element vectors and A is an n by n unit, or * non-unit, upper or lower triangular matrix. * * No test for singularity or near-singularity is included in this * routine. Such tests must be performed before calling this routine. * * Parameters * ========== * * UPLO - CHARACTER*1. * On entry, UPLO specifies whether the matrix is an upper or * lower triangular matrix as follows: * * UPLO = 'U' or 'u' A is an upper triangular matrix. * * UPLO = 'L' or 'l' A is a lower triangular matrix. * * Unchanged on exit. * * TRANS - CHARACTER*1. * On entry, TRANS specifies the equations to be solved as * follows: * * TRANS = 'N' or 'n' A*x = b. * * TRANS = 'T' or 't' A'*x = b. * * TRANS = 'C' or 'c' conjg( A' )*x = b. * * Unchanged on exit. * * DIAG - CHARACTER*1. * On entry, DIAG specifies whether or not A is unit * triangular as follows: * * DIAG = 'U' or 'u' A is assumed to be unit triangular. * * DIAG = 'N' or 'n' A is not assumed to be unit * triangular. * * Unchanged on exit. * * N - INTEGER. * On entry, N specifies the order of the matrix A. * N must be at least zero. * Unchanged on exit. * * A - COMPLEX array of DIMENSION ( LDA, n ). * Before entry with UPLO = 'U' or 'u', the leading n by n * upper triangular part of the array A must contain the upper * triangular matrix and the strictly lower triangular part of * A is not referenced. * Before entry with UPLO = 'L' or 'l', the leading n by n * lower triangular part of the array A must contain the lower * triangular matrix and the strictly upper triangular part of * A is not referenced. * Note that when DIAG = 'U' or 'u', the diagonal elements of * A are not referenced either, but are assumed to be unity. * Unchanged on exit. * * LDA - INTEGER. * On entry, LDA specifies the first dimension of A as declared * in the calling (sub) program. LDA must be at least * max( 1, n ). * Unchanged on exit. * * X - COMPLEX array of dimension at least * ( 1 + ( n - 1 )*abs( INCX ) ). * Before entry, the incremented array X must contain the n * element right-hand side vector b. On exit, X is overwritten * with the solution vector x. * * INCX - INTEGER. * On entry, INCX specifies the increment for the elements of * X. INCX must not be zero. * Unchanged on exit. * * * Level 2 Blas routine. * * -- Written on 22-October-1986. * Jack Dongarra, Argonne National Lab. * Jeremy Du Croz, Nag Central Office. * Sven Hammarling, Nag Central Office. * Richard Hanson, Sandia National Labs. * * * .. Parameters .. COMPLEX ZERO PARAMETER ( ZERO = ( 0.0E+0, 0.0E+0 ) ) * .. Local Scalars .. COMPLEX TEMP INTEGER I, INFO, IX, J, JX, KX LOGICAL NOCONJ, NOUNIT * .. External Functions .. LOGICAL LSAME EXTERNAL LSAME * .. External Subroutines .. EXTERNAL XERBLA * .. Intrinsic Functions .. INTRINSIC CONJG, MAX * .. * .. Executable Statements .. * * Test the input parameters. * INFO = 0 IF ( .NOT.LSAME( UPLO , 'U' ).AND. $ .NOT.LSAME( UPLO , 'L' ) )THEN INFO = 1 ELSE IF( .NOT.LSAME( TRANS, 'N' ).AND. $ .NOT.LSAME( TRANS, 'T' ).AND. $ .NOT.LSAME( TRANS, 'R' ).AND. $ .NOT.LSAME( TRANS, 'C' ) )THEN INFO = 2 ELSE IF( .NOT.LSAME( DIAG , 'U' ).AND. $ .NOT.LSAME( DIAG , 'N' ) )THEN INFO = 3 ELSE IF( N.LT.0 )THEN INFO = 4 ELSE IF( LDA.LT.MAX( 1, N ) )THEN INFO = 6 ELSE IF( INCX.EQ.0 )THEN INFO = 8 END IF IF( INFO.NE.0 )THEN CALL XERBLA( 'CTRSV ', INFO ) RETURN END IF * * Quick return if possible. * IF( N.EQ.0 ) $ RETURN * NOCONJ = LSAME( TRANS, 'N' ) .OR. LSAME( TRANS, 'T' ) NOUNIT = LSAME( DIAG , 'N' ) * * Set up the start point in X if the increment is not unity. This * will be ( N - 1 )*INCX too small for descending loops. * IF( INCX.LE.0 )THEN KX = 1 - ( N - 1 )*INCX ELSE IF( INCX.NE.1 )THEN KX = 1 END IF * * Start the operations. In this version the elements of A are * accessed sequentially with one pass through A. * IF( LSAME( TRANS, 'N' ) .OR. LSAME( TRANS, 'R' ))THEN * * Form x := inv( A )*x. * IF( LSAME( UPLO, 'U' ) )THEN IF( INCX.EQ.1 )THEN DO 20, J = N, 1, -1 IF( X( J ).NE.ZERO )THEN IF (NOCONJ) THEN IF( NOUNIT ) $ X( J ) = X( J )/A( J, J ) TEMP = X( J ) DO 10, I = J - 1, 1, -1 X( I ) = X( I ) - TEMP*A( I, J ) 10 CONTINUE ELSE IF( NOUNIT ) $ X( J ) = X( J )/CONJG(A( J, J )) TEMP = X( J ) DO 15, I = J - 1, 1, -1 X( I ) = X( I ) - TEMP*CONJG(A( I, J )) 15 CONTINUE ENDIF END IF 20 CONTINUE ELSE JX = KX + ( N - 1 )*INCX DO 40, J = N, 1, -1 IF( X( JX ).NE.ZERO )THEN IF (NOCONJ) THEN IF( NOUNIT ) $ X( JX ) = X( JX )/A( J, J ) ELSE IF( NOUNIT ) $ X( JX ) = X( JX )/CONJG(A( J, J )) ENDIF TEMP = X( JX ) IX = JX DO 30, I = J - 1, 1, -1 IX = IX - INCX IF (NOCONJ) THEN X( IX ) = X( IX ) - TEMP*A( I, J ) ELSE X( IX ) = X( IX ) - TEMP*CONJG(A( I, J )) ENDIF 30 CONTINUE END IF JX = JX - INCX 40 CONTINUE END IF ELSE IF( INCX.EQ.1 )THEN DO 60, J = 1, N IF( X( J ).NE.ZERO )THEN IF (NOCONJ) THEN IF( NOUNIT ) $ X( J ) = X( J )/A( J, J ) TEMP = X( J ) DO 50, I = J + 1, N X( I ) = X( I ) - TEMP*A( I, J ) 50 CONTINUE ELSE IF( NOUNIT ) $ X( J ) = X( J )/CONJG(A( J, J )) TEMP = X( J ) DO 55, I = J + 1, N X( I ) = X( I ) - TEMP*CONJG(A( I, J )) 55 CONTINUE ENDIF END IF 60 CONTINUE ELSE JX = KX DO 80, J = 1, N IF( X( JX ).NE.ZERO )THEN IF (NOCONJ) THEN IF( NOUNIT ) $ X( JX ) = X( JX )/A( J, J ) ELSE IF( NOUNIT ) $ X( JX ) = X( JX )/CONJG(A( J, J )) ENDIF TEMP = X( JX ) IX = JX DO 70, I = J + 1, N IX = IX + INCX IF (NOCONJ) THEN X( IX ) = X( IX ) - TEMP*A( I, J ) ELSE X( IX ) = X( IX ) - TEMP*CONJG(A( I, J )) ENDIF 70 CONTINUE END IF JX = JX + INCX 80 CONTINUE END IF END IF ELSE * * Form x := inv( A' )*x or x := inv( conjg( A' ) )*x. * IF( LSAME( UPLO, 'U' ) )THEN IF( INCX.EQ.1 )THEN DO 110, J = 1, N TEMP = X( J ) IF( NOCONJ )THEN DO 90, I = 1, J - 1 TEMP = TEMP - A( I, J )*X( I ) 90 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/A( J, J ) ELSE DO 100, I = 1, J - 1 TEMP = TEMP - CONJG( A( I, J ) )*X( I ) 100 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/CONJG( A( J, J ) ) END IF X( J ) = TEMP 110 CONTINUE ELSE JX = KX DO 140, J = 1, N IX = KX TEMP = X( JX ) IF( NOCONJ )THEN DO 120, I = 1, J - 1 TEMP = TEMP - A( I, J )*X( IX ) IX = IX + INCX 120 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/A( J, J ) ELSE DO 130, I = 1, J - 1 TEMP = TEMP - CONJG( A( I, J ) )*X( IX ) IX = IX + INCX 130 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/CONJG( A( J, J ) ) END IF X( JX ) = TEMP JX = JX + INCX 140 CONTINUE END IF ELSE IF( INCX.EQ.1 )THEN DO 170, J = N, 1, -1 TEMP = X( J ) IF( NOCONJ )THEN DO 150, I = N, J + 1, -1 TEMP = TEMP - A( I, J )*X( I ) 150 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/A( J, J ) ELSE DO 160, I = N, J + 1, -1 TEMP = TEMP - CONJG( A( I, J ) )*X( I ) 160 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/CONJG( A( J, J ) ) END IF X( J ) = TEMP 170 CONTINUE ELSE KX = KX + ( N - 1 )*INCX JX = KX DO 200, J = N, 1, -1 IX = KX TEMP = X( JX ) IF( NOCONJ )THEN DO 180, I = N, J + 1, -1 TEMP = TEMP - A( I, J )*X( IX ) IX = IX - INCX 180 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/A( J, J ) ELSE DO 190, I = N, J + 1, -1 TEMP = TEMP - CONJG( A( I, J ) )*X( IX ) IX = IX - INCX 190 CONTINUE IF( NOUNIT ) $ TEMP = TEMP/CONJG( A( J, J ) ) END IF X( JX ) = TEMP JX = JX - INCX 200 CONTINUE END IF END IF END IF * RETURN * * End of CTRSV . * END ```
Timothy James O'Shea (born 12 November 1966 in Pimlico) is a former professional footballer who played as a defender. He is the assistant manager of Cray Wanderers. He represented the Republic of Ireland at the 1985 FIFA World Youth Championship. His clubs included Tottenham Hotspur, Leyton Orient and Gillingham, where he made over 100 Football League appearances. Career While playing for Instant-Dict in the Hong Kong league, he played three matches for the Hong Kong League team in the Dynasty Cup. As the Hong Kong team consisted of top players in the local league, including foreigners such as O'Shea, it was not an official match of the Hong Kong FA. On 21 February 2008, Grays Athletic appointed O'Shea as a senior coach to assist Micky Woodward and Gary Phillips with fitness and tactics. On 15 September 2008, he was appointed as manager after chairman Micky Woodward stepped down, but held the post only until the arrival of Wayne Burnett as manager two weeks later. He moved from Grays to take the position at Croydon Athletic. Under O'Shea, the Rams were promoted to the Isthmian League Premier Division. O'Shea resigned from Croydon on 4 September 2010, after the team's owner Mazhar Majeed was alleged to have been involved in spot fixing in Pakistan cricket matches, resulting in HM Revenue and Customs officials investigating the club. On 25 October 2010, O'Shea was appointed first-team manager of Lewes. He left at the end of the 2010–11 season after Lewes were relegated. When Neil Smith was appointed as manager of Cray Wanderers in March 2022, he confirmed that O'Shea would be his assistant. References 1966 births Living people People from Pimlico Republic of Ireland men's association footballers English men's footballers Hong Kong men's footballers Footballers from the City of Westminster Men's association football defenders Hong Kong men's international footballers Republic of Ireland men's under-21 international footballers English Football League players Hong Kong First Division League players Brentford F.C. players Welling United F.C. players Farnborough F.C. players Gillingham F.C. players Tottenham Hotspur F.C. players Newport County A.F.C. players Leyton Orient F.C. players Double Flower FA players Eastern Sports Club footballers English football managers National League (English football) managers Grays Athletic F.C. managers Lewes F.C. managers English expatriate men's footballers English expatriate sportspeople in Hong Kong Expatriate men's footballers in Hong Kong
```java /* * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ package org.webrtc; import java.nio.ByteBuffer; /** Class with static JNI helper functions that are used in many places. */ public class JniCommon { /** Functions to increment/decrement an rtc::RefCountInterface pointer. */ public static native void nativeAddRef(long refCountedPointer); public static native void nativeReleaseRef(long refCountedPointer); public static native ByteBuffer nativeAllocateByteBuffer(int size); public static native void nativeFreeByteBuffer(ByteBuffer buffer); } ```
Battle of Skalitz was a minor engagement in the Königgratz/Sadowa campaign of the Austro-Prussian War of 1866 in Bohemia on 28 June. The Battle of Náchod the previous day (27 June 1866) set the scene for Steinmetz to advance on Skalitz (Česká Skalice) where he defeated Archduke Leopold. Events Having been beaten the previous day by Steinmetz at Náchod, the Austrians had regrouped at the Aupa heights near Skalice, a town with only one bridge over the Úpa river. There Ramming's VI Corps was relieved by Archduke Leopold's VIII Corps. Benedek, having reached the field and scouted the terrain, decided by 11:00 am to abandon any thought of counterattacking the Prussians with the combined VI, VIII and IV Corps, resumed his march towards Jičín, and ordered the VIII Corps to abandon Skalice if by 2:00 pm no serious battle had started. After transmitting these orders Benedek departed towards his main army. Merely 15 minutes after Benedek left, the battle erupted. While the Austrians prevaricated, Steinmetz decided at 8:30 am to send eight infantry battalions and three batteries of the 9th Division to test the VIII Corps' left flank, while his 10th Division would engage and pin the Austrian center. By 11:00 the 9th Division was nearing the Fragnern brigade and the Prussians infiltrated the tactically vital Dubno Forest. At 12:30 Fragnern on his own initiative decided to use his brigade to dislodge the Prussians in the woods and he left his strong position atop the hill to attack them in the woods. General Fragnern's charge was met by concentrated Prussian infantry fire from the Dreyse needle gun and he was killed and 3,000 men of his brigade were killed or wounded. Fragnern's brigade was shattered and abandoned the field in panic. The next brigade in the Austrian line, Kreyssern's, was then sucked into the ill conceived Austrian counter push. Feeling obliged to shore up Fragnern's faltering brigade, General Kreyssern sent five battalions to support the fleeing regiments from Fragnern's command. Kreyssern's battalions were met by a Prussian grenadier regiment from 9th Division and a brigade from 10th Division near the railway embankment. Kreyssern was killed during the fire fight and his brigade collapsed, enabling the Prussians to reach Skalice's railway station. 10th Division then attacked VIII Corps' center and right while 9th Division turned the Austrian left flank. At 2:15 pm, recognizing the danger of being cut off from his lone bridge, Archduke Leopold ordered VIII Corps to retreat, which turned into a headlong flight. By 3:00 pm the Prussians had taken Skalice. Results Having been led by an incompetent princely commander who, according to Wawro, did not give a single order during the battle, and subordinates launching attacks without orders, the Austrian VIII Corps was badly mauled. In all it lost about 6,000 men, amongst which were 3,000 prisoners. As a cause of the battle, Benedek prevaricated and halted Northern Army's advance on Jičín, which enabled the Prussian armies to link up and envelop his army, and ultimately lead to his defeat at Königgrätz. References Battles of the Austro-Prussian War Battles in Bohemia Conflicts in 1866 1866 in the Austrian Empire 19th century in Bohemia June 1866 events History of the Hradec Králové Region
Melaku is an Ethiopian name. Notable people with the name include: Given name Melaku Belay, leader of the Ethiopian music group Fendika Melaku Worede (born 1936), Ethiopian agronomist Surname LoLa Monroe (born Fershgenet Melaku in 1986), American rapper, model and actress of Ethiopian descent Tsega Melaku (born 1968), Israeli author, journalist, and community activist Ethiopian given names
The 1916 Case Scientists football team represented the Case Institute of Technology during the 1916 college football season. The team compiled a 5–5 record and outscored their opponents 158 to 145. Schedule References Case Case Western Reserve Spartans football seasons Case football
The Iberomaurusian is a backed bladelet lithic industry found near the coasts of Morocco, Algeria, and Tunisia. It is also known from a single major site in Libya, the Haua Fteah, where the industry is locally known as the Eastern Oranian. The Iberomaurusian seems to have appeared around the time of the Last Glacial Maximum (LGM), somewhere between c. 25,000 and 23,000 cal BP. It would have lasted until the early Holocene c. 11,000 cal BP. The name of the Iberomaurusian means "of Iberia and Mauretania", the latter being a Latin name for Northwest Africa. Pallary (1909) coined this term to describe assemblages from the site of La Mouillah in the belief that the industry extended over the strait of Gibraltar into the Iberian peninsula. This theory is now generally discounted (Garrod 1938), but the name has stuck. In Algeria, Tunisia, and Libya, but not in Morocco, the industry is succeeded by the Capsian industry, whose origins are unclear. The Capsian is believed either to have spread into North Africa from the Near East, or to have evolved from the Iberomaurusian. In Morocco and Western Algeria, the Iberomaurusian is succeeded by the Cardial culture after a long hiatus. Definition Alternative names Because the name of the Iberomaurusian implies Afro-European cultural contact now generally discounted, researchers have proposed other names: Mouillian or Mouillan, based on the site of La Mouillah (Goetz 1945-6). The Oranian, based on the Algerian region of Oran (Breuil 1930, Gobert et al. 1932, McBurney 1967, Barker et al. 2012). The Late Upper Palaeolithic (of Northwest African facies, Barton et al. 2005). Timeline of sites What follows is a timeline of all published radiocarbon dates from reliably Iberomaurusian contexts, excluding a number of dates produced in the 1960s and 1970s considered "highly doubtful" (Barton et al. 2013). All dates, calibrated and Before Present, are according to Hogue and Barton (2016). The Tamar Hat date beyond 25,000 cal BP is tentative. Genetics In 2013, Iberomaurusian skeletons from the prehistoric sites of Taforalt and Afalou were analyzed for ancient DNA. All of the specimens belonged to maternal clades associated with either North Africa or the northern and southern Mediterranean littoral, indicating gene flow between these areas since the Epipaleolithic. The ancient Taforalt individuals carried the mtDNA Haplogroup N subclades like U6 and M which points to population continuity in the region dating from the Iberomaurusian period. Loosdrecht et al. (2018) analysed genome-wide data from seven ancient individuals from the Iberomaurusian Grotte des Pigeons site near Taforalt in north-eastern Morocco. The fossils were directly dated to between 15,100 and 13,900 calibrated years before present. The scientists found that all males belonged to haplogroup E1b1b, common among Afroasiatic males. The male specimens with sufficient nuclear DNA preservation belonged to the paternal haplogroup E1b1b1a1 (M78), with one skeleton bearing the E1b1b1a1b1 parent lineage to E-V13, one male specimen belonged to E1b1b (M215*). These Y-DNA clades 24,000 years BP had a common ancestor with the Berbers and the E1b1b1b (M123) subhaplogroup that has been observed in skeletal remains belonging to the Epipaleolithic Natufian and Pre-Pottery Neolithic cultures of the Levant. Maternally, the Taforalt remains bore the U6a and M1b mtDNA haplogroups, which are common among modern Afroasiatic-speaking populations in Africa. A two-way admixture scenario using Natufian and modern sub-Saharan samples (including West Africans and the Tanzanian Hadza) as reference populations inferred that the seven Taforalt individuals are best modeled genetically as of 63.5% West-Eurasian-related and 36.5% sub-Saharan ancestry (with the latter having both West African-like and Hadza-like affinities), with no apparent gene flow from the Epigravettian culture of Paleolithic southern Europe. The Sub-Saharan African DNA in Taforalt individuals has the closest affinity, most of all, to that of modern West Africans (e.g., Yoruba, or Mende). In addition to having similarity with the remnant of a more basal Sub-Saharan African lineage (e.g., a basal West African lineage shared between Yoruba and Mende peoples), the Sub-Saharan African DNA in the Taforalt individuals of the Iberomaurusian culture may be best represented by modern West Africans (e.g., Yoruba). Iosif Lazaridis et al. (2018), as summarized by Rosa Fregel (2021), contested the conclusion of Loosdrecht (2018) and argued instead that the Iberomaurusian population of Upper Paleolithic North Africa, represented by the Taforalt sample, "can be better modeled as a mixture of a Dzudzuana [West-Eurasian] component and a sub-Saharan African component." Furthermore, Iosif Lazaridis et al. (2018) "also argue that..the Taforalt people..contributed to the genetic composition of Natufians and not the other way around." Fregel (2021) summarized: "More evidence will be needed to determine the specific origin of the North African Upper Paleolithic populations." Martiniano et al. (2022) later reassigned all the Taforalt samples to haplogroup E-M78 and none to E-L618, the predecessor to EV13. See also Afroasiatic Urheimat Aterian Mushabian Taforalt Ifri N'Ammar Mechta-Afalou Haua Fteah Notes References Upper Paleolithic cultures of Africa Industries (archaeology) Archaeology of Algeria Archaeology of Libya Archaeological cultures in Morocco Archaeology of Tunisia Paleolithic cultures of Africa
"Show Me" is the seventh single from John Legend's album, Once Again. The song is produced by Raphael Saadiq and Craig Street and was released as a single in December 2007. The song is noted for its vulnerability, and John has cited it as one of his favorites. Along with the release came a music video tailored to fit the theme of the Anti-Poverty campaign which John started shortly afterwards. Song Style Noted as being a particularly unusual track on Once Again, Show Me opens up with a guitar riff reminiscent of Jimi Hendrix and crooning, hushed, and haunting vocals similar to the tone of Jeff Buckley. Its beat is smooth and its lyrics are hopeful in prayer from a skeptical believer who wishes to find solace in a world with problems that are very real. It has also been compared to the music of Marvin Gaye and Stevie Wonder. Music video Directed by Lee Hirsch, the video portrays the day of a poor African child who faces difficult living condition and witnesses the relative ease of the life for a child in a higher developed country, with implications of lack of proper health care, education, public transportation, and proper agriculture. John follows him as a voyeuristic specter which the boy seems to recognize momentarily, which implies that it is in fact the spirit and willingness of those who wish to help aid as some sort of real world overlooking guardian angels. In an effort to escape the life he feels bound to, he mounts the wheel well of an airplane immediately before it ascends for flight. The song is dedicated to Yaguine Koita and Fode Tounkara, young stowaways who died flying from Guinea to Belgium in July 1999, as well as the millions who live in poverty. It was shot in Zanzibar and Tanzania in October 2007. Campaign John began the Show Me Campaign to fight poverty in under developed countries. He promoted awareness by touring and visiting many universities and colleges in the United States by gathering the students and educating them of the issues he wished to involve them in. He has contributed by funding a project called Millennium Villages in Tanzania. Tracks "Show Me" References Sources External links Show Me Campaign Official Site 2008 singles John Legend songs Songs written by John Legend 2006 songs Songs written by Raphael Saadiq Songs written by Estelle (musician)
Kenneth V. Desmond, Jr. (born 1963) is an associate justice of the Massachusetts Appeals Court. Early life and education Born in Boston, Massachusetts in 1963, Desmond received his Bachelor of Arts from Tufts University in 1985. Upon graduation, he enrolled in a two-year management training program for now-defunct telecommunications company NYNEX. He then continued his education and received his Juris Doctor from Boston College Law School in 1990. Following graduation, he served as an Assistant District Attorney of Suffolk County. Judicial service After his service as an Assistant District Attorney, he became Deputy Chief Legal Counsel to the Middlesex County Sheriff's Department in 1997. During his tenure, he was appointed to the Boston Municipal Court by Governor Mitt Romney in 2005 and later became Presiding Justice of Dorchester Drug Court. After seven years of service within the Boston Municipal Court, Desmond was appointed as an associate justice of the Massachusetts Superior Court. While serving as an associate justice of the Massachusetts Superior Court, Desmond was further appointed to the Massachusetts Appeals Court by Governor Charles Baker in 2016 succeeding Justice Gary Stephen Katzmann. Desmond has worked to advance racial equity within the Massachusetts Judicial System, including having previously served on the Board of the Massachusetts Black Lawyers Association and as Vice President of the Massachusetts Black Judges Conference. Publications Kenneth V. Desmond Jr. has published an article, 'The Road to Race and Implicit Bias Eradication', where he has written about the need to recognize that implicit bias plays a substantial role in the judicial system and the steps needed to be taken in order to achieve racially equitable treatment in Massachusetts. References External links Official Biography on Mass.gov website Living people Judges of the Boston Municipal Court Lawyers from Boston Tufts University alumni Boston College Law School alumni 21st-century American judges 1963 births Massachusetts Superior Court justices Judges of the Massachusetts Appeals Court
```go /* Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output coherently as tests complete. You shouldn't need to use this in your code. To run tests in parallel: ginkgo -nodes=N where N is the number of nodes you desire. */ package remote import ( "time" "github.com/onsi/ginkgo/config" "github.com/onsi/ginkgo/reporters/stenographer" "github.com/onsi/ginkgo/types" ) type configAndSuite struct { config config.GinkgoConfigType summary *types.SuiteSummary } type Aggregator struct { nodeCount int config config.DefaultReporterConfigType stenographer stenographer.Stenographer result chan bool suiteBeginnings chan configAndSuite aggregatedSuiteBeginnings []configAndSuite beforeSuites chan *types.SetupSummary aggregatedBeforeSuites []*types.SetupSummary afterSuites chan *types.SetupSummary aggregatedAfterSuites []*types.SetupSummary specCompletions chan *types.SpecSummary completedSpecs []*types.SpecSummary suiteEndings chan *types.SuiteSummary aggregatedSuiteEndings []*types.SuiteSummary specs []*types.SpecSummary startTime time.Time } func NewAggregator(nodeCount int, result chan bool, config config.DefaultReporterConfigType, stenographer stenographer.Stenographer) *Aggregator { aggregator := &Aggregator{ nodeCount: nodeCount, result: result, config: config, stenographer: stenographer, suiteBeginnings: make(chan configAndSuite), beforeSuites: make(chan *types.SetupSummary), afterSuites: make(chan *types.SetupSummary), specCompletions: make(chan *types.SpecSummary), suiteEndings: make(chan *types.SuiteSummary), } go aggregator.mux() return aggregator } func (aggregator *Aggregator) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary) { aggregator.suiteBeginnings <- configAndSuite{config, summary} } func (aggregator *Aggregator) BeforeSuiteDidRun(setupSummary *types.SetupSummary) { aggregator.beforeSuites <- setupSummary } func (aggregator *Aggregator) AfterSuiteDidRun(setupSummary *types.SetupSummary) { aggregator.afterSuites <- setupSummary } func (aggregator *Aggregator) SpecWillRun(specSummary *types.SpecSummary) { //noop } func (aggregator *Aggregator) SpecDidComplete(specSummary *types.SpecSummary) { aggregator.specCompletions <- specSummary } func (aggregator *Aggregator) SpecSuiteDidEnd(summary *types.SuiteSummary) { aggregator.suiteEndings <- summary } func (aggregator *Aggregator) mux() { loop: for { select { case configAndSuite := <-aggregator.suiteBeginnings: aggregator.registerSuiteBeginning(configAndSuite) case setupSummary := <-aggregator.beforeSuites: aggregator.registerBeforeSuite(setupSummary) case setupSummary := <-aggregator.afterSuites: aggregator.registerAfterSuite(setupSummary) case specSummary := <-aggregator.specCompletions: aggregator.registerSpecCompletion(specSummary) case suite := <-aggregator.suiteEndings: finished, passed := aggregator.registerSuiteEnding(suite) if finished { aggregator.result <- passed break loop } } } } func (aggregator *Aggregator) registerSuiteBeginning(configAndSuite configAndSuite) { aggregator.aggregatedSuiteBeginnings = append(aggregator.aggregatedSuiteBeginnings, configAndSuite) if len(aggregator.aggregatedSuiteBeginnings) == 1 { aggregator.startTime = time.Now() } if len(aggregator.aggregatedSuiteBeginnings) != aggregator.nodeCount { return } aggregator.stenographer.AnnounceSuite(configAndSuite.summary.SuiteDescription, configAndSuite.config.RandomSeed, configAndSuite.config.RandomizeAllSpecs, aggregator.config.Succinct) totalNumberOfSpecs := 0 if len(aggregator.aggregatedSuiteBeginnings) > 0 { totalNumberOfSpecs = configAndSuite.summary.NumberOfSpecsBeforeParallelization } aggregator.stenographer.AnnounceTotalNumberOfSpecs(totalNumberOfSpecs, aggregator.config.Succinct) aggregator.stenographer.AnnounceAggregatedParallelRun(aggregator.nodeCount, aggregator.config.Succinct) aggregator.flushCompletedSpecs() } func (aggregator *Aggregator) registerBeforeSuite(setupSummary *types.SetupSummary) { aggregator.aggregatedBeforeSuites = append(aggregator.aggregatedBeforeSuites, setupSummary) aggregator.flushCompletedSpecs() } func (aggregator *Aggregator) registerAfterSuite(setupSummary *types.SetupSummary) { aggregator.aggregatedAfterSuites = append(aggregator.aggregatedAfterSuites, setupSummary) aggregator.flushCompletedSpecs() } func (aggregator *Aggregator) registerSpecCompletion(specSummary *types.SpecSummary) { aggregator.completedSpecs = append(aggregator.completedSpecs, specSummary) aggregator.specs = append(aggregator.specs, specSummary) aggregator.flushCompletedSpecs() } func (aggregator *Aggregator) flushCompletedSpecs() { if len(aggregator.aggregatedSuiteBeginnings) != aggregator.nodeCount { return } for _, setupSummary := range aggregator.aggregatedBeforeSuites { aggregator.announceBeforeSuite(setupSummary) } for _, specSummary := range aggregator.completedSpecs { aggregator.announceSpec(specSummary) } for _, setupSummary := range aggregator.aggregatedAfterSuites { aggregator.announceAfterSuite(setupSummary) } aggregator.aggregatedBeforeSuites = []*types.SetupSummary{} aggregator.completedSpecs = []*types.SpecSummary{} aggregator.aggregatedAfterSuites = []*types.SetupSummary{} } func (aggregator *Aggregator) announceBeforeSuite(setupSummary *types.SetupSummary) { aggregator.stenographer.AnnounceCapturedOutput(setupSummary.CapturedOutput) if setupSummary.State != types.SpecStatePassed { aggregator.stenographer.AnnounceBeforeSuiteFailure(setupSummary, aggregator.config.Succinct, aggregator.config.FullTrace) } } func (aggregator *Aggregator) announceAfterSuite(setupSummary *types.SetupSummary) { aggregator.stenographer.AnnounceCapturedOutput(setupSummary.CapturedOutput) if setupSummary.State != types.SpecStatePassed { aggregator.stenographer.AnnounceAfterSuiteFailure(setupSummary, aggregator.config.Succinct, aggregator.config.FullTrace) } } func (aggregator *Aggregator) announceSpec(specSummary *types.SpecSummary) { if aggregator.config.Verbose && specSummary.State != types.SpecStatePending && specSummary.State != types.SpecStateSkipped { aggregator.stenographer.AnnounceSpecWillRun(specSummary) } aggregator.stenographer.AnnounceCapturedOutput(specSummary.CapturedOutput) switch specSummary.State { case types.SpecStatePassed: if specSummary.IsMeasurement { aggregator.stenographer.AnnounceSuccesfulMeasurement(specSummary, aggregator.config.Succinct) } else if specSummary.RunTime.Seconds() >= aggregator.config.SlowSpecThreshold { aggregator.stenographer.AnnounceSuccesfulSlowSpec(specSummary, aggregator.config.Succinct) } else { aggregator.stenographer.AnnounceSuccesfulSpec(specSummary) } case types.SpecStatePending: aggregator.stenographer.AnnouncePendingSpec(specSummary, aggregator.config.NoisyPendings && !aggregator.config.Succinct) case types.SpecStateSkipped: aggregator.stenographer.AnnounceSkippedSpec(specSummary, aggregator.config.Succinct || !aggregator.config.NoisySkippings, aggregator.config.FullTrace) case types.SpecStateTimedOut: aggregator.stenographer.AnnounceSpecTimedOut(specSummary, aggregator.config.Succinct, aggregator.config.FullTrace) case types.SpecStatePanicked: aggregator.stenographer.AnnounceSpecPanicked(specSummary, aggregator.config.Succinct, aggregator.config.FullTrace) case types.SpecStateFailed: aggregator.stenographer.AnnounceSpecFailed(specSummary, aggregator.config.Succinct, aggregator.config.FullTrace) } } func (aggregator *Aggregator) registerSuiteEnding(suite *types.SuiteSummary) (finished bool, passed bool) { aggregator.aggregatedSuiteEndings = append(aggregator.aggregatedSuiteEndings, suite) if len(aggregator.aggregatedSuiteEndings) < aggregator.nodeCount { return false, false } aggregatedSuiteSummary := &types.SuiteSummary{} aggregatedSuiteSummary.SuiteSucceeded = true for _, suiteSummary := range aggregator.aggregatedSuiteEndings { if !suiteSummary.SuiteSucceeded { aggregatedSuiteSummary.SuiteSucceeded = false } aggregatedSuiteSummary.NumberOfSpecsThatWillBeRun += suiteSummary.NumberOfSpecsThatWillBeRun aggregatedSuiteSummary.NumberOfTotalSpecs += suiteSummary.NumberOfTotalSpecs aggregatedSuiteSummary.NumberOfPassedSpecs += suiteSummary.NumberOfPassedSpecs aggregatedSuiteSummary.NumberOfFailedSpecs += suiteSummary.NumberOfFailedSpecs aggregatedSuiteSummary.NumberOfPendingSpecs += suiteSummary.NumberOfPendingSpecs aggregatedSuiteSummary.NumberOfSkippedSpecs += suiteSummary.NumberOfSkippedSpecs aggregatedSuiteSummary.NumberOfFlakedSpecs += suiteSummary.NumberOfFlakedSpecs } aggregatedSuiteSummary.RunTime = time.Since(aggregator.startTime) aggregator.stenographer.SummarizeFailures(aggregator.specs) aggregator.stenographer.AnnounceSpecRunCompletion(aggregatedSuiteSummary, aggregator.config.Succinct) return true, aggregatedSuiteSummary.SuiteSucceeded } ```
Ariel Belloso (born 14 September 1967) is an Argentine, UK-based DJ and record producer. He began his career playing new wave and disco music at clubs in the city of Rosario during the early 1980s, later in Buenos Aires; and moved to London in 1991, after spending 8 months in Ibiza, where he was influenced by the early house and acid house sounds. While DJing in London and throughout the world during the 1990s, he developed a personal unique style, combining the sounds of hard house and trance, influenced by the rhythms of his Latin music background with main focus on polyrhythm grooves and energy flow. This sound proved to be an integral and vital element for the evolution of London's hard house and trance scene throughout the early 1990s. He was also the first Argentine artist to enter the UK Singles Chart top 40 with his single, "A9". Since 2001–2002, Ariel had moved on musically. He abandoned the hard house and trance of the 1990s for a new, Latin-influenced house and techno sound, which he produced and performed through his 7-year weekly residency at London's cutting edge club, Fabric. History Early years (1983–1991) Ariel was born into a nightclub owning family known as Katanga in the city of Rosario, Argentina. Inspired by his older brother, he followed in his steps and before long had taken up his first residency in ‘Dimension’, Rosario, a 2000 capacity nightclub. More residencies followed, including Mengano, Metro, Lager and Damasco. On New Year's Eve, 1985, Ariel ended his residency at the nightclub Dimension with a set performance of 17 hours. Ariel's early musical influences include early new wave music and the disco sounds of Talking Heads, Blondie, Kat Mandu, The Clash, The B-52's, Flash and the Pan, and Gino Soccio, as well as Latin American rumba. Early 1990s (1991–1996) After completing secondary education top of his school Ariel attended Rosario University of Economics, studying for 2 years before making the decision to leave for Europe. He arrived in Europe in the spring of 1991, more specifically in Ibiza. In a short amount of time he discovered the newly established rave scene, house music and the Balearic Beat and met the Pacha resident DJ Alfredo, also from Rosario. Soon after Ariel played his first European set at club Pacha in Ibiza, this was followed by guest spots in Lola, Es Paradis, including one gig at the recently launched terrace at Space. As his reputation grew so did the bookings and during 1993, after basing himself in London, he began his residency at Kudos and Crews Bar in the heart of Covent Garden. Regular sets at Tribal Gathering, The Limelight, Club UK and Heaven together with an arduous touring schedule saw Ariel become a pioneer of the international DJ circuit. During these years Ariel was photographed by art designer ‘Trademark’ making him a pin-up on the London scene and adding to his public profile. While playing at Browns Club in London's Covent Garden in 1994, Ariel met late musician Prince. It's not the first time Ariel DJed for Prince, but on this occasion Prince was the only person on his dancefloor. Prince had the habit of giving Ariel CDs of his own music to play. The story became so widespread that was featured on an issue of GQ magazine in the UK. Mid 1990s and the "Freedom Era" (1996–2001) In 1996 Ariel decided to try something new, a weekly residency in London where he could play all night instead of two-hour regular guest slots. Very soon he was offered a ten-hour-long set in the second room of London's largest venue, Bagley's Studios in Kings Cross (now renamed Canvas) for the weekly Saturday night named "Freedom". Three months later he moved to the main room, where he performed for 8 hours, from 11pm to 7am playing a fusion of hard house, trance and techno rhythmically inspired by his Latin roots. For that period, Freedom was one of the busiest Saturday nightclubs in London. Over the next 5 years (1996–2001) many music magazines and websites started labeling Ariel's 8 hour sets at Bagley's Studios legendary. Enhancing the above notion was also a phenomenon observed in many music related virtual communities and internet forums such as Harderfaster.net and Dancemuzik.com which consisted of a sequence of numerous nostalgic posts discussing the night and praising it as London's Biggest Clubbing Landmark along with reunion messages by fans and lovers of the Freedom club and Ariel's 8 hours sets. This Freedom reunion-comeback desire was ignited a few years after the club ceased in 2002. However, as of May 2007, those attempts were unsuccessful. Keeping in mind London's influence on the musical evolution of the electronic dance music scene, many of the period's crossover tracks exposed on Ariel's dance floor became worldwide hits while being played repeatedly over a long period. Records such as DJ Sandy Vs Housetrap “Overdrive”, Latin Thing “Latin Thing” and Groovezone “Eisbaer” were first heard on Ariel's dance floor. He was at the forefront of the trance and hard house scene of the nineties. In Friday, 21 August 1998, The Evening Standard newspaper in London ran a 2-page article citing Ariel's “Techno set at Bagley’s” as the main responsible cause of Class A drug consumption in the King's Cross area of London. In 1997, BBC's Radio 1 DJ Pete Tong described Ariel as the most underrated DJ in the UK. Ariel toured Australia in 2008, playing venues in Sydney, Melbourne, and Perth. In 1999, Ariel was invited to appear on BBC London for DJ John Peel's 60th birthday celebration; an interview that was broadcast on BBC Knowledge for the UK. John Peel was an early supporter of Ariel's music and played many of his productions on his legendary BBC Radio 1 show. 2000s (2001–2010) Ariel has been a resident DJ at London's Fabric since its opening in 1999; furthermore it was the first place he showcased his new Latin tech house sound, playing many of his own productions and performing with live instrumentation provided by percussionists and various musicians. An example of this sound is featured on his recent compilation for DTPM Recordings "Sydney Vs London" Ariel left Fabric on 8 October 2006 after a 7-year long residency (approximately 400 gigs), the longest in his career. Moreover, Ariel exposed his new style in other London's cutting edge clubs, such as Turnmills. His party "Latinaires" took place once a month, along with the weekly event "The Gallery" for 2 years (2002–2004). In 2004, Ariel launched "Manteca" a weekly Latin music club, at Freedom bar in London's Soho, introducing a wide range of traditional Latin sounds and styles to the London crowds, such as Rumba, Salsa, Cumbia, Plena and Brazilian Music along with live percussionists. In May 2000 A9 was featured as Mixmag’s Big Tune of the Month. In 2005 Ariel began a partnership with young producers Alex Celler and X Green to co-produce further music projects, and in March 2007 he officially launched his digital record label MyDust. Late 2009, Ariel released his album, "Camará". Although he has released a number of mixed compilations, "Camará" was Ariel's debut as an [artist]. Cuba was the inspiration for Camará. From an early age the country has fascinated Ariel, who shares his home city of Rosario, Argentina with the revolutionary, Ernesto "Che" Guevara. The sensual rhythms of the Afro-Cuban Rumba can be heard, and felt, throughout Camará, the foundations of which were laid when Ariel visited Cuba for the first time. Armed with his mini-disc recorder and microphone, Ariel spent weeks hanging out with, and recording, the musicians and street life around the Vedado and Centro neighbourhoods of Havana. These unique recordings provide much of Camará's atmosphere, and live instrumentation from Ariel's fellow Latin expats Oli Savill Da Lata, Guillermo Hill (Negrocan) and Silver City (20:20 Vision) add a further organic dimension, while studio whiz kids Alex Celler and X Green maintain the electronic essence of Ariel's trademark Latin Tech sound. The album received support from a wide range of producers and Djs alike, including David Guetta, Richie Hawtin and Layo & Bushwacka among others. From 2010 onwards DJ Ariel continued to be a feature of many successful London club nights, including residencies at Onyx at Area, and the gay club phenomenon that has become Room Service. Further international appearances in this decade have seen Ariel playing Tel-Aviv, Paris, Amsterdam, and Buenos Aires. 2010s (2010–present) In 2011, Ariel was featured in London Magazine Out Front as he reflects on the highlights of living in London. The kentishtowner website published an article, written by journalist Tom Kihl, that went viral in 2014. Top 5 Lost London Nightclubs of the 90s featured former clubs such as Bagley's, Velvet Rooms, The Cross, Turnmills, and The End. The article reflected how beloved these venues still are by people all over London, The UK, and abroad. Ariel's 10 hour set at Bagleys is also mentioned in the article. The website Guestlist published an article in 2014 that cited Freedom at Bagley's as one of the five clubs you wish you'd experienced in their heyday. Other clubs include The Haçienda in Manchester and Turnmills in London. The website Thump Vice published an article in 2014, written by journalist Adam Bychawski, where he reflected on London's gentrification, and its effects on some of Britain's biggest clubs. Ariel contributed and it's featured in the article. In 2015, the website djhere published an interview with EDM Dj Producer Michael Woods where he cited DJ Ariel's set at Bagley's as the inspiration that first got him into music production, and his subsequent DJ career. In 2016, the Ministry of Sound website published an article titled “Stars of VHS”, evoking DJ Ariel's 8 hour set at Bagley's. In the article you can see live footage of Ariel's set filmed at Bagley's by MTV Europe. Photos of DJ Ariel touring nightclubs in the North of England in the early 90s have been included in the book: “Out and About with Linden”, published by Pariah Press in 2022. The My London News website published an article in 2022, "Remembering Bagleys", about the history and musical legacy of Bagley's nightclub. Dj Ariel is featured in the article. Video footage of DJ Ariel's performance at Bunker nightclub in Buenos Aires, Argentina on 9 October 1994 has been included in the documentary "Comandante Fort" released on Star+ / Disney in February 2023. Music Influences Ariel's distinctive electronic sound, during both the ‘90s and ‘00s, is formed by his knowledge and understanding of World and African rhythms cultivated into his sets. His percussive, Latin based groove is heavily influenced by the dynamics of Rumba Music and the traditional Cuban roots. Moreover Ariel’s 1990s influences include the Balearic Beat, the early 1990s Hard House sound of labels such as Strictly Rhythm, Touché Records, UMM Records and later on Dutch labels Aspro Records and Work Records. His post-millennium sound is directly influenced by labels such as Mosaic, Camouflage, Mango Boy and Ibadan. Throughout his career Ariel was inspired by artists such as George Morel, Todd Terry, DJ HMC, S ‘N’ S, Marmion, Patrick Prins, Silvio Ecomo, Samuel L Sessions and Bear Who. The Ariel sound Well known for closing the gay/straight clubbing divide, Ariel doesn’t just play records; he creates a unique atmosphere with them, bringing together different styles of music by accentuating the African and Latin polyrhythm’s that are the trademark of his sound. From the beginning Ariel always forged his own path as a DJ. He did not follow any mainstream music current and stayed intact with passing trends. Furthermore, he managed to create his own personal sound by choosing the records he played according to his taste, not with regards to the artist’s or label's popularity and success status. However, Ariel’s sound has progressed through the last 3 decades beginning as disco and new wave music throughout the '80s, hard house and trance in the '90s and Latin tech house in the '00s. Ariel DJ sets and track selection are always performed live, guide solely by instinct and consist of various mood changes and techniques aimed to create energy flow and atmosphere on the dance floor. Music productions Ariel's debut single, "Deep", released in 1997, was a hardhouse/trance record, released on Wonderboy Records and entered the number 1 spot on the UK Official Dance Chart straight after its release. Following the success of "Deep", Ariel had multiple commissions for remixes. Some of these remixes include some trance classics as Marmion's "Schöneberg", Vincent De Moor's "Flowtation", Dj Sandy Vs Housetrap's "Overdrive", Storm's "Time to Burn", Lil Louis Vs Josh Wink's "French Kiss" and Darude's "Sandstorm", which became the biggest-selling 12-inch of 2000. Meanwhile, Ariel also released a series of more underground records, including The End EP and "Icebreaker/Time"; gaining support from djs such as Paul van Dyk and John Digweed. In 2000, Ariel released "A9", which went on to become the first UK Top 30 hit by an Argentine artist.(UK Singles Chart #28) Lately, in March 2007 Ariel started releasing a large number of tracks on his digital label ‘MyDust’. Some of those tracks were made during recent years but were never released. Club residences Throughout his career Ariel's has combined his weekly club residencies with international appearances around the world. Residencies Guest spots His music has taken him to more than 40 different countries over the last 15 years, including the whole of Europe and main spots in North America and Asia, playing some of the greatest venues and music festivals around the world. Ariel was also one of the first international DJs to play the Middle East and Asia, visiting other places such as Israel, Turkey, Australia and Ho Chi Minh City in Vietnam. Ariel headlined the first ever Gay Pride in Africa in 1997 in Johannesburg and was also invited to perform at the Summer Stage in New York City's Central Park the same year. Ariel's 2005/6 Latin American tour saw him play in front of thousands on Rio de Janeiro, Ipanema beach, Buenos Aires and Punta del Este in Uruguay. Lastly, Ariel is regularly asked to perform at the private parties of Madonna, Prince, and Bon Jovi among others celebrities. Honors/Achievements He was the first Argentine artist to enter the UK Top 30 Singles Chart with his record “A9”. In November 1999, Muzik magazine listed Ariel in their Top 50 best DJs in the world. He was the first international DJ to be broadcast on Cuban radio, following his 2002 'Dia de la Revolucion' street party in Havana. In 2004 and 2005 Ariel was honoured by playing two exclusive sets at the Argentine Embassy in London's Belgravia. During his career, Ariel performed repeatedly for charity events such as HIV Research and London's Big Issue. Personal life An advocate of Orthopathy and raw foodism, Ariel has taken time off from music since 2008 to study natural health, and has written and published a succession of books on the topics of natural health and nutrition. Selected discography Some selected discography: Albums 1999: The Sound of Freedom (Automatic Records) 2000: Freedom – 4 Ultimate Years of Clubbing (Wax Records) 2003: Nu Latin Live (Red and Blue) 2005: DTPM - Sydney vs London (DTPM Recordings) 2006: Mandarin (MyDust) 2009: Camará (MyDust) Singles/EPs 1996: "Deep" (Pilot Recordings) 1997: "Deep (I'm Falling Deeper)" (A&M) - UK #47 1997: The End EP (Pilot) 1997: "Get On Down" (White Label) 1999: "PsychoKiller" (White Label) 1999: "Icebreaker/Time" (Pneumatiq) 2000: "A9" (Automatic Records) - UK #28 2000: "A9" (London) 2000: Ariel Presents: Tools Volume One (A7 Records) 2000: Sampler One - Out Here (A7) 2003: "Central" (Phoenix G) 2005: "Hambre" (Demo) 2007: "Se Miro" (MyDust) 2008: "Vandula" (MyDust) 2008: "Santiago" (MyDust) 2010: "Chevere" (MyDust) 2011: "D'ese" (MyDust) Remixes 1996: Vincent De Moor - "Flowtation" (XL Recordings) 1997: Kool World - "In-Vader" (Kool World Records) 1997: The Vinyl Frontier - "Vibe to the 7" (Sound Design) 1998: Marmion - "Schöneberg" (FFRR) 2000: Josh Wink & Lil' Louis – "French Kiss" (FFRR) 2000: Angelic - "It's My Turn" (Serious Records) 2000: DJ Sandy vs. Housetrap – "Overdrive" (Positiva) 2000: Darude – "Sandstorm" (Neo Records) 2000: Storm - "Time to Burn" (Data) 2000: DJ Jean - "The Launch" (AM:PM) 2001: Warp Brothers - "Phatt Bass" (Nu Life) 2001: Nigel Gee - "Hootin' Harry" (Neo Records) 2001: Joshua Ryan – "Pistolwhip" (Nu Life) References External links Ariel on Bandcamp 1967 births Living people Club DJs Argentine emigrants to England Argentine record producers Argentine electronic musicians Musicians from Rosario, Santa Fe
```javascript if(typeof cptable === 'undefined') cptable = {}; cptable[852] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~", D = [], e = {}; for(var i=0;i!=d.length;++i) { if(d.charCodeAt(i) !== 0xFFFD) e[d.charAt(i)] = i; D[i] = d.charAt(i); } return {"enc": e, "dec": D }; })(); ```
```c++ /******************************************************************************* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *******************************************************************************/ #ifndef CPU_GEMM_F32_GEMM_UTILS_F32_HPP #define CPU_GEMM_F32_GEMM_UTILS_F32_HPP #include <cstddef> namespace dnnl { namespace impl { namespace cpu { namespace gemm_utils { template <typename T, bool isTransA, bool isTransB> struct gemm_traits {}; template <bool isTransA, bool isTransB> struct gemm_traits<double, isTransA, isTransB> { static constexpr dim_t m = 8; static constexpr dim_t n = 6; static constexpr dim_t BM = 4032; static constexpr dim_t BN = isTransA ? 96 : 192; static constexpr dim_t BK = isTransB ? 96 : 512; }; template <bool isTransA, bool isTransB> struct gemm_traits<float, isTransA, isTransB> { static constexpr dim_t m = 16; static constexpr dim_t n = 6; static constexpr dim_t BM = 4032; static constexpr dim_t BN = isTransA ? 96 : 48; static constexpr dim_t BK = isTransB ? 96 : 256; }; template <bool isTransA, bool isTransB> struct gemm_traits<bfloat16_t, isTransA, isTransB> { static constexpr dim_t m = 32; static constexpr dim_t n = 6; static constexpr dim_t BM = 4032; static constexpr dim_t BN = isTransA ? 96 : 48; static constexpr dim_t BK = isTransB ? 96 : 256; }; template <typename T> using unroll_factor = gemm_traits<T, false, false>; template <typename data_t> void sum_two_matrices(dim_t m, dim_t n, data_t *__restrict p_src, dim_t ld_src, data_t *__restrict p_dst, dim_t ld_dst); void calc_nthr_nocopy_avx512_common(dim_t m, dim_t n, dim_t k, int nthrs, int *nthrs_m, int *nthrs_n, int *nthrs_k, dim_t *BM, dim_t *BN, dim_t *BK); void calc_nthr_nocopy_avx(dim_t m, dim_t n, dim_t k, int nthrs, int *nthrs_m, int *nthrs_n, int *nthrs_k, dim_t *BM, dim_t *BN, dim_t *BK); void partition_unit_diff( int ithr, int nthr, dim_t n, dim_t *t_offset, dim_t *t_block); }; // namespace gemm_utils } // namespace cpu } // namespace impl } // namespace dnnl #endif // CPU_GEMM_F32_GEMM_UTILS_F32_HPP ```
Olivancillaria urceus is a species of sea snail, a marine gastropod mollusk in the family Olividae, the olives. Distribution O. urceus is endemic to the South American coastline, from Brazil to Uruguay. References Olividae Gastropods described in 1798
Hackney South and Shoreditch was an electoral division for the purposes of elections to the Greater London Council. The constituency elected one councillor for a four-year term in 1973, 1977 and 1981, with the final term extended for an extra year ahead of the abolition of the Greater London Council. History It was planned to use the same boundaries as the Westminster Parliament constituencies for election of councillors to the Greater London Council (GLC), as had been the practice for elections to the predecessor London County Council, but those that existed in 1965 crossed the Greater London boundary. Until new constituencies could be settled, the 32 London boroughs were used as electoral areas. The London Borough of Hackney formed the Hackney electoral division. This was used for the Greater London Council elections in 1964, 1967 and 1970. The new constituencies were settled following the Second Periodic Review of Westminster constituencies and the new electoral division matched the boundaries of the Hackney South and Shoreditch parliamentary constituency. The area was in a long-term period of population decline that was yet to reverse. The electorate reduced from 50,500 in 1973 to 43,361 in 1981. It covered an area of . Elections The Hackney South and Shoreditch constituency was used for the Greater London Council elections in 1973, 1977 and 1981. One councillor was elected at each election using first-past-the-post voting. 1973 election The fourth election to the GLC (and first using revised boundaries) was held on 12 April 1973. The electorate was 50,500 and one Labour Party councillor was elected. The turnout was 21.4%. The councillor was elected for a three-year term. This was extended for an extra year in 1976 when the electoral cycle was switched to four-yearly. 1977 election The fifth election to the GLC (and second using revised boundaries) was held on 5 May 1977. The electorate was 44,364 and one Labour Party councillor was elected. The turnout was 34.2%. The councillor was elected for a four-year term. 1981 election The sixth and final election to the GLC (and third using revised boundaries) was held on 7 May 1981. The electorate was 43,361 and one Labour Party councillor was elected. The turnout was 34.0%. The councillor was elected for a four-year term, extended by an extra year by the Local Government (Interim Provisions) Act 1984, ahead of the abolition of the council. References Politics of the London Borough of Hackney Greater London Council electoral divisions 1973 establishments in England 1986 disestablishments in England Shoreditch
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """Test for vision modules.""" import io import os from absl.testing import parameterized import numpy as np from PIL import Image import tensorflow as tf, tf_keras from official.core import exp_factory from official.core import export_base from official.vision import registry_imports # pylint: disable=unused-import from official.vision.dataloaders import classification_input from official.vision.serving import export_module_factory class ImageClassificationExportTest(tf.test.TestCase, parameterized.TestCase): def _get_classification_module(self, input_type, input_image_size): params = exp_factory.get_exp_config('resnet_imagenet') params.task.model.backbone.resnet.model_id = 18 module = export_module_factory.create_classification_export_module( params, input_type, batch_size=1, input_image_size=input_image_size) return module def _get_dummy_input(self, input_type): """Get dummy input for the given input type.""" if input_type == 'image_tensor': return tf.zeros((1, 32, 32, 3), dtype=np.uint8) elif input_type == 'image_bytes': image = Image.fromarray(np.zeros((32, 32, 3), dtype=np.uint8)) byte_io = io.BytesIO() image.save(byte_io, 'PNG') return [byte_io.getvalue()] elif input_type == 'tf_example': image_tensor = tf.zeros((32, 32, 3), dtype=tf.uint8) encoded_jpeg = tf.image.encode_jpeg(tf.constant(image_tensor)).numpy() example = tf.train.Example( features=tf.train.Features( feature={ 'image/encoded': tf.train.Feature( bytes_list=tf.train.BytesList(value=[encoded_jpeg])), })).SerializeToString() return [example] @parameterized.parameters( {'input_type': 'image_tensor'}, {'input_type': 'image_bytes'}, {'input_type': 'tf_example'}, ) def test_export(self, input_type='image_tensor'): input_image_size = [32, 32] tmp_dir = self.get_temp_dir() module = self._get_classification_module(input_type, input_image_size) # Test that the model restores any attrs that are trackable objects # (eg: tables, resource variables, keras models/layers, tf.hub modules). module.model.test_trackable = tf_keras.layers.InputLayer(input_shape=(4,)) ckpt_path = tf.train.Checkpoint(model=module.model).save( os.path.join(tmp_dir, 'ckpt')) export_dir = export_base.export( module, [input_type], export_savedmodel_dir=tmp_dir, checkpoint_path=ckpt_path, timestamped=False) self.assertTrue(os.path.exists(os.path.join(tmp_dir, 'saved_model.pb'))) self.assertTrue(os.path.exists( os.path.join(tmp_dir, 'variables', 'variables.index'))) self.assertTrue(os.path.exists( os.path.join(tmp_dir, 'variables', 'variables.data-00000-of-00001'))) imported = tf.saved_model.load(export_dir) classification_fn = imported.signatures['serving_default'] images = self._get_dummy_input(input_type) def preprocess_image_fn(inputs): return classification_input.Parser.inference_fn( inputs, input_image_size, num_channels=3) processed_images = tf.map_fn( preprocess_image_fn, elems=tf.zeros([1] + input_image_size + [3], dtype=tf.uint8), fn_output_signature=tf.TensorSpec( shape=input_image_size + [3], dtype=tf.float32)) expected_logits = module.model(processed_images, training=False) expected_prob = tf.nn.softmax(expected_logits) out = classification_fn(tf.constant(images)) # The imported model should contain any trackable attrs that the original # model had. self.assertTrue(hasattr(imported.model, 'test_trackable')) self.assertAllClose( out['logits'].numpy(), expected_logits.numpy(), rtol=1e-04, atol=1e-04) self.assertAllClose( out['probs'].numpy(), expected_prob.numpy(), rtol=1e-04, atol=1e-04) if __name__ == '__main__': tf.test.main() ```
```go package mailer import ( "fmt" "log" "time" "github.com/netlify/gocommerce/conf" "github.com/netlify/gocommerce/models" "github.com/netlify/mailme" "github.com/sirupsen/logrus" ) // Mailer will send mail and use templates from the site for easy mail styling type Mailer interface { OrderConfirmationMail(transaction *models.Transaction) error OrderReceivedMail(transaction *models.Transaction) error OrderConfirmationMailBody(transaction *models.Transaction, templateURL string) (string, error) } type mailer struct { Config *conf.Configuration TemplateMailer *mailme.Mailer } // MailSubjects holds the subject lines for the emails type MailSubjects struct { OrderConfirmationMail string } // NewMailer returns a new authlify mailer func NewMailer(smtp conf.SMTPConfiguration, instanceConfig *conf.Configuration) Mailer { if smtp.Host == "" && instanceConfig.SMTP.Host == "" { return newNoopMailer() } smtpHost := instanceConfig.SMTP.Host if smtpHost == "" { smtpHost = smtp.Host } smtpPort := instanceConfig.SMTP.Port if smtpPort == 0 { smtpPort = smtp.Port } smtpUser := instanceConfig.SMTP.User if smtpUser == "" { smtpUser = smtp.User } smtpPass := instanceConfig.SMTP.Pass if smtpPass == "" { smtpPass = smtp.Pass } smtpAdminEmail := instanceConfig.SMTP.AdminEmail if smtpAdminEmail == "" { smtpAdminEmail = smtp.AdminEmail } return &mailer{ Config: instanceConfig, TemplateMailer: &mailme.Mailer{ Host: smtpHost, Port: smtpPort, User: smtpUser, Pass: smtpPass, From: smtpAdminEmail, BaseURL: instanceConfig.SiteURL, FuncMap: map[string]interface{}{ "dateFormat": dateFormat, "price": price, "hasProductType": hasProductType, }, Logger: logrus.New(), }, } } func dateFormat(layout string, date time.Time) string { return date.Format(layout) } func price(amount uint64, currency string) string { switch currency { case "USD": return fmt.Sprintf("$%.2f", float64(amount)/100) case "EUR": return fmt.Sprintf("%.2f", float64(amount)/100) default: return fmt.Sprintf("%.2f %v", float64(amount)/100, currency) } } func hasProductType(order *models.Order, productType string) bool { for _, item := range order.LineItems { if item.Type == productType { return true } } return false } const defaultConfirmationTemplate = `<h2>Thank you for your order!</h2> <ul> {{ range .Order.LineItems }} <li>{{ .Title }} <strong>{{ .Quantity }} x {{ .Price }}</strong></li> {{ end }} </ul> <p>Total amount: <strong>{{ .Order.Total }}</strong></p> ` // OrderConfirmationMail sends an order confirmation to the user func (m *mailer) OrderConfirmationMail(transaction *models.Transaction) error { log.Printf("Sending order confirmation to %v with template %v", transaction.Order.Email, m.Config.Mailer.Templates.OrderConfirmation) return m.TemplateMailer.Mail( transaction.Order.Email, withDefault(m.Config.Mailer.Subjects.OrderConfirmation, "Order Confirmation"), m.Config.Mailer.Templates.OrderConfirmation, defaultConfirmationTemplate, map[string]interface{}{ "SiteURL": m.Config.SiteURL, "Order": transaction.Order, "Transaction": transaction, }, ) } const defaultReceivedTemplate = `<h2>Order Received From {{ .Order.Email }}</h2> <ul> {{ range .Order.LineItems }} <li>{{ .Title }} <strong>{{ .Quantity }} x {{ .Price }}</strong></li> {{ end }} </ul> <p>Total amount: <strong>{{ .Order.Total }}</strong></p> ` // OrderReceivedMail sends a notification to the shop admin func (m *mailer) OrderReceivedMail(transaction *models.Transaction) error { return m.TemplateMailer.Mail( m.TemplateMailer.From, withDefault(m.Config.Mailer.Subjects.OrderReceived, "Order Received From {{ .Order.Email }}"), m.Config.Mailer.Templates.OrderReceived, defaultReceivedTemplate, map[string]interface{}{ "SiteURL": m.Config.SiteURL, "Order": transaction.Order, "Transaction": transaction, }, ) } func (m *mailer) OrderConfirmationMailBody(transaction *models.Transaction, templateURL string) (string, error) { if templateURL == "" { templateURL = m.Config.Mailer.Templates.OrderConfirmation } return m.TemplateMailer.MailBody(templateURL, defaultReceivedTemplate, map[string]interface{}{ "SiteURL": m.Config.SiteURL, "Order": transaction.Order, "Transaction": transaction, }) } func withDefault(value string, defaultValue string) string { if value == "" { return defaultValue } return value } ```
The Flor do Prado River is a river in the state of Mato Grosso in Brazil, a right tributary of the Roosevelt River. The Rio Flor do Prado Ecological Station, a fully protected environmental unit created in 2003, lies on the right bank of the river. See also List of rivers of Mato Grosso References Rivers of Mato Grosso
Jerguš Pecháč (born 31 October 2001) is a Slovak chess grandmaster. Chess career He came third in the U-12 European Youth Chess Championship in Prague in 2012. He was awarded the title of International Master in 2017, and Grandmaster in 2019, becoming Slovakia's youngest grandmaster. He was nominated by the FIDE president as a replacement in the Chess World Cup 2021, where he faced Alexandr Fier in the first round. Earlier, in an online World Cup qualifier, he gained attention by offering Boris Gelfand a draw after Gelfand had left his queen en prise following a mouseslip. References External links Jerguš Pecháč chess games at 365Chess.com 2001 births Living people Chess grandmasters Slovak chess players
```smalltalk // See the LICENCE file in the repository root for full licence text. using System.Threading; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using NUnit.Framework; using osu.Framework.Platform; using osu.Framework.Threading; namespace osu.Framework.Benchmarks { [TestFixture] [MemoryDiagnoser] public abstract class GameBenchmark { private ManualGameHost gameHost = null!; protected Game Game { get; private set; } = null!; [GlobalSetup] [OneTimeSetUp] public virtual void SetUp() { gameHost = new ManualGameHost(Game = CreateGame()); } [GlobalCleanup] [OneTimeTearDown] public virtual void TearDown() { gameHost.Exit(); gameHost.Dispose(); } /// <summary> /// Runs a single game frame. /// </summary> protected void RunSingleFrame() => gameHost.RunSingleFrame(); /// <summary> /// Creates the game. /// </summary> protected abstract Game CreateGame(); /// <summary> /// Ad headless host for testing purposes. Contains an arbitrary game that is running after construction. /// </summary> private class ManualGameHost : HeadlessGameHost { private ManualThreadRunner threadRunner; public ManualGameHost(Game runnableGame) : base("manual", new HostOptions()) { Task.Factory.StartNew(() => { try { Run(runnableGame); } catch { // may throw an unobserved exception if we don't handle here. } }, TaskCreationOptions.LongRunning); // wait for the game to initialise before continuing with the benchmark process. while (threadRunner?.HasRunOnce != true) Thread.Sleep(10); } protected override void Dispose(bool isDisposing) { threadRunner.RunOnce.Set(); base.Dispose(isDisposing); } public void RunSingleFrame() => threadRunner.RunSingleFrame(); protected override ThreadRunner CreateThreadRunner(InputThread mainThread) => threadRunner = new ManualThreadRunner(mainThread); } private class ManualThreadRunner : ThreadRunner { /// <summary> /// This is used to delay the initialisation process until the headless input thread has run once. /// Does not get reset with subsequence runs. /// </summary> public bool HasRunOnce { get; private set; } /// <summary> /// Set this to run one frame on the headless input thread. /// This is used for the initialise and shutdown processes, whereas <see cref="RunSingleFrame"/> is used for the benchmark process. /// </summary> public readonly ManualResetEventSlim RunOnce = new ManualResetEventSlim(); public ManualThreadRunner(InputThread mainThread) : base(mainThread) { RunOnce.Set(); } public void RunSingleFrame() { ExecutionMode = ExecutionMode.SingleThread; // Importantly, this calls the base method, bypassing the custom wait logic below // (which is blocking execution by thread runner while the benchmark runs). base.RunMainLoop(); } public override void RunMainLoop() { #pragma warning disable RS0030 RunOnce.Wait(); #pragma warning restore RS0030 RunSingleFrame(); RunOnce.Reset(); HasRunOnce = true; } } } } ```
```objective-c #pragma once #ifndef TSCANNER_IO_H #define TSCANNER_IO_H class TScannerIO { public: TScannerIO() {} virtual bool open() = 0; virtual void close() = 0; virtual int receive(unsigned char *buffer, int size) = 0; virtual int send(unsigned char *buffer, int size) = 0; virtual void trace(bool on) = 0; virtual ~TScannerIO() {} }; #endif ```
```xml declare interface IContentQueryStrings { SourcePageDescription: string; QueryPageDescription: string; DisplayPageDescription: string; ExternalPageDescription: string; SourceGroupName: string; QueryGroupName: string; DisplayGroupName: string; ExternalGroupName: string; SiteUrlFieldLabel: string; SiteUrlFieldPlaceholder: string; SiteUrlFieldLoadingLabel: string; SiteUrlFieldLoadingError: string; WebUrlFieldLabel: string; WebUrlFieldPlaceholder: string; WebUrlFieldLoadingLabel: string; WebUrlFieldLoadingError: string; ListTitleFieldLabel: string; ListTitleFieldPlaceholder: string; ListTitleFieldLoadingLabel: string; ListTitleFieldLoadingError: string; OrderByFieldLabel: string; OrderByFieldLoadingLabel: string; OrderByFieldLoadingError: string; LimitEnabledFieldLabel: string; ItemLimitPlaceholder: string; ErrorItemLimit: string; RecursiveEnabledFieldLabel: string; TemplateUrlFieldLabel: string; TemplateUrlPlaceholder: string; ExternalScriptsLabel: string; ExternalScriptsPlaceholder: string; ErrorTemplateExtension: string; ErrorTemplateResolve: string; ErrorWebAccessDenied: string; ErrorWebNotFound: string; ShowItemsAscending: string; ShowItemsDescending: string; DynamicallyGeneratedTemplate: string; queryFilterPanelStrings: any; viewFieldsChecklistStrings: any; templateTextStrings: any; contentQueryStrings: any; } declare module 'contentQueryStrings' { const strings: IContentQueryStrings; export = strings; } ```