 compact.
	 * @param nodeList, the list of node to compact.
	 */
	private void compactNodesInList(UIViewFrame viewFrame, Vector nodeList) {

		UIViewPane viewPane = ((UIMapViewFrame)viewFrame).getViewPane();

		Hashtable compactDoneForNodes = new Hashtable();
		Vector    vtLevelChecked = new Vector();

		for (int i = 0; i < nodeList.size(); i++) {
			String nodeID = (String)nodeList.elementAt(i);
			Integer count = new Integer(1);
			if(nodesCompacted.containsKey(nodeID)){
				count = (Integer) nodesCompacted.get(nodeID);
				if(count.intValue() > recursionCount)
					continue ;
				else {
					count = new Integer(count.intValue() + 1);
					nodesCompacted.put(nodeID, count);
				}
			} else {
				nodesCompacted.put(nodeID, count);
			}
	/*		if (recursionCount < htNodes.size() || !nodesCompacted.containsKey(nodeID)) {
				nodesCompacted.put(nodeID, nodeID);
				recursionCount ++;
			} else {
				continue;
			}
	*/
			Vector childNodeList = (Vector)htNodesBelow.get(nodeID);

			if (childNodeList != null) {
				compactNodesInList(viewFrame, childNodeList);
			}
		}

		int currentNodeYPosition = 0;
		int previousNodeYPosition = 0;
		int compactAmount = 0;
//begin edit - Lakshmi (10/25/05)
//		This is to center the 1st node (if its a parent)at any level .
		if ((nodeList  != null) &&(nodeList.size() >= 1)) {
			UINode node = ((UINode)viewPane.get((String)nodeList.elementAt(0)));
			Vector childNodeList = (Vector) htNodesBelow.get(nodeList.get(0));
			if(childNodeList != null){

				UINode firstNode = (UINode)viewPane.get((String)childNodeList.firstElement());
				int firstNodeYPosition = firstNode.getNodePosition().getYPos();

				UINode lastNode = (UINode)viewPane.get((String)childNodeList.lastElement());
				int lastNodeYPosition = lastNode.getNodePosition().getYPos();

				Point pos = node.getNodePosition().getPos();

				int centerPosition = firstNodeYPosition + (lastNodeYPosition + lastNode.getHeight() - firstNodeYPosition)/2;
				centerPosition = centerPosition - node.getHeight()/2;
				int level = ((Integer)htNodesLevel.get(node.getNode().getId())).intValue() - 1;
				int index = ((Vector)nodeLevelList.get(level)).indexOf(node.getNode().getId());
				if(index < 1){
					node.getNodePosition().setPos(new Point(pos.x, centerPosition));
				} else {
					UINode previousNode = (UINode)viewPane.get((String)((Vector)nodeLevelList.get(level)).get(index - 1));
					int previousNodeYPos = previousNode.getNodePosition().getYPos();
					int previousNodeHeight = previousNode.getHeight();
					if(centerPosition > previousNodeYPos + previousNodeHeight + FormatProperties.arrangeLeftVerticalGap ){
						node.getNodePosition().setPos(new Point(pos.x, centerPosition));
					} else {
						node.getNodePosition().setPos(new Point(pos.x, previousNodeYPos + previousNodeHeight + FormatProperties.arrangeLeftVerticalGap));
					}
				}//end if
			}//end if
		}//end if
//end edit - Lakshmi

		double scale = viewPane.getScale();
		// this will arrange other nodes based on the above arrangement of 1st node.
		for (int i = 1; i < nodeList.size(); i++) {
			UINode currentNode = ((UINode)viewPane.get((String)nodeList.elementAt(i)));
			UINode previousNode = ((UINode


  320: Section       \BaseNamedObjects\__ComCatalogCache__

  32C: Section       \BaseNamedObjects\__ComCatalogCache__

  358: Section       \Sessions\1\BaseNamedObjects\windows_shell_global_counters

  390: Section       \BaseNamedObjects\windows_shell_global_counters

  428: File  (RWD)   C:\Users\user\AppData\Roaming\Microsoft\Windows\Printer Shortcuts

  50C: File  (R-D)   C:\Windows\System32\en-US\dsreg.dll.mui

  518: Section       \Sessions\1\BaseNamedObjects\f9cHWNDInterface:100ee

  52C: File  (RWD)   C:\Users\user\AppData\Local\Microsoft\Windows\Explorer\iconcache_idx.db

  588: Section       \Windows\Theme1324212991

  590: File  (R-D)   C:\Windows\System32\en-US\oleaccrc.dll.mui

  594: Section       \Sessions\1\Windows\Theme2036293991

  598: File  (R-D)   C:\Windows\Fonts\StaticCache.dat

  5C0: Section       \Sessions\1\BaseNamedObjects\f9cHWNDInterface:100e6

  5D0: Section       \Sessions\1\BaseNamedObjects\f9cHWNDInterface:100e6

  5D8: Section       \Sessions\1\BaseNamedObjects\C:*Users*user*AppData*Local*Microsoft*Windows*Caches*cversions.3.ro

  62C: File  (RW-)   C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.488_none_ca04af081b815d21

  67C: Section       \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*cversions.2

  680: Section       \Sessions\1\BaseNamedObjects\SessionImmersiveColorPreference

  688: Section       \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*{6AF0698E-D558-4F6E-9B3C-3716689AF493}.2.ver0x0000000000000002.db

  68C: Section       \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*cversions.2

  690: Section       \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*{DDF571F2-BE98-426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000002.db

  6C0: Section       \Sessions\1\BaseNamedObjects\windows_ie_global_counters

  6F0: Section       \Sessions\1\BaseNamedObjects\f9cHWNDInterface:100f6

  6F4: Section       \Sessions\1\BaseNamedObjects\f9cHWNDInterface:100f6

  6F8: Section       \Sessions\1\BaseNamedObjects\f9cHWNDInterface:100f0

  6FC: Section       \Sessions\1\BaseNamedObjects\f9cHWNDInterface:100f0

  754: File  (RWD)   C:\Users\user\Desktop

  798: File  (RW-)   C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.488_none_ca04af081b815d21

  828: File  (R-D)   C:\Windows\System32\en-US\shell32.dll.mui

  82C: File  (RW-)   C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.488_none_ca04af081b815d21

  85C: File  (R-D)   C:\Windows\System32\en-US\propsys.dll.mui

  890


r);

		/// <inheritdoc cref="Equals(Slice)"/>
		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public bool Equals(ReadOnlySpan<byte> other) => FdbKeyHelpers.AreEqual(in this, other);

		/// <inheritdoc />
		public int CompareTo(object? obj) => obj switch
		{
			Slice key => CompareTo(key.Span),
			FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8> key => CompareTo(key),
			FdbTupleKey key => CompareTo(key),
			FdbRawKey key => CompareTo(key.Span),
			IFdbKey other => FdbKeyHelpers.Compare(in this, other),
			_ => throw new NotSupportedException()
		};

		public int CompareTo(FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8> other)
		{
			int cmp = FdbKeyHelpers.Compare(Subspace, other.Subspace);
			if (cmp == 0) cmp = this.Items.CompareTo(other.Items);
			return cmp;
		}

		public int CompareTo(FdbTupleKey other)
		{
			int cmp = FdbKeyHelpers.Compare(this.Subspace, other.Subspace);
			if (cmp == 0) cmp = this.Items.CompareTo(other.Items);
			return cmp;
		}

		/// <inheritdoc />
		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public int CompareTo(FdbRawKey other)
			=> FdbKeyHelpers.Compare(in this, other.Data);

		/// <inheritdoc />
		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public int CompareTo(Slice other)
			=> FdbKeyHelpers.Compare(in this, other);

		/// <inheritdoc cref="CompareTo(Slice)" />
		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public int CompareTo(ReadOnlySpan<byte> other)
			=> FdbKeyHelpers.Compare(in this, other);

		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public int FastCompareTo<TOtherKey>(in TOtherKey other)
			where TOtherKey : struct, IFdbKey
		{
			if (typeof(TOtherKey) == typeof(FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8>))
			{
				return CompareTo((FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8>) (object) other);
			}
			if (typeof(TOtherKey) == typeof(FdbTupleKey))
			{
				return CompareTo((FdbTupleKey) (object) other);
			}
			return FdbKeyHelpers.Compare(in this, in other);
		}

		#region Operators...

		/// <inheritdoc />
		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public static bool operator ==(FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8> left, FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8> right) => left.Equals(right);

		/// <inheritdoc />
		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public static bool operator !=(FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8> left, FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8> right) => !left.Equals(right);

		/// <inheritdoc />
		[Pure, MethodImpl(MethodImplOptions.AggressiveInlining)]
		public static bool operator <(FdbTupleKey<T1, T2, T3, T4, T5, T6, T7, T8> left, Fdb


import argparse
import numpy as np
import h5py
import matplotlib.pyplot as plt

parser = argparse.ArgumentParser(description='ChannelFFT plotting routine')
optional = parser._action_groups.pop()
required = parser.add_argument_group('required arguments')
required.add_argument('-p' ,'--projectName',help='Project name of the ChannelFFT output HDF5 files.',required=True)
required.add_argument('-t' ,'--time'       ,help='Time of the ChannelFFT output HDF5 files (arbitrary format float).',required=True)
optional.add_argument('-np','--noProfiles' ,help='Do no plot profiles of mean velocity and Reynolds stresses.', action='store_true')
optional.add_argument('-ns','--noSpectra'  ,help='Do not plot turbulent energy spectra.', action='store_true')
parser._action_groups.append(optional)

args = parser.parse_args()
time = str(format(float(args.time), '017.9f'))

if not args.noProfiles :
    FileName = args.projectName+"_MS_"+time+'.h5'
    DatasetName = 'MeanSquares'
    h5file = h5py.File(FileName, 'r')
    VarNames = h5file.attrs["VarNames"]
    meanSquares = np.transpose(np.array(h5file[DatasetName]))
    fig, ax1 = plt.subplots()
    ax2 = ax1.twinx()
    for i in range(1,5):
        ax1.plot(meanSquares[0],meanSquares[i],label=VarNames[i])
    for i in range(7,8):
        ax2.plot(meanSquares[0],meanSquares[i], '--',label=VarNames[i])

    ax1.set_xlabel('$y^+$',fontsize = 16)
    ax1.set_ylabel('$\overline{u\'u\'}^+$,$\overline{v\'v\'}^+$,$\overline{w\'w\'}^+$,$\overline{u\'v\'}^+$',fontsize = 16)
    ax2.set_ylabel('$\overline{u}^+$',fontsize = 16)
    ax1.set_xlim(0,max(meanSquares[0]))
    ax1.legend(fontsize=12)
    ax2.legend(fontsize=12)
    plt.savefig(args.projectName+"_MS_"+time+'.png')
    plt.clf()

if not args.noSpectra:
    for dim in ["x","z"] :
        FileName = args.projectName+"_EnergySpectra_"+dim+"_"+time+'.h5'
        h5file = h5py.File(FileName, 'r')
        VarNames = h5file.attrs["VarNames"]
        for DatasetName in h5file.keys():
            energySpectra = np.transpose(np.array(h5file[DatasetName]))
            for i,Spec in enumerate(energySpectra[1:]):
                plt.loglog(energySpectra[0][1:],Spec[1:],label=VarNames[i+1])
            plt.xlabel('Wavenumber k',fontsize=16)
            plt.ylabel('E_uu_'+dim+',E_vv_'+dim+',E_ww_'+dim+',E_pp_'+dim,fontsize=16)
            plt.legend(fontsize=12)
            plt.title('yPlus='+DatasetName.split(' ')[-1],fontsize=16)
            plt.savefig(args.projectName+"_EnergySpectra_"+dim+"_yPlus"+DatasetName.split(' ')[-1]+"_"+time+".png")
            plt.clf()


 beginOfHour(final Date date) {
        return new DateTime(beginOfHour(calendar(date)));
    }

    /**
     * 获取某小时的结束时间
     *
     * @param date     日期
     * @param truncate 是否毫秒归零
     * @return {@link DateTime}
     */
    public static DateTime endOfHour(final Date date, final boolean truncate) {
        return new DateTime(endOfHour(calendar(date), truncate));
    }

    /**
     * 获取某分钟的开始时间
     *
     * @param date 日期
     * @return {@link DateTime}
     */
    public static DateTime beginOfMinute(final Date date) {
        return new DateTime(beginOfMinute(calendar(date)));
    }

    /**
     * 获取某分钟的结束时间
     *
     * @param date     日期
     * @param truncate 是否毫秒归零
     * @return {@link DateTime}
     */
    public static DateTime endOfMinute(final Date date, final boolean truncate) {
        return new DateTime(endOfMinute(calendar(date), truncate));
    }

    /**
     * 获取某天的开始时间
     *
     * @param date 日期
     * @return {@link DateTime}
     */
    public static DateTime beginOfDay(final Date date) {
        return new DateTime(beginOfDay(calendar(date)));
    }

    /**
     * 获取某天的结束时间
     *
     * @param date     日期
     * @param truncate 是否毫秒归零
     * @return {@link DateTime}
     */
    public static DateTime endOfDay(final Date date, final boolean truncate) {
        return new DateTime(endOfDay(calendar(date), truncate));
    }

    /**
     * 获取某周的开始时间，周一定为一周的开始时间
     *
     * @param date 日期
     * @return {@link DateTime}
     */
    public static DateTime beginOfWeek(final Date date) {
        return new DateTime(beginOfWeek(calendar(date)));
    }

    /**
     * 获取某周的开始时间
     *
     * @param date               日期
     * @param isMondayAsFirstDay 是否周一做为一周的第一天（false表示周日做为第一天）
     * @return {@link DateTime}
     */
    public static DateTime beginOfWeek(final Date date, final boolean isMondayAsFirstDay) {
        return new DateTime(beginOfWeek(calendar(date), isMondayAsFirstDay));
    }

    /**
     * 获取某周的结束时间
     *
     * @param date              日期
     * @param isSundayAsLastDay 是否周日做为一周的最后一天（false表示周六做为最后一天）
     * @param truncate          是否毫秒归零
     * @return {@link DateTime}
     */
    public static DateTime endOfWeek(final Date date, final boolean isSundayAsLastDay, final boolean truncate) {
        return new DateTime(endOfWeek(calendar(date), isSundayAsLastDay, truncate));
    }

    /**
     * 获取某月的开始时间
     *
     * @param date 日期
     * @return {@link DateTime}
     */
    public static DateTime beginOfMonth(final Date date) {
        return new DateTime(beginOfMonth(calendar(date)));
    }

    /**
     * 获取某月的结束时间


		break;
	case COSE_EDDSA:
		ptr = &cred->attcred.pubkey.eddsa;
		break;
	default:
		ptr = NULL;
		break;
	}

	return (ptr);
}

size_t
fido_cred_pubkey_len(const fido_cred_t *cred)
{
	size_t len;

	switch (cred->attcred.type) {
	case COSE_ES256:
		len = sizeof(cred->attcred.pubkey.es256);
		break;
	case COSE_ES384:
		len = sizeof(cred->attcred.pubkey.es384);
		break;
	case COSE_RS256:
		len = sizeof(cred->attcred.pubkey.rs256);
		break;
	case COSE_EDDSA:
		len = sizeof(cred->attcred.pubkey.eddsa);
		break;
	default:
		len = 0;
		break;
	}

	return (len);
}

const unsigned char *
fido_cred_id_ptr(const fido_cred_t *cred)
{
	return (cred->attcred.id.ptr);
}

size_t
fido_cred_id_len(const fido_cred_t *cred)
{
	return (cred->attcred.id.len);
}

const unsigned char *
fido_cred_aaguid_ptr(const fido_cred_t *cred)
{
	return (cred->attcred.aaguid);
}

size_t
fido_cred_aaguid_len(const fido_cred_t *cred)
{
	return (sizeof(cred->attcred.aaguid));
}

int
fido_cred_prot(const fido_cred_t *cred)
{
	return (cred->ext.prot);
}

size_t
fido_cred_pin_minlen(const fido_cred_t *cred)
{
	return (cred->ext.minpinlen);
}

const char *
fido_cred_fmt(const fido_cred_t *cred)
{
	return (cred->fmt);
}

const char *
fido_cred_rp_id(const fido_cred_t *cred)
{
	return (cred->rp.id);
}

const char *
fido_cred_rp_name(const fido_cred_t *cred)
{
	return (cred->rp.name);
}

const char *
fido_cred_user_name(const fido_cred_t *cred)
{
	return (cred->user.name);
}

const char *
fido_cred_display_name(const fido_cred_t *cred)
{
	return (cred->user.display_name);
}

const unsigned char *
fido_cred_user_id_ptr(const fido_cred_t *cred)
{
	return (cred->user.id.ptr);
}

size_t
fido_cred_user_id_len(const fido_cred_t *cred)
{
	return (cred->user.id.len);
}

const unsigned char *
fido_cred_largeblob_key_ptr(const fido_cred_t *cred)
{
	return (cred->largeblob_key.ptr);
}

size_t
fido_cred_largeblob_key_len(const fido_cred_t *cred)
{
	return (cred->largeblob_key.len);
}


 or 'z',
			// so strings.HasPrefix is equivalent to self-or-descendent name match.
			// We don't have to worry about "/foo/bar" being a false positive match
			// for "/foo/b".
			if strings.HasPrefix(name0, name) && n0.token != "" {
				list = append(list, name0)
			}
		}
		if n.refCount != len(list) {
			sort.Strings(list)
			return fmt.Errorf("node at name %q has refCount %d but locked self-or-descendents are %q (len=%d)",
				name, n.refCount, list, len(list))
		}

		// A node n is in m.byToken if it has a non-empty token.
		if n.token != "" {
			if _, ok := m.byToken[n.token]; !ok {
				return fmt.Errorf("node at name %q has token %q but not in m.byToken", name, n.token)
			}
		}

		// A node n is in m.byExpiry if it has a non-negative byExpiryIndex.
		if n.byExpiryIndex >= 0 {
			if n.byExpiryIndex >= len(m.byExpiry) {
				return fmt.Errorf("node at name %q has byExpiryIndex %d but m.byExpiry has length %d", name, n.byExpiryIndex, len(m.byExpiry))
			}
			if n != m.byExpiry[n.byExpiryIndex] {
				return fmt.Errorf("node at name %q has byExpiryIndex %d but that indexes a different node", name, n.byExpiryIndex)
			}
		}
	}

	for token, n := range m.byToken {
		// The map keys should be consistent with the node's copy of the key.
		if n.token != token {
			return fmt.Errorf("node token %q != byToken map key %q", n.token, token)
		}

		// Every node in m.byToken is in m.byName.
		if _, ok := m.byName[n.details.Root]; !ok {
			return fmt.Errorf("node at name %q in m.byToken but not in m.byName", n.details.Root)
		}
	}

	for i, n := range m.byExpiry {
		// The slice indices should be consistent with the node's copy of the index.
		if n.byExpiryIndex != i {
			return fmt.Errorf("node byExpiryIndex %d != byExpiry slice index %d", n.byExpiryIndex, i)
		}

		// Every node in m.byExpiry is in m.byName.
		if _, ok := m.byName[n.details.Root]; !ok {
			return fmt.Errorf("node at name %q in m.byExpiry but not in m.byName", n.details.Root)
		}

		// No node in m.byExpiry should be held.
		if n.held {
			return fmt.Errorf("node at name %q in m.byExpiry is held", n.details.Root)
		}
	}
	return nil
}

func TestParseTimeout(t *testing.T) {
	testCases := []struct {
		s       string
		want    time.Duration
		wantErr error
	}{{
		"",
		infiniteTimeout,
		nil,
	}, {
		"Infinite",
		infiniteTimeout,
		nil,
	}, {
		"Infinitesimal",
		0,
		errInvalidTimeout,
	}, {
		"infinite",
		0,
		errInvalidTimeout,
	}, {
		"Second-0",
		0 * time.Second,
		nil,
	}, {
		"Second-123",
		123 * time.Second,
		nil,
	}, {
		"  Second-456    ",
		456 *


1322.5" y2="390" />
<line class="PlotGrid" x1="1385" y1="90" x2="1385" y2="390" />
<text class="middle" x="1385" y="429">10 </text>
<line class="PlotGrid" x1="1447.5" y1="90" x2="1447.5" y2="390" />
<line class="PlotGrid" x1="1510" y1="90" x2="1510" y2="390" />
<text class="middle" x="1510" y="429">11 </text>
<line class="PlotGrid" x1="1572.5" y1="90" x2="1572.5" y2="390" />
<line class="PlotGrid" x1="1635" y1="90" x2="1635" y2="390" />
<text class="middle" x="1635" y="429">12 </text>
<line class="PlotAxis" x1="135" y1="90" x2="1635" y2="90" />
<text x="1651.5" y="76.5">x </text>
<line class="PlotAxis" x1="135" y1="90" x2="135" y2="390" />
<text class="middle" x="135" y="63">y </text>
<text x="6" y="467.25">[0; -100] </text>
<text class="end" x="1696" y="33">[12; 0] </text>
<polyline class="PlotSeries1" points="135,90 137.93,91.26 140.86,92.53 143.79,93.79 146.72,95.06 149.65,96.32 152.58,97.59 181.88,110.17 184.8,111.42 193.59,115.17 196.52,116.41 211.17,122.6 214.1,123.83 219.96,126.29 222.89,127.51 225.82,128.73 228.75,129.94 231.68,131.16 237.54,133.58 240.47,134.78 246.33,137.18 249.26,138.37 252.19,139.56 269.77,146.63 272.7,147.8 287.34,153.64 290.27,154.8 299.06,158.28 301.99,159.43 307.85,161.73 310.78,162.87 316.64,165.15 319.57,166.28 325.43,168.54 328.36,169.66 334.22,171.9 337.15,173.01 345.94,176.31 348.87,177.4 351.8,178.49 354.73,179.57 363.52,182.78 366.45,183.84 369.38,184.89 372.3,185.93 375.23,186.98 381.09,189.04 384.02,190.06 392.81,193.09 395.74,194.09 401.6,196.09 404.53,197.08 407.46,198.06 410.39,199.05 413.32,200.02 416.25,201 419.18,201.97 427.97,204.85 430.9,205.8 439.69,208.62 442.62,209.55 448.48,211.39 451.41,212.3 454.34,213.21 460.2,215.01 463.12,215.9 466.05,216.79 468.98,217.67 474.84,219.41 477.77,220.27 480.7,221.13 483.63,221.98 489.49,223.66 492.42,224.49 498.28,226.13 501.21,226.94 507.07,228.54 510,229.33 512.93,230.12 515.86,230.89


ressbar"),f.lines(e,f.opts),!u){var s=0,l=(r.lines-1)*(1-r.direction)/2,h,c=r.fps,o=c/r.speed,a=(1-r.opacity)/(o*r.trail/100),v=o/r.lines;(function y(){s++;for(var n=0;n<r.lines;n++)h=Math.max(1-(s+(r.lines-n)*v)%o*a,r.opacity),f.opacity(e,n*r.direction+l,h,r);f.timeout=f.el&&setTimeout(y,~~(1e3/c))})()}return f},stop:function(){var n=this.el;return n&&(clearTimeout(this.timeout),n.parentNode&&n.parentNode.removeChild(n),this.el=undefined),this},lines:function(r,f){function s(t,r){return n(i(),{position:"absolute",width:f.scale*(f.length+f.width)+"px",height:f.scale*f.width+"px",background:t,boxShadow:r,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*e+f.rotate)+"deg) translate("+f.scale*f.radius+"px,0)",borderRadius:(f.corners*f.scale*f.width>>1)+"px"})}for(var e=0,h=(f.lines-1)*(1-f.direction)/2,o;e<f.lines;e++)o=n(i(),{position:"absolute",top:1+~(f.scale*f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:u&&a(f.opacity,f.trail,h+e*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&t(o,n(s("#000","0 0 4px #000"),{top:"2px"})),t(r,t(o,s(l(f.color,e),"0 0 1px rgba(0,0,0,.1)")));return r},opacity:function(n,t,i){t<n.childNodes.length&&(n.childNodes[t].style.opacity=i)}}),typeof document!="undefined"&&(f=function(){var n=i("style",{type:"text/css"});return t(document.getElementsByTagName("head")[0],n),n.sheet||n.styleSheet}(),e=n(i("group"),{behavior:"url(#default#VML)"}),!o(e,"transform")&&e.adj?y():u=o(e,"animation")),r}),function(n){if(typeof exports=="object")n(require("jquery"),require("spin.js"));else if(typeof define=="function"&&define.amd)define(["jquery","spin"],n);else{if(!window.Spinner)throw new Error("Spin.js not present");n(window.jQuery,window.Spinner)}}(function(n,t){n.fn.spin=function(i,r){return this.each(function(){var f=n(this),u=f.data();u.spinner&&(u.spinner.stop(),delete u.spinner);i!==!1&&(i=n.extend({color:r||f.css("color")},n.fn.spin.presets[i]||i),u.spinner=new t(i).spin(this))})};n.fn.spin.presets={tiny:{lines:8,length:2,width:2,radius:3},small:{lines:8,length:4,width:3,radius:5},large:{lines:10,length:8,width:4,radius:8}}});
/*!
 * Bootstrap-select v1.12.2 (http://silviomoreto.github.io/bootstrap-select)
 *
 * Copyright 2013-2017 bootstrap-select


c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8V161.62c5.23-.89 10.52-1.62 16-1.62s10.77.73 16 1.62V456zm16.88-329.27c-.64 0-1.3-.08-1.94-.24-10.99-2.81-20.99-4.2-30.95-4.2-10.02 0-20 1.41-30.92 4.2-.65.17-1.3.25-1.95.25-2.98 0-5.79-1.7-6.91-4.56l-22.04-56.09c-1.6-4.08.59-8.79 4.8-10C217.1 50.87 236.21 48 256 48s38.9 2.87 57.03 8.08c4.21 1.21 6.4 5.92 4.8 10l-22.04 56.1c-1.12 2.86-3.93 4.55-6.91 4.55zM336 456c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8V173.36c12.78 7.46 23.84 17.47 32 29.78V456zm25.84-284.94c-2.08 0-4.14-.91-5.62-2.6a133.758 133.758 0 0 0-30.09-25.55c-3.04-1.89-4.38-5.56-3.07-8.89l22.1-56.24c1.18-3.01 4.13-4.86 7.17-4.86 1.19 0 2.39.28 3.5.89a208.882 208.882 0 0 1 62.89 53.12c2.77 3.49 1.76 8.75-2.02 11.11l-51.07 31.92c-1.19.75-2.5 1.1-3.79 1.1zm27.68 77.9c-.89-15.85-4.76-30.87-10.74-44.79-1.44-3.35-.35-7.17 2.74-9.1l51.11-31.94a7.639 7.639 0 0 1 4.05-1.15c2.79 0 5.51 1.5 6.8 4.17 12.04 24.99 19.27 52.71 20.37 81.99.16 4.24-3.41 7.86-7.66 7.86H396.7c-3.92 0-6.96-3.12-7.18-7.04zM464 456.57c0 4.1-3.33 7.43-7.43 7.43h-49.14c-4.1 0-7.43-3.33-7.43-7.43v-57.14c0-4.1 3.33-7.43 7.43-7.43h49.14c4.1 0 7.43 3.33 7.43 7.43v57.14zm0-104c0 4.1-3.33 7.43-7.43 7.43h-49.14c-4.1 0-7.43-3.33-7.43-7.43v-57.14c0-4.1 3.33-7.43 7.43-7.43h49.14c4.1 0 7.43 3.33 7.43 7.43v57.14z"],
    "ear": [384, 512, [], "f5f0", "M192 92c-55.12 0-100 44.86-100 100 0 37.5 30.5 68 68 68 15.44 0 28 12.56 28 28s-12.56 28-28 28h-20c-6.62 0-12 5.39-12 12v16c0 6.61 5.38 12 12 12h20c37.5 0 68-30.5 68-68s-30.5-68-68-68c-15.44 0-28-12.56-28-2


  }

  Future<void> _deleteFilesByDirectory(Directory directory,
      {List<String>? excludePaths}) async {
    if (excludePaths != null) {
      for (var value in excludePaths) {
        if (directory.path.startsWith(value)) {
          return;
        }
      }
    }

    final completer = Completer<void>();

    late final StreamSubscription<FileSystemEntity> subscription;
    subscription = directory.list().listen((entity) async {
      subscription.pause();
      if (entity is File) {
        await entity.delete();
      } else if (entity is Directory) {
        await _deleteFilesByDirectory(entity, excludePaths: excludePaths);
      }
      subscription.resume();
    }, onDone: () {
      completer.complete();
    });

    return completer.future;
  }

  void clearImageCache() async {
    SmartDialog.showLoading(msg: Intl.cacheManagement_tips_clearing_cache.tr);
    for (var path in _imageCachePaths) {
      await _deleteFilesByDirectory(Directory(path));
    }
    _imageCacheSize = 0;
    imageCacheSizeStr.value = "0 B";
    SmartDialog.dismiss();
  }

  void clearAudioCache() async {
    SmartDialog.showLoading(msg: Intl.cacheManagement_tips_clearing_cache.tr);
    for (var path in _audioCachePaths) {
      await _deleteFilesByDirectory(Directory(path));
    }
    _audioCacheSize = 0;
    audioCacheSizeStr.value = "0 B";
    SmartDialog.dismiss();
  }

  void clearOtherCache() async {
    SmartDialog.showLoading(msg: Intl.cacheManagement_tips_clearing_cache.tr);
    var temporaryDirectory = await getTemporaryDirectory();
    var excludePaths = <String>[];
    excludePaths.addAll(_imageCachePaths);
    excludePaths.addAll(_audioCachePaths);
    excludePaths.add(_downloadDir);
    await _deleteFilesByDirectory(temporaryDirectory,
        excludePaths: excludePaths);

    _otherCacheSize = 0;
    otherCacheSizeStr.value = "0 B";
    SmartDialog.dismiss();
  }
}
// database.dart

import 'dart:async';

import 'package:alist/database/dao/favorite_dao.dart';
import 'package:alist/database/dao/file_download_record_dao.dart';
import 'package:alist/database/dao/file_password_dao.dart';
import 'package:alist/database/dao/file_viewing_record_dao.dart';
import 'package:alist/database/dao/server_dao.dart';
import 'package:alist/database/table/favorite.dart';
import 'package:alist/database/table/file_download_record.dart';
import 'package:alist/database/table/file_password.dart';
import 'package:alist/database/table/file_viewing_record.dart';
import 'package:alist/database/table/server.dart';
import 'package:floor/floor.dart';
import 'package:sqflite/sqflite.dart' as sqflite;

import


                       JS::Handle<JSObject*> aGivenProto) {
  return SVGGElement_Binding::Wrap(aCx, this, aGivenProto);
}

//----------------------------------------------------------------------
// Implementation

SVGGElement::SVGGElement(already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo)
    : SVGGraphicsElement(std::move(aNodeInfo)) {}

//----------------------------------------------------------------------
// nsINode methods

NS_IMPL_ELEMENT_CLONE_WITH_INIT(SVGGElement)

//----------------------------------------------------------------------
// nsIContent methods

NS_IMETHODIMP_(bool)
SVGGElement::IsAttributeMapped(const nsAtom* name) const {
  static const MappedAttributeEntry* const map[] = {sFEFloodMap,
                                                    sFiltersMap,
                                                    sFontSpecificationMap,
                                                    sGradientStopMap,
                                                    sLightingEffectsMap,
                                                    sMarkersMap,
                                                    sTextContentElementsMap,
                                                    sViewportsMap};

  return FindAttributeDependence(name, map) ||
         SVGGraphicsElement::IsAttributeMapped(name);
}

}  // namespace dom
}  // namespace mozilla
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISVGPoint.h"
#include "DOMSVGPointList.h"
#include "SVGPoint.h"
#include "SVGElement.h"
#include "nsError.h"
#include "mozilla/dom/SVGPointBinding.h"

// See the architecture comment in DOMSVGPointList.h.

namespace mozilla {
namespace dom {

// We could use NS_IMPL_CYCLE_COLLECTION(, except that in Unlink() we need to
// clear our list's weak ref to us to be safe. (The other option would be to
// not unlink and rely on the breaking of the other edges in the cycle, as
// NS_SVG_VAL_IMPL_CYCLE_COLLECTION does.)
NS_IMPL_CYCLE_COLLECTION_CLASS(nsISVGPoint)

NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsISVGPoint)
  // We may not belong to a list, so we must null check tmp->mList.
  if (tmp->mList) {
    tmp->mList->mItems[tmp->mListIndex] = nullptr;
  }
  NS_IMPL_CYCLE_COLLECTION_UNLINK(mList)
  NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER
NS_IMPL_CYCLE_COLLECTION_UNLINK_END

NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsISVGPoint)
  NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mList)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END

NS_IMPL_CYCLE_COLLECTION_TRACE_BEGIN(nsISVGPoint)
  NS_IMPL_CYCLE_COLLECTION_TRACE_PRESERVED_WRAPPER
NS_IMPL_CYCLE_COLLECTION_TRACE_END

NS_IMPL_CYCLE_COLLECTING_ADDREF(nsISVGPoint)
NS_IMPL_CYCLE_COLLECTING_RELEASE(nsISVGPoint)

NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsISVGPoint)
  NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
  NS_INTERFACE_MAP_ENTRY(nsISVGPoint)
  NS_INTERFACE_MAP_ENTRY(nsISupports)
NS_INTERFACE_MAP_END

void nsISVGPoint::InsertingIntoList(DOMSVGPoint


nn.proto.tcp = &user_tcp;
        user_conn.type = ESPCONN_TCP;
        user_conn.state = ESPCONN_NONE;

        device_status = DEVICE_CONNECTING;

        if (reset_flag) {
            device_recon_count = 0;
        }

#if (PLUG_DEVICE || LIGHT_DEVICE)
        os_timer_disarm(&beacon_timer);
        os_timer_setfn(&beacon_timer, (os_timer_func_t *)user_esp_platform_sent_beacon, &user_conn);
#endif

#ifdef USE_DNS
        user_esp_platform_start_dns(&user_conn);
#else
        const char esp_server_ip[4] = {114, 215, 177, 97};

        os_memcpy(user_conn.proto.tcp->remote_ip, esp_server_ip, 4);
        user_conn.proto.tcp->local_port = espconn_port();

#ifdef CLIENT_SSL_ENABLE
        user_conn.proto.tcp->remote_port = 8443;
#else
        user_conn.proto.tcp->remote_port = 8000;
#endif

        espconn_regist_connectcb(&user_conn, user_esp_platform_connect_cb);
        espconn_regist_reconcb(&user_conn, user_esp_platform_recon_cb);
        user_esp_platform_connect(&user_conn);
#endif
    } else {
        /* if there are wrong while connecting to some AP, then reset mode */
        if ((wifi_station_get_connect_status() == STATION_WRONG_PASSWORD ||
                wifi_station_get_connect_status() == STATION_NO_AP_FOUND ||
                wifi_station_get_connect_status() == STATION_CONNECT_FAIL)) {
            user_esp_platform_reset_mode();
        } else {
            os_timer_setfn(&client_timer, (os_timer_func_t *)user_esp_platform_check_ip, NULL);
            os_timer_arm(&client_timer, 100, 0);
        }
    }
}

/******************************************************************************
 * FunctionName : user_esp_platform_init
 * Description  : device parame init based on espressif platform
 * Parameters   : none
 * Returns      : none
*******************************************************************************/
void ICACHE_FLASH_ATTR
user_esp_platform_init(void)
{
    user_esp_platform_load_param(&esp_param);

    system_rtc_mem_read(0,&rtc_info,sizeof(struct rst_info));
     if(rtc_info.flag == 1 || rtc_info.flag == 2) {
    	 ESP_DBG("flag = %d,epc1 = 0x%08x,epc2=0x%08x,epc3=0x%08x,excvaddr=0x%08x,depc=0x%08x,\nFatal \
exception (%d): \n",rtc_info.flag,rtc_info.epc1,rtc_info.epc2,rtc_info.epc3,rtc_info.excvaddr,rtc_info.depc,rtc_info.exccause);
     }
    struct rst_info info = {0};
    system_rtc_mem_write(0,&info,sizeof(struct rst_info));

#if AP_CACHE
    wifi_station_ap_number_set(AP_CACHE_NUMBER);
#endif

#if 0
    {
        char sofap_mac[6] = {0x16, 0x34, 0x56, 0x78, 0x90, 0xab};
        char sta_mac[6] = {0x12, 0x34, 0x56, 0x78, 0x90, 0xab};
        struct ip_info info;

        wifi_set_macaddr(SOFTAP_IF, sofap_mac);
        wifi_set_macaddr(STATION_IF, sta_mac);

        IP4_ADDR(&info.ip, 192, 168, 3, 200);
        IP4_ADDR(&info.gw, 192, 168, 3, 1);
        IP4_ADDR(&info.netmask, 255, 255, 255, 0);
        wifi_set_ip_info(STATION_IF, &info);

        IP4_ADDR(&info.ip, 10, 10, 10, 1);
        IP4_ADDR(&info.gw, 10, 10, 10, 1);
        IP4_ADDR(&info.netmask, 255, 255, 255, 0);
        wifi_set_ip_info(SOFTAP_IF, &info);
    }
#endif

    if (esp_param.activeflag != 1) {
#ifdef SOFTAP_ENCRYPT
        struct softap_config config;
        char password[33];
        char macaddr[6];

        wifi_softap_get_config(&config);
        wifi_get_macaddr(SOFTAP_IF, macaddr);

        os_memset(config.password, 0, sizeof(config.password));
        os_sprintf(password, MACSTR "_%s", MAC2STR(macaddr), PASSWORD);
        os_memcpy(config.password, password, os_strlen(password));
        config.authmode = AUTH_WPA_WPA2_PSK;

        wifi_softap_set_config(&config);
#endif

        wifi_set_opmode(STATIONAP_MODE);
    }

#if PLUG_DEVICE
    user_plug_init();
#elif LIGHT_DEVICE
    user_light_init();
#elif SENSOR_DEVICE
    user_sensor_init(esp_param.activeflag);
#endif

    if (wifi_get_opmode() != SOFTAP_MODE) {
        os_timer_disarm(&client_timer);
        os_timer_setfn(&client_timer, (os_timer_func_t *)user_esp_platform_check_ip, 1);
        os_timer_arm(&client_timer, 100, 0);
    }
}

#endif


.setIndex( guessOffset );

    // If we're on a breaking character, return directly
    if( Character.isWhitespace( text.current() ) )
      return guessOffset;

    // Otherwise jump forward or backward to the last such char.
    if( !requireNextWord )
      while( !Character.isWhitespace( text.previous() ) &&
	     guessOffset > position )
	guessOffset--;
    else
      while( !Character.isWhitespace( text.next() ) &&
	     guessOffset < offsetLimit )
	guessOffset++;

    if( guessOffset > offsetLimit )
      {
	text.setIndex( offsetLimit );
	return offsetLimit;
      }

    text.setIndex( guessOffset );

    return guessOffset;
  }

  public void setPosition(int newPosition)
  {
    position = newPosition;
  }

  public int getPosition()
  {
    return position;
  }
}

/* ActionEvent.java -- an action has been triggered
   Copyright (C) 1999, 2002, 2005  Free Software Foundation, Inc.

This file is part of GNU Classpath.

GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING.  If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.

Linking this library statically or dynamically with other modules is
making a combined work based on this library.  Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module.  An independent module is a module which is not derived from
or based on this library.  If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so.  If you do not wish to do so, delete this
exception statement from your version. */

package java.awt.event;

import gnu.java.lang.CPStringBuilder;

import java.awt.AWTEvent;
import java.awt.EventQueue;

/**
 * This event is generated when an action on a component (such as a
 * button press) occurs.
 *
 * @author Aaron M. Renn (arenn@urbanophile.com)
 * @see ActionListener
 * @since 1.1
 * @status updated to 1.4
 */
public class ActionEvent extends AWTEvent
{
  /**
   * Compatible with JDK 1.1+.
   */
  private static final long serialVersionUID = -7671078796273832149L;

  /** Bit mask indicating the shift key was pressed. */
  public static final int SHIFT_MASK = InputEvent.SHIFT_MASK;

  /** Bit mask indicating the control key was pressed. */
  public static final int CTRL_MASK = InputEvent.CTRL_MASK;

  /** Bit mask indicating the that meta key was pressed. */
  public static final int META_MASK = InputEvent.META_MASK;

  /** Bit mask indicating that the alt key was pressed. */
  public static final int ALT_MASK = InputEvent.ALT_MASK;

  /** The first id number in the range of action id's. */
  public static final int ACTION_FIRST = 1001;

  /** The last id number in the range of action id's. */
  public static final int ACTI


import bpy
from bpy_extras.node_utils import find_node_input
from bl_operators.presets import AddPresetBase
from bl_ui.utils import PresetPanel

class ARNOLD_MT_MaterialPresets(bpy.types.Menu):
    bl_label = "Material Presets"
    preset_subdir = 'btoa/materials'
    preset_operator = 'script.execute_preset'
    draw = bpy.types.Menu.draw_preset

class ARNOLD_OT_AddMaterialPreset(AddPresetBase, bpy.types.Operator):
    bl_idname = 'arnold.add_material_preset'
    bl_label = "Add Preset"
    preset_menu = 'ARNOLD_MT_MaterialPresets'

    def get_node_inputs():
        result = []

        for i in range(0, 42):
            result.append('node.inputs[' + str(i) + "].default_value")

        result.append('node.transmit_aovs')
        result.append('node.thin_walled')
        result.append('node.caustics')
        result.append('node.internal_reflections')
        result.append('node.exit_to_background')
        result.append('node.subsurface_type')

        return result

    preset_defines = [
        'node = bpy.context.object.active_material.arnold.node_tree.get_output_node().inputs["Surface"].links[0].from_node'
    ]

    preset_values = get_node_inputs()

    preset_subdir = 'btoa/materials'

class ARNOLD_PT_MaterialPresets(PresetPanel, bpy.types.Panel):
    bl_label = "Arnold Material Presets"
    preset_subdir = 'btoa/materials'
    preset_operator = 'script.execute_preset'
    preset_add_operator = 'arnold.add_material_preset'

classes = (
    ARNOLD_MT_MaterialPresets,
    ARNOLD_OT_AddMaterialPreset,
    ARNOLD_PT_MaterialPresets,
)

def register():
    from ..utils import register_utils as utils
    utils.register_classes(classes)

def unregister():
    from ..utils import register_utils as utils
    utils.unregister_classes(classes)


100%}.wj-flexchart .wj-chart-rangeselector-container{position:relative}.wj-flexchart .wj-chart-rangeselector-container .wj-chart-rangeslider,.wj-flexchart .wj-chart-rangeselector-container .wj-rangeslider-content{background:0 0;border-color:transparent}.wj-flexchart .wj-chart-rangeselector-container .wj-rangeslider-rangehandle{opacity:.3}.wj-flexchart .wj-chart-rangeselector-container .wj-rangeslider-minhandle,.wj-flexchart .wj-chart-rangeselector-container .wj-rangeslider-maxhandle{background:0 0;opacity:.6;border:2px solid gray;border-radius:.5em}.wj-flexchart .wj-chart-rangeselector-container .wj-chart-hrangeslider .wj-rangeslider-minhandle,.wj-flexchart .wj-chart-rangeselector-container .wj-chart-hrangeslider .wj-rangeslider-maxhandle{height:20px;width:20px;border-radius:50%;top:0;bottom:0;margin:auto;border:1px solid hsla(0deg,0%,50.2%,.75);color:hsl(0deg,0%,50.2%);background:#d3d3d3;opacity:1}.wj-flexchart .wj-chart-rangeselector-container .wj-chart-hrangeslider .wj-rangeslider-minhandle:after,.wj-flexchart .wj-chart-rangeselector-container .wj-chart-hrangeslider .wj-rangeslider-maxhandle:after{content:"║";text-align:center;width:100%;display:inline-block;position:absolute;margin:0;top:50%;transform:translateY(-55%);opacity:.75;font-size:10px}.wj-flexchart .wj-chart-rangeselector-container .wj-chart-vrangeslider .wj-rangeslider-minhandle,.wj-flexchart .wj-chart-rangeselector-container .wj-chart-vrangeslider .wj-rangeslider-maxhandle{height:20px;width:20px;left:50%;border-radius:50%;border:1px solid hsla(0deg,0%,50.2%,.75);top:0;bottom:0;color:hsl(0deg,0%,50.2%);background:#d3d3d3;opacity:1}.wj-flexchart .wj-chart-rangeselector-container .wj-chart-vrangeslider .wj-rangeslider-minhandle:after,.wj-flexchart .wj-chart-rangeselector-container .wj-chart-vrangeslider .wj-rangeslider-maxhandle:after{content:"═";text-align:center;height:100%;display:inline-block;position:absolute;margin:0;left:50%;transform:translate(-50%,15%);opacity:.75;font-size:12px}.wj-flexchart .wj-chart-rangeselector-container .wj-chart-rangeslider .wj-rangeslider-minhandle.wj-rangeslider-handle-active,.wj-flexchart .wj-chart-rangeselector-container .wj-chart-rangeslider .wj-rangeslider-maxhandle.wj-rangeslider-handle-active{background:rgba(136,189,230,.7)}.wj-flexchart .wj-rangeselector .wj-scroller-center{background:rgba(128,128,128,.1);position:absolute;display:block;touch-action:none;-ms-touch-action:none}.wj-flexchart.wj-panable{cursor:pointer}.wj-flexchart .wj-zoom{visibility:hidden;position:relative}.wj-flexchart .wj-zoom-overlay{


 .menu-item > a:focus ul.sub-menu,
	.genesis-responsive-menu .genesis-nav-menu .menu-item > a:focus ul.sub-menu .sub-menu {
		left: 0;
		margin-left: 0;
	}

	.genesis-responsive-menu .genesis-nav-menu > .menu-item-has-children > a::after {
		content: none;
	}

	.genesis-responsive-menu .genesis-nav-menu .sub-menu {
		clear: both;
		display: none;
		margin: 0;
		opacity: 1;
		padding-left: 15px;
		position: static;
		width: 100%;
	}

	.genesis-responsive-menu .genesis-nav-menu .sub-menu .sub-menu {
		margin: 0;
	}

}
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy


//===--- SlicingCheck.h - clang-tidy-----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CPPCOREGUIDELINES_SLICING_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CPPCOREGUIDELINES_SLICING_H

#include "../ClangTidyCheck.h"

namespace clang::tidy::cppcoreguidelines {

/// Flags slicing (incomplete copying of an object's state) of member variables
/// or vtable. See:
///   - https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#es63-dont-slice
///     for the former, and
///   - https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c145-access-polymorphic-objects-through-pointers-and-references
///     for the latter
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/slicing.html
class SlicingCheck : public ClangTidyCheck {
public:
  SlicingCheck(StringRef Name, ClangTidyContext *Context)
      : ClangTidyCheck(Name, Context) {}
  void registerMatchers(ast_matchers::MatchFinder *Finder) override;
  void check(const ast_matchers::MatchFinder::MatchResult &Result) override;

private:
  void diagnoseSlicedOverriddenMethods(const Expr &Call,
                                       const CXXRecordDecl &DerivedDecl,
                                       const CXXRecordDecl &BaseDecl);
};

} // namespace clang::tidy::cppcoreguidelines

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CPPCOREGUIDELINES_SLICING_H


MongoDB.Driver.Core.Misc;

namespace MongoDB.Driver.GridFS
{
    /// <summary>
    /// Represents options for a GridFS Find operation.
    /// </summary>
    public class GridFSFindOptions : GridFSFindOptions<ObjectId>
    {
        // fields
        private SortDefinition<GridFSFileInfo> _sort;

        // properties
        /// <summary>
        /// Gets or sets the sort order.
        /// </summary>
        /// <value>
        /// The sort order.
        /// </value>
        public new SortDefinition<GridFSFileInfo> Sort
        {
            get { return _sort; }
            set { _sort = value; }
        }
    }
}


LE_EXT: '代替テキストにはファイル拡張子や画像の寸法を含めてはいけません。画像が物語やムード、重要な情報を伝えている場合は、画像を説明してください。
 {ALT} %(ALT_TEXT)',
    ALT_PLACEHOLDER: '記述のないまたはプレースホルダーのaltテキストが見つかりました。次のaltテキストをより意味のあるものに置き換えてください。
 {ALT} %(ALT_TEXT)',
    SUS_ALT: '支援技術はすでにこれが画像であることを示しているため、「%(ERROR)」は冗長かもしれません。
 {ALT} %(ALT_TEXT)',
    LINK_IMAGE_NO_ALT_TEXT: '画像内のリンクが装飾用としてマークされており、リンクテキストがありません。リンクの目的を説明するaltテキストを画像に追加してください。',
    LINK_IMAGE_TEXT: '画像が装飾用としてマークされていますが、リンクが周囲のテキストを説明するラベルとして使用されています。',
    LINK_IMAGE_LONG_ALT: 'リンクされた画像のaltテキストの説明が長すぎます。リンクされた画像のaltテキストは、画像の文字通りの説明ではなく、リンクの目的を説明する必要があります。リンク先のページのタイトルをaltテキストとして使用することを検討してください。
 {L} {ALT} %(altLength) 文字 %(ALT_TEXT)',
    LINK_IMAGE_ALT: '画像リンクにはaltテキストが含まれています。altテキストがリンク先を説明していますか？リンク先のページのタイトルをaltテキストとして使用することを検討してください。
 {L} {ALT} %(ALT_TEXT)',
    LINK_IMAGE_ALT_AND_TEXT: '画像リンクにはaltテキストと周囲のリンクテキストの両方が含まれています。 この画像が装飾用であり、他のページへの機能的なリンクとして使用されている場合は、画像を装飾用としてマークすることを検討してください。周囲のリンクテキストで十分です。
 {ALT} %(ALT_TEXT)
 アクセシブル名 {L} %(TEXT)',
    IMAGE_FIGURE_DECORATIVE: '画像が装飾用としてマークされ、支援技術によって無視されます。
 キャプションが提供されていますが、ほとんどの場合、画像にはaltテキストも必要です。

altテキストは画像の内容を簡潔に説明する必要があります。

キャプションは通常、画像を周囲のコンテンツに関連付け


.matrix-column .char.fade {
  opacity: 0.3;
}

@keyframes matrix-rain {
  0% { transform: translateY(-50px); }
  100% { transform: translateY(50px); }
}

@keyframes matrix-fall {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(calc(100vh + 100px)); }
}

/* Matrix text effects */
h1 {
  color: var(--matrix-green);
  text-shadow:
    0 0 5px var(--matrix-green),
    0 0 10px var(--matrix-green),
    0 0 15px var(--matrix-green);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: 'Share Tech Mono', monospace;
}

.tagline {
  color: var(--matrix-accent);
  text-shadow:
    0 0 3px var(--matrix-accent),
    0 0 6px var(--matrix-accent);
  font-style: normal;
}

/* Card styling */
.card {
  background: var(--matrix-card-bg);
  border: 1px solid var(--matrix-border);
  border-radius: 4px;
  box-shadow:
    0 0 10px rgba(0, 255, 65, 0.3),
    inset 0 0 10px rgba(0, 255, 65, 0.05);
  backdrop-filter: blur(5px);
}

/* Button styling */
.btn-neon {
  background: linear-gradient(45deg, #000000, #001100);
  border: 1px solid var(--matrix-green);
  color: var(--matrix-green);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 0 10px rgba(0, 255, 65, 0.3),
    inset 0 0 10px rgba(0, 255, 65, 0.05);
  font-family: 'Share Tech Mono', monospace;
}

.btn-neon:hover:not(:disabled) {
  background: linear-gradient(45deg, #001100, #002200);
  box-shadow:
    0 0 20px rgba(0, 255, 65, 0.6),
    inset 0 0 20px rgba(0, 255, 65, 0.1);
  text-shadow: 0 0 5px var(--matrix-green);
  transform: translateY(-1px);
}

.btn-neon:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  filter: brightness(0.5);
}

/* Input styling */
.input-neon {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--matrix-green);
  border-radius: 4px;
  color: var(--matrix-green);
  padding: 12px 16px;
  font-family: 'Share Tech Mono', monospace;
  box-shadow:
    0 0 8px rgba(0, 255, 65, 0.2),
    inset 0 0 8px rgba(0, 255, 65, 0.05);
}

.input-neon:focus {
  outline: none;
  border-color: var(--matrix-accent);
  box-shadow:
    0 0 15px rgba(57, 255, 20, 0.4),
    inset 0 0 15px rgba(57, 255, 20, 0.1);
  background: rgba(0, 17, 0, 0.8);
}

.input-neon::placeholder {
  color: rgba(0, 255, 65, 0.5);
}

/* Progress bar */
.progress-neon {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--matrix-green);
  border-radius: 4px;
  height: 20px;
  overflow: hidden;
  position


ByCoords({state}, {row, col}): Checker | null {
            return state?.board?.[row]?.[col] || null
        },
        moveChecker({state, commit, dispatch}, {fromRow, fromCol, toRow, toCol}) {
            const checker = state.board[fromRow][fromCol]
            if (checker == null) throw new Error(`There is no checker in coords ${fromRow}:${fromCol}`)
            commit('SET_CHECKER', {row: toRow, col: toCol, checker})
            dispatch('removeChecker', {row: fromRow, col: fromCol})
        },
        removeChecker({state, commit}, {row, col}) {
            if (!state.board[row][col]) throw new Error(`There is no checker in coords ${row}:${col}`)
            commit('REMOVE_CHECKER', {row, col})
        },
        setWhoseMove({commit}, color) {
            commit('SET_WHOSE_MOVE', {color})
        },
        setActiveCell({commit}, {row, col}) {
            commit('SET_ACTIVE_CELL', {row, col})
        },
        clearActiveCell({commit}) {
            commit('CLEAR_ACTIVE_CELL')
        },
        setAllowedCellsToMove({commit}, {cells}) {
            commit('SET_ALLOWED_CELLS_TO_MOVE', cells)
        },
        setAllowedCellsToEat({commit}, {cells}) {
            commit('SET_ALLOWED_CELLS_TO_EAT', cells)
        },
        setJustAte({commit}, {justAte}) {
            commit('SET_JUST_ATE', justAte)
        },
        clearAllowedCellsToMoveAndEat({commit}) {
            commit('SET_ALLOWED_CELLS_TO_MOVE', [])
            commit('SET_ALLOWED_CELLS_TO_EAT', [])
        },
        setMessage({commit}, {message}) {
            commit('SET_MESSAGE', message);
        }
    }
})
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
    name: "countrycode"
})
export class CountryCodePipe implements PipeTransform {
    transform(contact_no: any, country: string, name : string): string {
        console.log(name);
        switch (country) {
            case 'US':
                return "+1 " + contact_no;
            case 'AUS':
                return "+11 " + contact_no;
            default:
                return "+91 " + contact_no;
        }
    }
}/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */

import {normalizePassiveListenerOptions, _getEventTarget} from '@angular/cdk/platform';
import {NgZone} from '@angular/core';

/** Options used to bind a passive capturing event. */
const passiveCapturingEventOptions = normalizePassiveListenerOptions({
  passive: true,
  capture: true,
});

/** Manages events through delegation so that as few event handlers as possible are bound. */
export class RippleEventManager {
  private _events = new Map<string, Map<HTMLElement, Set<EventListenerObject>>>();

  /** Adds an event handler. */
  addHandler(ngZone: NgZone, name: string, element: HTMLElement, handler: EventListenerObject) {
    const handlersForEvent = this._events.get(name);

    if (handlersForEvent) {
      const handlersForElement = handlersForEvent.get(element);

      if (handlersForElement


as returned."
                json_data = None

            cursor.close()
            connection.commit()
        except pymssql.Error as e:
            try:
                # Query errors are at `args[1]`
                error = e.args[1]
            except IndexError:
                # Connection errors are `args[0][1]`
                error = e.args[0][1]
            json_data = None
        except (KeyboardInterrupt, JobTimeoutException):
            connection.cancel()
            raise
        finally:
            if connection:
                connection.close()

        return json_data, error

register(SqlServer)


list.removeAt(currentPosition)
        if (list[list.size - 1] != noSelectPic) {
            addPic()
        }
        notifyItemChanged(currentPosition)
        notifyDataSetChanged()
    }

    fun changePic(pic: Any) {
        list[currentPosition] = pic
        notifyItemChanged(currentPosition)
        notifyDataSetChanged()
        if (currentPosition == (list.size - 1) && list.size < 5) {
            addPic()
        }
    }

    fun addPicUrl(urlList: List<String>) {
        list.addAll(0, urlList)
        notifyDataSetChanged()
    }

    private fun showDialogOfPic() {
        val dialog = Dialog(releaseActivity, R.style.edit_AlertDialog_style)
        dialog.apply {
            setContentView(R.layout.lf2_dialog_detail_pic)
            val imageView = findViewById<ImageView>(R.id.iv_detail_bigpic)
            val tmp = list[currentPosition]

            when (tmp) {
                is String -> Glide.with(context)
                        .load(Utils.getPicUrl(tmp))
                        .into(imageView)
                is Uri -> Glide.with(context)
                        .load(tmp)
                        .into(imageView)
                else -> Glide.with(context)
                        .load(R.drawable.lf_detail_np)
                        .into(imageView)
            }

            setCanceledOnTouchOutside(true)
            val window = window
            val lp = window.attributes
            lp.x = 4
            lp.y = 4
            dialog.onWindowAttributesChanged(lp)
            imageView.setOnClickListener { dismiss() }
            show()
        }
    }
}/*
 * Copyright (C) 2022 TxcA, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.itxca.spannablex

import androidx.annotation.Keep
import com.itxca.spannablex.interfaces.OnSpanReplacementMatch

/**
 * 替换规则
 */
@Keep
data class ReplaceRule(
    /**
     * 查找的字符串或正则文本
     */
    val replaceString: String,
    /**
     * [replaceString]是否为正则
     */
    val isRegex: Boolean,
    /**
     * 匹配范围
     */
    val matchRange: IntRange?,
    /**
     * 替换文本(null 为不替换)
     */
    val newString: CharSequence?,
    /**
     * 匹配时回调
     */
    val replacementMatch: OnSpanReplacementMatch?
) {
    internal val replaceRules: Regex
        get() = (if (isRegex) replaceString else Regex.escape(replaceString)).toRegex()
}

/**
 * 创建替换规则
 * @receiver 查找的字符串或正则文本
 * @param isRegex receiver是否为正则
 * @param matchIndex 单一匹配位置 ([matchRange]不为null时优先使用[matchRange])
 * @param matchRange 匹配范围
 * @param newString 替换文本(null 为不替换)
 * @param replacementMatch 匹配时回调
 */
fun String.toReplaceRule(
    isRegex: Boolean = false,
    matchIndex: Int? = null,
    matchRange: IntRange? = null,
    newString: CharSequence? = null


 1 !important; }
  .toggle-break-xl.collapse { display: block; } }

@media (min-width: 1540px) { .toggle-break-xxl { transition: none; opacity: 1; visibility: visible; transform: translateY(0) !important; position: static; background: transparent; box-shadow: none; z-index: 1 !important; }
  .toggle-break-xxl.collapse { display: block; } }

.nav-switch { display: inline-flex; margin-bottom: 1.5rem; border: 1px solid #dbdfea; border-radius: 30px; padding: 5px; }

.nav-switch .nav-link { padding: 5px 16px; line-height: 20px; border-radius: 20px; position: static; text-transform: uppercase; font-family: Roboto, sans-serif; font-weight: 700; font-size: 12px; color: #8094ae; }

.nav-switch .nav-link.active { background: #6576ff; color: #fff; }

.nav-switch .nav-link:after { display: none; }

.nav-switch .nav-item { padding: 0; margin: 0 1px; }

.nav-switch .nav-item:last-child { margin-right: 0; }

.nav-switch .nav-item:first-child { margin-left: 0; }

@media (min-width: 576px) { .nav-switch { margin-bottom: 2.5rem; } }

.nav-switch-s2 { display: inline-flex; border-radius: 4px; border: none; }

.nav-switch-s2 .nav-link { padding: .25rem .7rem; line-height: 20px; border-radius: 0; position: static; text-transform: uppercase; font-family: Roboto, sans-serif; font-weight: 700; font-size: 12px; color: #8094ae; border: 1px solid #dbdfea; }

.nav-switch-s2 .nav-link:hover, .nav-switch-s2 .nav-link:focus { color: #526484; background: #f5f6fa; border: 1px solid #dbdfea; }

.nav-switch-s2 .nav-link.active { color: #364a63; border: 1px solid #dbdfea; background: #f5f6fa; box-shadow: inset 0 0 4px -1px rgba(128, 148, 174, 0.25); }

.nav-switch-s2 .nav-link:after { display: none; }

.nav-switch-s2 .nav-item { padding: 0; margin: 0; }

.nav-switch-s2 .nav-item:last-child { margin-right: 0; }

.nav-switch-s2 .nav-item:last-child .nav-link { border-radius: 0 4px 4px 0; }

.nav-switch-s2 .nav-item:first-child { margin-left: 0; }

.nav-switch-s2 .nav-item:first-child .nav-link { border-radius: 4px 0 0 4px; }

.nav-switch-s2 .nav-item:not(:first-child) { margin-left: -1px; }

.widget-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }

.widget-title > * { margin-bottom: 0; }

.text-center .widget-title { justify-content: center; }

.is-theme .widget-title a:hover { color: #fff; }

.side-wg:not(:last-child) { margin-bottom: 2.5rem; }

.side-wg-title { padding-bottom: 0.75rem; }

.side-wg .back-to { font-size: 0.875rem; line-height: 1.1; font-weight: 400; position: relative; color: #8094ae; d


Run("pacman", "-S --noconfirm --needed qt5-wayland qt6-wayland");
        Run("pacman", "-S --noconfirm --needed wmctrl");
        Run("pacman", "-S --noconfirm --needed gwenview");
        UpdateProgress(85);

        // install gparted
        Run("pacman", "-S --noconfirm --needed gparted");
        UpdateProgress(86);

        // install linux-tools
        Run("pacman", "-S --noconfirm --needed linux-tools");
        UpdateProgress(87);
    }

    private static void InstallReignOSRepo()
    {
        progressTask = "Installing ReignOS Repo...";
        archRootMode = true;

        // enable timezone
        Run("systemctl", "enable systemd-timesyncd");

        // enable time sync
        Run("timedatectl", "set-ntp true");
        Run("hwclock", "--systohc");

        // clear package cache
        Run("rm", "-rf /var/cache/pacman/pkg/*");
        archRootMode = false;

        // clone ReignOS repo
        Run("git", "clone https://github.com/reignstudios/ReignOS.git /mnt/home/gamer/ReignOS");
        Run("NUGET_PACKAGES=/mnt/ro


VarintGenerated(dAtA, i, uint64(len(m.Namespace)))
	i--
	dAtA[i] = 0x1a
	if len(m.Annotations) > 0 {
		keysForAnnotations := make([]string, 0, len(m.Annotations))
		for k := range m.Annotations {
			keysForAnnotations = append(keysForAnnotations, string(k))
		}
		github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
		for iNdEx := len(keysForAnnotations) - 1; iNdEx >= 0; iNdEx-- {
			v := m.Annotations[string(keysForAnnotations[iNdEx])]
			baseI := i
			i -= len(v)
			copy(dAtA[i:], v)
			i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
			i--
			dAtA[i] = 0x12
			i -= len(keysForAnnotations[iNdEx])
			copy(dAtA[i:], keysForAnnotations[iNdEx])
			i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAnnotations[iNdEx])))
			i--
			dAtA[i] = 0xa
			i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
			i--
			dAtA[i] = 0x12
		}
	}
	if len(m.Containers) > 0 {
		for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
				if err != nil {
					return 0, err
				}
				i -= size
				i = encodeVarintGenerated(dAtA, i, uint64(size))
			}
			i--
			dAtA[i] = 0xa
		}
	}
	return len(dAtA) - i, nil
}

func (m *ImageReviewStatus) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *ImageReviewStatus) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *ImageReviewStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.AuditAnnotations) > 0 {
		keysForAuditAnnotations := make([]string, 0, len(m.AuditAnnotations))
		for k := range m.AuditAnnotations {
			keysForAuditAnnotations = append(keysForAuditAnnotations, string(k))
		}
		github_com_gogo_protobuf_sortkeys.Strings(keysForAuditAnnotations)
		for iNdEx := len(keysForAuditAnnotations) - 1; iNdEx >= 0; iNdEx-- {
			v := m.AuditAnnotations[string(keysForAuditAnnotations[iNdEx])]
			baseI := i
			i -= len(v)
			copy(dAtA[i:], v)
			i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
			i--
			dAtA[i] = 0x12
			i -= len(keysForAuditAnnotations[iNdEx])
			copy(dAtA[i:], keysForAuditAnnotations[iNdEx])
			i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAuditAnnotations[iNdEx])))
			i--
			dAtA[i] = 0xa
			i = encode


ivate/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRscC@sU|jd}|j}|rQdj|}ttj||tj|ndS(NR)(RR5RjtsetattrRhR(R;R7RR((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyR8s
cc@st|tjrVxn|jD]0}|j}|r|jdr|VqqWn-x*|D]"}xt|D]}|VqpWq]WdS(s9Yield non-empty/non-comment lines of a string or sequencet#N(RRRt
splitlinesR(R4R(tstrsR-tss((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRs
s\w+(\.\w+)*$s
    (?P<name>[^-]+) (
        -(?P<ver>[^-]+) (
            -py(?P<pyver>[^-]+) (
                -(?P<plat>.+)
            )?
        )?
    )?
    cB@seZdZdd
ddZdZdZedZdZ	dddZ
ejdZ
eddZed	Zedd
ZeddZRS(s3Object representing an advertised importable objectcC@snt|std|n||_||_t||_tjddj|j	|_	||_
dS(NsInvalid module namesx[%s]t,(tMODULERmRtmodule_nameRtattrsRRRjR.R(RRR[R\R.R((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRs		"cC@sfd|j|jf}|jr<|ddj|j7}n|jrb|ddj|j7}n|S(Ns%s = %st:R)s [%s]RY(RR[R\RjR.(RR-((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRs		cC@sdt|S(NsEntryPoint.parse(%r)(RA(R((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRscO@sO|s|s|r,tjdtddn|rE|j||n|jS(sH
        Require packages for this EntryPoint, then resolve it.
        sJParameters to load are deprecated.  Call .resolve and .require separately.R9i(R>R?tDeprecationWarningRqR(RRqRbR((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRs
cC@sdt|jddgdd}ytjt|j|SWn%tk
r_}tt|nXdS(sD
        Resolve the entry point from its module and attrs.
        tfromlistRtleveliN(	RR[t	functoolstreduceRR\RRRA(RRtexc((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRs
cC@si|jr%|jr%td|n|jj|j}tj|||}tttj|dS(Ns&Can't require() without a distribution(	R.RRRRRR'RR(RR2R3RRR((ss/private/var/folders/vy/31wknkcs30l6xb2fzgwnrkh80000gn/T/pip-build-H4rTmN/pip/pip/_vendor/pkg_resources/__init__.pyRq	s
s]\s*(?P<name>.+?)\s*=\s*(?P<module>[\w.]+)\s*(:\s*(?P<attr>[\w.]+))?\s*(?P<extras>\[.*\])?\s*$cC@s|jj|}|s0d}t||n|j}|j|d}|drl|djdnd}||d|d|||S(sParse a single entry point from string `src`

        Entry point syntax follows the form::

            name = some.module:some.attr [extra1, extra2]

        The entry name and module name are required, but the ``:attrs`` and
        ``[extras]`` parts are optional
        s9EntryPoint must be in 'name=module:attrs [extras]' formatR.tattrR)RR((tpatternRgRmt	groupdictt
_parse_extrasR(RtsrcRRoRtresR.R\((ss/private/var/


粮食关系在工地）的名字，当时也认为不对头，但仍不积极追回名单，纠正错误，事后又没有对这种违法行为作出处理，退出粮食，追究责任，也未及时向总支和上级党委报告。因此，决定给予夏双合同志党内警告处分。

   2、肖国森同志，在涂擦购粮证字迹及图章，弄虚作假的事件中，不但不掌握党的原则，反而包庇这种违法行为，在董保生向他汇报此事时，虽提出不同意见，但未坚决制止，思想动摇，无原则的同意董的意见助长了这种违法行为，事后也未向总支和上级党委报告，企图隐瞒错误来欺骗组织。因此，决定给予肖国森同志党内警告处分。

   3、桂质盛工地调配员，造假合同，弄虚作假，欺骗上级和工人，订合同明是为补粮食，却将农民，有户口有粮食关系的临时工也编在名册里，骗取劳动部门的批件，是骗取1190斤粮食的发起者。因此，决定给予行政记大过处分。

   4、刘远楚工地管理员，编造假花名册，千方百计的弄虚作假，骗取领导盖章，在骗取1190斤粮食事件中，充当了主要角色，决定给予行政记大过处分。

   5、王海清工地管理员，涂擦购粮证字迹及图章，对勤杂人员张海龙的错误行为未予直接制止，工作失职，对骗取1400斤粮票负有主要责任，决定给予行政记大过处分。

   6、张海龙勤杂人员，涂擦购粮证字迹，骗取粮食1400斤，政策观念薄弱。但考虑该同志水平较低，思想认识模糊，而且事后能主动彻底坦白自己的错误，决定免予纪律处分，责令作深刻检讨后，再予批评教育。

   7、董保生行政组长，政策观念薄弱，明知粮票是骗来的，却坚持说“不好退还”并且准备用来解决工地用粮，对刘、王两管理员平时未予教育，工作失职。但事后能认识错误，并采取积极措施，加强粮食管理，保证了粮食不仅够吃，而且还有节余，决定不给纪律处分，责令作深刻检讨，再予批评教育。

   8、朱能培共产党员财务组长，明知合同是假的，名册是乱编的，却毫无原则的盖上了工地公章和主任私章，助长了错误成为事实，但能承认错误，决定不给予纪律处分，责令其作深刻检讨后再予批评教育。

   1959年5月4日

   来源：《监察工作通报》第12期，中共武汉市监察委员会编印。

    [返回索引页面]

   Copyright (C)  2024  Marxist-Leninist-Maoist.

   Permi


t() method is implemented in addon.cc:

// addon.cc
#include <node.h>
#include "myobject.h"

namespace demo {

using v8::FunctionCallbackInfo;
using v8::Isolate;
using v8::Local;
using v8::Object;
using v8::String;
using v8::Value;

void CreateObject(const FunctionCallbackInfo<Value>& args) {
  MyObject::NewInstance(args);
}

void InitAll(Local<Object> exports, Local<Object> module) {
  MyObject::Init(exports->GetIsolate());

  NODE_SET_METHOD(module, "exports", CreateObject);
}

NODE_MODULE(addon, InitAll)

}  // namespace demo

In myobject.h, the static method NewInstance() is added to handle
instantiating the object. This method takes the place of using new in
JavaScript:

// myobject.h
#ifndef MYOBJECT_H
#define MYOBJECT_H

#include <node.h>
#include <node_object_wrap.h>

namespace demo {

class MyObject : public node::ObjectWrap {
 public:
  static void Init(v8::Isolate* isolate);
  static void NewInstance(const v8::FunctionCallbackInfo<v8::Value>& args);

 private:
  explicit MyObject(double value = 0);
  ~MyObject();

  static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
  static void PlusOne(const v8::FunctionCallbackInfo<v8::Value>& args);
  static v8::Persistent<v8::Function> constructor;
  double value_;
};

}  // namespace demo

#endif

The implementation in myobject.cc is similar to the previous example:

// myobject.cc
#include <node.h>
#include "myobject.h"

namespace demo {

using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Isolate;
using v8::Local;
using v8::Number;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::Value;

Persistent<Function> MyObject::constructor;

MyObject::MyObject(double value) : value_(value) {
}

MyObject::~MyObject() {
}

void MyObject::Init(Isolate* isolate) {
  // Prepare constructor template
  Local<FunctionTemplate> tpl = FunctionTemplate::New(isolate, New);
  tpl->SetClassName(String::NewFromUtf8(isolate, "MyObject"));
  tpl->InstanceTemplate()->SetInternalFieldCount(1);

  // Prototype
  NODE_SET_PROTOTYPE_METHOD(tpl, "plusOne", PlusOne);

  constructor.Reset(isolate, tpl->GetFunction());
}

void MyObject::New(const FunctionCallbackInfo<Value>& args) {
  Isolate* isolate = args.GetIsolate();

  if (args.IsConstructCall()) {
    // Invoked as constructor: `new MyObject(...)`
    double value = args[0]->IsUndefined() ? 0 : args[0]->NumberValue();
    MyObject* obj = new MyObject(value);
    obj->Wrap


from flask import Flask
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
db = SQLAlchemy(app)


;
				var current = {
					cal: $(this).parent(),
					pos: $(this).offset()
				};
				current.preview = current.cal.data('colpick').livePreview;

				$(document).on('mouseup touchend',current,upSelector);
				$(document).on('mousemove touchmove',current,moveSelector);

				var pageX,pageY;
				if(ev.type == 'touchstart') {
					pageX = ev.originalEvent.changedTouches[0].pageX;
					pageY = ev.originalEvent.changedTouches[0].pageY;
				} else {
					pageX = ev.pageX;
					pageY = ev.pageY;
				}

				change.apply(
					current.cal.data('colpick').fields
					.eq(6).val(parseInt(100*(current.cal.data('colpick').height - (pageY - current.pos.top))/current.cal.data('colpick').height, 10)).end()
					.eq(5).val(parseInt(100*(pageX - current.pos.left)/current.cal.data('colpick').height, 10))
					.get(0),
					[current.preview]
				);
				return false;
			},
			moveSelector = function (ev) {
				var pageX,pageY;
				if(ev.type == 'touchmove') {
					pageX = ev.originalEvent.changedTouches[0].pageX;
					pageY = ev.originalEvent.changedTouches[0].pageY;
				} else {
					pageX = ev.pageX;
					pageY = ev.pageY;
				}

				change.apply(
					ev.data.cal.data('colpick').fields
					.eq(6).val(parseInt(100*(ev.data.cal.data('colpick').height - Math.max(0,Math.min(ev.data.cal.data('colpick').height,(pageY - ev.data.pos.top))))/ev.data.cal.data('colpick').height, 10)).end()
					.eq(5).val(parseInt(100*(Math.max(0,Math.min(ev.data.cal.data('colpick').height,(pageX - ev.data.pos.left))))/ev.data.cal.data('colpick').height, 10))
					.get(0),
					[ev.data.preview]
				);
				return false;
			},
			upSelector = function (ev) {
				fillRGBFields(ev.data.cal.data('colpick').color, ev.data.cal.get(0));
				fillHexFields(ev.data.cal.data('colpick').color, ev.data.cal.get(0));
				$(document).off('mouseup touchend',upSelector);
				$(document).off('mousemove touchmove',moveSelector);
				return false;
			},
			//Submit button
			clickSubmit = function (ev) {
				var cal = $(this).parent();
				var col = cal.data('colpick').color;
				cal.data('colpick').origColor = col;
				setCurrentColor(col, cal.get(0));
				cal.data('colpick').onSubmit(col, hsbToHex(col), hsbToRgb(col), cal.data('colpick').el);
			},
			//Show/hide the color picker
			show = function (ev) {
				if(ev) {
					 // Prevent the trigger of any direct parent
					ev.stopPropagation();
				}
				var cal = $('#' + $(this).data('colpickId'));
                if (ev && !cal.data('colpick').polyfill) {
                    ev.preventDefault();
                }
				cal.data('colpick').onBeforeShow.apply(this, [cal.get(0)]);
				var pos = $(this).offset();
				var top = pos.top + this.offsetHeight;
				var left = pos.left;
				var viewPort = getViewport();
				var calW = cal.width();
				if (left + calW > viewP


       ServiceApplicationDTO application = applicationService.getAppById(appId);
        String appName = application.getName();
        String hostListStr = StringUtils.join(invalidHosts.stream()
            .map(this::printHostIdOrIp).collect(Collectors.toList()), ",");
        log.warn("The following hosts are invalid, hosts={}", invalidHosts);
        throw new FailedPreconditionException(ErrorCode.HOST_INVALID,
            new Object[]{appName, invalidHosts.size(), hostListStr});
    }

    /**
     * 判断执行对象是否可以被当前作业使用
     *
     * @param taskInstance               作业实例
     * @param stepInstanceList           作业步骤列表
     * @param taskInstanceExecuteObjects 作业实例中包含的执行对象
     */
    private void checkExecuteObjectAccessible(TaskInstanceDTO taskInstance,
                                              List<StepInstanceDTO> stepInstanceList,
                                              TaskInstanceExecuteObjects taskInstanceExecuteObjects) {
        if (CollectionUtils.isEmpty(taskInstanceExecuteObjects.getNotInAppHosts())) {
            return;
        }
        Map<Long, List<String>> whileHostAllowActions = taskInstanceExecuteObjects.getWhiteHostAllowActions();
        log.info("Contains hosts not in app, check white host config. notInAppHosts: {}, whileHostAllowActions: {}",
            taskInstanceExecuteObjects.getNotInAppHosts(), whileHostAllowActions);
        Map<Long, HostDTO> notInAppHostMap = taskInstanceExecuteObjects.getNotInAppHosts().stream()
            .collect(Collectors.toMap(HostDTO::getHostId, host -> host, (host1, host2) -> host2));

        // 非法的主机
        boolean shouldIgnoreInvalidHost = shouldIgnoreInvalidHost(taskInstance);
        Set<HostDTO> invalidHosts = new HashSet<>();
        for (StepInstanceDTO stepInstance : stepInstanceList) {
            if (!stepInstance.isStepContainsExecuteObject()) {
                continue;
            }
            TaskStepTypeEnum stepType = stepInstance.getStepType();
            // 检查目标主机
            stepInstance.getTargetExecuteObjects().getExecuteObjectsCompatibly().stream()
                .filter(ExecuteObject::isHostExecuteObject)
                .forEach(executeObject -> {
                    if (isHostUnAccessible(stepType, executeObject.getHost(), notInAppHostMap, whileHostAllowActions)) {
                        if (shouldIgnoreInvalidHost) {
                            executeObject.setInvalid(true);
                        } else {
                            invalidHosts.add(executeObject.getHost());
                        }
                    }
                });
            // 如果是文件分发任务，检查文件源
            checkFileSourceHostAccessible(invalidHosts, stepInstance, stepType, notInAppHostMap,
                whileHostAllowActions, shouldIgnoreInvalidHost);
        }

        if (CollectionUtils.isNotEmpty(invalidHosts)) {
            // 检查是否在白名单配置
            log.warn("Found hosts not in target app: {}!", taskInstance.getAppId());
            throwHostInvalidException(taskInstance.getAppId(), invalidHosts);
        }
    }

    private void checkFileSourceHostAccessible(Set<HostDTO> invalidHosts,
                                               StepInstanceDTO stepInstance,
                                               TaskStepTypeEnum stepType,
                                               Map<Long, HostDTO> notInAppHostMap,
                                               Map<Long, List<String>> whileHostAllowActions,
                                               boolean ignoreInvalidHost) {
        if (!stepInstance.isFileStep()) {
            return;
        }
        List<FileSourceDTO> fileSourceList = stepInstance.getFileSourceList();
        if (CollectionUtils.isEmpty(fileSourceList)) {
            return;
        }
        for (FileSourceDTO fileSource : fileSourceList) {
            // 远程文件分发需要校验文件源主机;其他类型不需要
            if (


;box-shadow:3px 3px 3px rgba(0,0,0,.25);position:relative}#quiz-info{color:#fff;background:#17a;font-weight:700;text-align:left;padding:15px 15px 15px 50px;margin:10px 0;position:relative;overflow-y:auto}#quiz-info:before{content:"\f05a";font-size:32px;font-family:FontAwesomeWeb,FontAwesome;position:absolute;top:50%;margin-top:-16px;left:12px}#quiz-info a{color:#ff0}#quiz-info table{width:100%;background:#069;border-collapse:collapse;font-weight:400}#quiz-info table td{padding:3px;border:1px solid #058}#change-exercise-type-container,#check-answers,#quiz-timer{margin-top:10px}#quiz-timer:before{content:"Time Elapsed";display:block}.lang-ja #quiz-timer:before{content:"かかった時間"}.quiz-answer-zone:empty{border:1px solid #ccc;margin:3px;padding:3px}.drag-quiz .quiz-answer-zone:empty{min-width:100px}.drag-quiz .quiz-answer-zone,.drag-quiz .quiz-item{height:28px;line-height:20px;box-sizing:border-box}.vocab-horizontal #drop-list{display:none}.vocab-horizontal #answer-list,.vocab-horizontal #question-list{float:none}.vocab-horizontal #question-list{margin-bottom:30px}.vocab-horizontal #answer-list .quiz-item{display:inline-block}.vocab-horizontal .quiz-item-group{display:inline-block;vertical-align:top;width:20%}.drag-quiz .vocab-horizontal .quiz-answer-zone,.vocab-horizontal #answer-list .quiz-item{min-width:100px}.vocab-horizontal #answer-list .quiz-item{text-align:center;vertical-align:top}.vocab-horizontal .quiz-answer-zone .quiz-item{margin:0}.vocab-horizontal .quiz-answer-zone{margin:3px}.kanji-readings.drag-quiz .vocab-horizontal .quiz-item-text{text-align:left;display:inline-block;margin:0 auto}.kanji-readings.drag-quiz .vocab-horizontal #question-list .quiz-answer-zone .quiz-item{font-size:13px;line-height:20px}.kanji-meanings.drag-quiz .vocab-horizontal #question-list .quiz-answer-zone .quiz-item{font-size:13px;height:28px;line-height:20px}.vocab-horizontal.helper-present #question-list .quiz-item{margin-bottom:18px}.kanji-meanings.drag-quiz #question-list .quiz-item,.kanji-meanings.drag-quiz .quiz-answer-zone,.kanji-readings.drag-quiz .quiz-answer-zone,.kanji-readings.drag-quiz .quiz-item{height:48px}.kanji-meanings.drag-quiz #question-list .quiz-item,.kanji-readings.drag-quiz #question-list .quiz-item{line-height:44px;font-size:26px;padding:3px 10px}#review-exercise{margin-top:10px}.quiz-over #review-button{display:none}.more-exercises{margin-top:10px}.more-exercises a.button{margin:3px 0}.more-exercises a:after,.more-exercises a:before{font-size:18px;font-family:FontAwesomeWeb,FontAwesome;font-weight:400;vertical-align:middle}.more-exercises a.prev-ex{float:left}.more-exercises a.prev-ex:before{content:"\f060";margin-right:10px}.more-exercises a.next-ex{float:r


map.id}_diffuse.outputs:a>`),i.push(`${n}float inputs:opacityThreshold = ${t.alphaTest}`)),r.push(s(t.map,"diffuse",t.color))):i.push(`${n}color3f inputs:diffuseColor = ${Tf(t.color)}`),null!==t.emissiveMap?(i.push(`${n}color3f inputs:emissiveColor.connect = </Materials/Material_${t.id}/Texture_${t.emissiveMap.id}_emissive.outputs:rgb>`),r.push(s(t.emissiveMap,"emissive"))):t.emissive.getHex()>0&&i.push(`${n}color3f inputs:emissiveColor = ${Tf(t.emissive)}`),null!==t.normalMap&&(i.push(`${n}normal3f inputs:normal.connect = </Materials/Material_${t.id}/Texture_${t.normalMap.id}_normal.outputs:rgb>`),r.push(s(t.normalMap,"normal"))),null!==t.aoMap&&(i.push(`${n}float inputs:occlusion.connect = </Materials/Material_${t.id}/Texture_${t.aoMap.id}_occlusion.outputs:r>`),r.push(s(t.aoMap,"occlusion"))),null!==t.roughnessMap&&1===t.roughness?(i.push(`${n}float inputs:roughness.connect = </Materials/Material_${t.id}/Texture_${t.roughnessMap.id}_roughness.outputs:g>`),r.push(s(t.roughnessMap,"roughness"))):i.push(`${n}float inputs:roughness = ${t.roughness}`),null!==t.metalnessMap&&1===t.metalness?(i.push(`${n}float inputs:metallic.connect = </Materials/Material_${t.id}/Texture_${t.metalnessMap.id}_metallic.outputs:b>`),r.push(s(t.metalnessMap,"metallic"))):i.push(`${n}float inputs:metallic = ${t.metalness}`),null!==t.alphaMap?(i.push(`${n}float inputs:opacity.connect = </Materials/Material_${t.id}/Texture_${t.alphaMap.id}_opacity.outputs:r>`),i.push(`${n}float inputs:opacityThreshold = 0.0001`),r.push(s(t.alphaMap,"opacity"))):i.push(`${n}float inputs:opacity = ${t.opacity}`),t.isMeshPhysicalMaterial&&(i.push(`${n}float inputs:clearcoat = ${t.clearcoat}`),i.push(`${n}float inputs:clearcoatRoughness = ${t.clearcoatRoughness}`),i.push(`${n}float inputs:ior = ${t.ior}`)),`\n    def Material "Material_${t.id}"\n    {\n        def Shader "PreviewSurface"\n        {\n            uniform token info:id = "UsdPreviewSurface"\n${i.join("\n")}\n            int inputs:useSpecularWorkflow = 0\n            token outputs:surface\n        }\n\n        token outputs:surface.connect = </Materials/Material_${t.id}/PreviewSurface.outputs:surface>\n        token inputs:frame:stPrimvarName = "st"\n\n        def Shader "uvReader_st"\n        {\n            uniform token info:id = "UsdPrimvarReader_float2"\n            token inputs:varname.connect = </Materials/Material_${t.id}.inputs:frame:stPrimvarName>\n            float2 inputs:fallback = (0.0, 0.0)\n            float2 outputs:result\n        }\n\n${r.join("\n")}\n\n    }\n`}function Tf(t){return`(${t.r}, ${t.


)
{
    return min.x * 1000 + min.y * 100 + max.x * 10 + max.y;
}

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

struct FF2
{
    float x, y;
    FF2(int i) { }
};

float draw2(FF2 min, FF2 max)
{
    return min.x * 1000 + min.y * 100 + max.x * 10 + max.y;
}

// RestoreAccessApp.cpp : ӦóΪ
//

#include "stdafx.h"
#include "RestoreAccessApp.h"
#include "RestoreAccessAppDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

// CRestoreAccessAppApp

BEGIN_MESSAGE_MAP(CRestoreAccessAppApp, CWinApp)
	ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
END_MESSAGE_MAP()

// CRestoreAccessAppApp

CRestoreAccessAppApp::CRestoreAccessAppApp()
{
	// ֧
	m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;

	// TODO: ڴ˴ӹ룬
	// Ҫĳʼ InitInstance
}

// Ψһһ CRestoreAccessAppApp

CRestoreAccessAppApp theApp;

// CRestoreAccessAppApp ʼ

BOOL CRestoreAccessAppApp::InitInstance()
{
	// һ Windows XP ϵӦó嵥ָҪ
	// ʹ ComCtl32.dll 汾 6 ߰汾ÿӻʽ
	//Ҫ InitCommonControlsEx()  򣬽޷ڡ
	INITCOMMONCONTROLSEX InitCtrls;
	InitCtrls.dwSize = sizeof(InitCtrls);
	// ΪҪӦóʹõ
	// ؼࡣ
	InitCtrls.dwICC = ICC_WIN95_CLASSES;
	InitCommonControlsEx(&InitCtrls);

	CWinApp::InitInstance();

	AfxEnableControlContainer();

	//  shell ԷԻ
	// κ shell ͼؼ shell бͼؼ
	CShellManager *pShellManager = new CShellManager;

	// Windows NativeӾԱ MFC ؼ
	CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));

	// ׼ʼ
	// δʹЩܲϣС
	// տִļĴСӦƳ
	// Ҫضʼ
	// ڴ洢õע
	// TODO: Ӧʵ޸ĸַ
	// ޸Ϊ˾֯
	SetRegistryKey(_T("ӦóɵıӦó"));

	CRestoreAccessAppDlg dlg;
	m_pMainWnd = &dlg;
	INT_PTR nResponse = dlg.DoModal();
	if (nResponse == IDOK)
	{
		// TODO: ڴ˷ôʱ
		//  ȷرնԻĴ
	}
	else if (nResponse == IDCANCEL)
	{
		// TODO: ڴ˷ôʱ
		//  ȡرնԻĴ
	}
	else if (nResponse == -1)
	{
		TRACE(traceAppMsg, 0, ": Ի򴴽ʧܣӦóֹ\n");
		TRACE(traceAppMsg, 0, ": ڶԻʹ MFC ؼ޷ #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS\n");
	}

	// ɾ洴 shell
	if (pShellManager != NULL)
	{
		delete pShellManager;
	}

	// ڶԻѹرգԽ FALSE Ա˳Ӧó
	//  ӦóϢá
	return FALSE;
}

#include <hpsocket/HPSocket.h>

/* Listener Class */
class CListenerImpl : public CTcpPullServerListener
{

public:
	// 5. process network events
	virtual EnHandleResult OnPrepareListen(ITcpServer* pSender, SOCKET soListen);
	virtual EnHandleResult OnAccept(ITcpServer* pSender, CONNID dwConnID, UINT_PTR soClient);
	virtual EnHandleResult OnHandShake(ITcpServer* pSender, CONNID dwConnID);
	virtual EnHandleResult OnReceive(ITcpServer* pSender, CONNID dwConnID, int iLength);
	virtual EnHandleRe


sabled][disabled],
.mdl-button.mdl-button--disabled.mdl-button--disabled{
  background-color:transparent;
  color:rgba(0, 0, 0, 0.26);
  cursor:default;
}
.mdl-button--fab[disabled][disabled],
.mdl-button--fab.mdl-button--disabled.mdl-button--disabled{
  background-color:rgba(0, 0, 0, 0.12);
  color:rgba(0, 0, 0, 0.26);
}
.mdl-button--raised[disabled][disabled],
.mdl-button--raised.mdl-button--disabled.mdl-button--disabled{
  -webkit-box-shadow:none;
  background-color:rgba(0, 0, 0, 0.12);
  color:rgba(0, 0, 0, 0.26);
          box-shadow:none;
}
.mdl-button--colored[disabled][disabled],
.mdl-button--colored.mdl-button--disabled.mdl-button--disabled{
  color:rgba(0, 0, 0, 0.26);
}
.mdl-button .material-icons{
  vertical-align:middle;
}
.mdl-card{
  -webkit-flex-direction:column;
  -ms-flex-direction:column;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:-webkit-box;
  display:flex;
  position:relative;
          flex-direction:column;
  width:330px;
  min-height:200px;
  overflow:hidden;
  border-radius:2px;
  background:#fff;
  font-size:16px;
  font-weight:400;
  z-index:1;
}
.mdl-card,.mdl-card__media{
  -webkit-box-sizing:border-box;
          box-sizing:border-box;
}
.mdl-card__media{
  background-attachment:scroll;
  background-color:#02A8F3;
  background-origin:padding-box;
  background-position:50% 50%;
  background-repeat:repeat;
  background-size:cover;
}
.mdl-card__title{
  -webkit-align-items:center;
  -ms-flex-align:center;
  -webkit-box-align:center;
  -webkit-justify-content:stretch;
  -ms-flex-pack:stretch;
  -webkit-box-pack:stretch;
  -webkit-perspective-origin:165px 56px;
  -webkit-transform-origin:165px 56px;
  -ms-transform-origin:165px 56px;
  -webkit-box-sizing:border-box;
          box-sizing:border-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:-webkit-box;
  display:flex;
          align-items:center;
          justify-content:stretch;
  padding:16px;
      transform-origin:165px 56px;
  color:#000;
  line-height:normal;
  perspective-origin:165px 56px;
}
.mdl-card__title.mdl-card--border{
  border-bottom:1px solid rgba(0, 0, 0, 0.1);
}
.mdl-card__title-text{
  -webkit-align-self:flex-end;
  -ms-flex-item-align:end;
  -webkit-transform-origin:149px 48px;
  -ms-transform-origin:149px 48px;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:-webkit-box;
  display:flex;
  align-


box: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),Qe=_r("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),tr=_r("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),er=_r("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;


    );
    assert_eq!(
        ::std::mem::align_of::<aiNodeAnim>(),
        8usize,
        concat!("Alignment of ", stringify!(aiNodeAnim))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mNodeName as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mNodeName)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mNumPositionKeys as *const _ as usize },
        1028usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mNumPositionKeys)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mPositionKeys as *const _ as usize },
        1032usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mPositionKeys)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mNumRotationKeys as *const _ as usize },
        1040usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mNumRotationKeys)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mRotationKeys as *const _ as usize },
        1048usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mRotationKeys)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mNumScalingKeys as *const _ as usize },
        1056usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mNumScalingKeys)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mScalingKeys as *const _ as usize },
        1064usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mScalingKeys)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mPreState as *const _ as usize },
        1072usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mPreState)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<aiNodeAnim>())).mPostState as *const _ as usize },
        1076usize,
        concat!(
            "Offset of field: ",
            stringify!(aiNodeAnim),
            "::",
            stringify!(mPostState)
        )
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct aiMeshAnim {
    pub mName: aiString,
    pub mNumKeys: ::std::os::raw::c_uint,
    pub mKeys: *mut aiMeshKey,
}
#[test]
fn bindgen_test_layout_aiMeshAnim() {
    assert_eq!(
        ::std::mem::size_of::<aiMeshAnim>(),
        1040usize,
        concat!("Size of: ", stringify!(aiMeshAnim))
    );
    assert_eq!(
        ::std::mem::align_of


// RUN: llvm-mc -triple amdgcn--amdhsa -mcpu=kaveri -show-encoding %s | FileCheck %s --check-prefix=ASM
// RUN: llvm-mc -filetype=obj -triple amdgcn--amdhsa -mcpu=kaveri -show-encoding %s | llvm-readobj -symbols -s -sd | FileCheck %s --check-prefix=ELF

// ELF: Section {
// ELF: Name: .text
// ELF: Type: SHT_PROGBITS (0x1)
// ELF: Flags [ (0x6)
// ELF: SHF_ALLOC (0x2)
// ELF: SHF_EXECINSTR (0x4)

// ELF: SHT_NOTE
// ELF: 0000: 04000000 08000000 01000000 414D4400
// ELF: 0010: 02000000 00000000 04000000 1B000000
// ELF: 0020: 03000000 414D4400 04000700 07000000
// ELF: 0030: 00000000 00000000 414D4400 414D4447
// ELF: 0040: 50550000

// ELF: Symbol {
// ELF: Name: amd_kernel_code_t_minimal
// ELF: Type: AMDGPU_HSA_KERNEL (0xA)
// ELF: Section: .text
// ELF: }

.text
// ASM: .text

.hsa_code_object_version 2,0
// ASM: .hsa_code_object_version 2,0

.hsa_code_object_isa 7,0,0,"AMD","AMDGPU"
// ASM: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU"

.amdgpu_hsa_kernel amd_kernel_code_t_minimal

.set my_is_ptr64, 1

.if my_is_ptr64 == 0
.set my_kernarg_segment_byte_size, 32
.else
.set my_kernarg_segment_byte_size, 16
.endif

.set my_sgpr, 8

amd_kernel_code_t_minimal:
.amd_kernel_code_t
        amd_code_version_major = .option.machine_version_major
	enable_sgpr_kernarg_segment_ptr = 1
	is_ptr64 = my_is_ptr64
	granulated_workitem_vgpr_count = 1
	granulated_wavefront_sgpr_count = 1+(my_sgpr-1)/8
	user_sgpr_count = 2
	kernarg_segment_byte_size = my_kernarg_segment_byte_size
	wavefront_sgpr_count = my_sgpr
//      wavefront_sgpr_count = 7
;	wavefront_sgpr_count = 7
// Make sure a blank line won't break anything:

// Make sure a line with whitespace won't break anything:

	workitem_vgpr_count = 16
.end_amd_kernel_code_t

// ASM-LABEL: {{^}}amd_kernel_code_t_minimal:
// ASM: .amd_kernel_code_t
// ASM:	amd_code_version_major = 7
// ASM:	amd_code_version_minor = 2
// ASM:	amd_machine_kind = 1
// ASM:	amd_machine_version_major = 7
// ASM:	amd_machine_version_minor = 0
// ASM:	amd_machine_version_stepping = 0
// ASM


A[8298] = 'World\\Expansion02\\Doodads\\Generic\\catwolftracks\\catwolf_footprint_mud01.mdx'
    ModelA[8299] = 'world\\expansion02\\doodads\\generic\\irondwarf\\id_anvil.mdx'
    ModelA[8300] = 'world\\expansion02\\doodads\\generic\\irondwarf\\id_forge.mdx'
    ModelA[8301] = 'World\\Generic\\Human\\Passive Doodads\\Books\\Book_Dwarf_03.mdx'
    ModelA[8302] = 'world\\generic\\orc\\passive doodads\\bowls\\bowlwood01.mdx'
    ModelA[8303] = 'world\\expansion02\\doodads\\generic\\vrykul\\brazier\\vr_brazier_01_blue.mdx'
    ModelA[8304] = 'WORLD\\EXPANSION02\\DOODADS\\DALARAN\\DALARAN_ANVIL.MDX'
    ModelA[8305] = 'WORLD\\EXPANSION02\\DOODADS\\ZULDRAK\\GUNDRAK\\GUNDRAK_SHORT_DOOR.MDX'
    ModelA[8306] = 'WORLD\\EXPANSION02\\DOODADS\\ZULDRAK\\DECORATIONS\\GUNDRAK_COLLISION_01.MDX'
    ModelA[8307] = 'WORLD\\EXPANSION02\\DOODADS\\ZULDRAK\\DECORATIONS\\GUNDRAK_COLLISION_02.MDX'
    ModelA[8308] = 'WORLD\\EXPANSION02\\DOODADS\\DALARAN\\DALARAN_SEWERDOOR_01.MDX'
    ModelA[8309] = 'World\\Expansion02\\Doodads\\Generic\\Inscription\\Inscription_Scroll_Sealed01.mdx'
    ModelA[8310] = 'World\\Expansion02\\Doodads\\Generic\\Inscription\\Inscription_Scroll_RolledRed.mdx'
    ModelA[8311] = 'World\\Expansion02\\Doodads\\Generic\\Inscription\\Inscription_Scroll_RolledGreen.mdx'
    ModelA[8312] = 'WORLD\\EXPANSION02\\DOODADS\\LAKEWINTERGRASP\\WG_SIEGE_DOOR.MDX'
    ModelA[8313] = 'World\\Expansion02\\Doodads\\Ulduar\\UL_Sigil01.mdx'
    ModelA[8314] = 'World\\Expansion02\\Doodads\\Ulduar\\UL_Sigil02.mdx'
    ModelA[8315] = 'World\\Expansion02\\Doodads\\Ulduar\\UL_Sigil03.mdx'
    ModelA[8316] = 'World\\Expansion02\\Doodads\\Ulduar\\UL_Sigil04.mdx'
    ModelA[8317] = 'World\\Expansion02\\Doodads\\Ulduar\\UL_Sigil05.mdx'
    ModelA[8320] = 'WORLD\\EXPANSION02\\DOODADS\\DALARAN\\SEWER\\DALARANSEWER_ARENAWATERFALL.MDX'
    ModelA[8321] = 'World\\Expansion01\\Doodads\\Generic\\BloodElf\\Books\\BE_Book_Medium02.mdx'
    ModelA[8322] = 'world\\expansion02\\doodads\\scholazar\\hatchwindow.mdx'
    ModelA[8323] = 'world\\expansion02\\doodads\\dragonblight\\dragonblight_iceshard_02.mdx'
    ModelA[8324] = 'world\\expansion02\\doodads\\dragonblight\\dragonblight_iceshard_01.mdx'
    ModelA[8325] = 'world\\expansion02\\doodads\\dragonblight\\dragonblight_iceshard_04.mdx'
    ModelA[8326] = 'world\\expansion02\\doodads\\dragonblight\\dragonblight_iceshard_05.mdx'
    ModelA[83